Hi, 

Is it possible to create a single delta msp file that patches multiple
previous versions? 
I'm struggling to find documentation on whether this is possible or not, so
I tried an experiment... 

I'm using this cmd to create whole file patches successfully: 

pyro -nologo .\v1.3.0\patch.wixmsp -out .\v1.3.0\Product.msp -t RTM
.\v1.3.0\Diff-v1.1.0.wixmst -t RTM .\v1.3.0\Diff-v1.2.0.wixmst 

and this to create a delta patch to get from 1.1.0 to 1.3.0: 

pyro -delta -nologo .\v1.3.0\patch.wixmsp -out .\v1.3.0\Product.msp -t RTM
.\v1.3.0\Diff-v1.1.0.wixmst 


This attempt to create a delta patch that can take you from 1.1.0 or 1.2.0
to 1.3.0 fails: 

pyro -delta -nologo .\v1.3.0\patch.wixmsp -out .\v1.3.0\Product.msp -t RTM
.\v1.3.0\Diff-v1.1.0.wixmst -t RTM .\v1.3.0\Diff-v1.2.0.wixmst 

pyro.exe : error PYRO0001 : The parameter is incorrect 

Exception Type: System.ComponentModel.Win32Exception 

Stack Trace: 
   at
Microsoft.Tools.WindowsInstallerXml.PatchAPI.PatchInterop.CreateDelta(String
deltaFile, String targetFile, String targetSymbolPath, String
targetRetainOffsets, String[] basisFiles, String[] basisSymbolPaths,
String[] basisIgnoreLengths, String[] basisIgnoreOffsets, String[]
basisRetainLengths, String[] basisRetainOffsets, PatchSymbolFlagsType
apiPatchingSymbolFlags, Boolean optimizePatchSizeForLargeFiles, Boolean&
retainRangesIgnored) 
   at
Microsoft.Tools.WindowsInstallerXml.BinderFileManager.ResolvePatch(FileRow
fileRow, Boolean& retainRangeWarning) 
   at
Microsoft.Tools.WindowsInstallerXml.CabinetBuilder.CreateCabinet(CabinetWorkItem
cabinetWorkItem) 
   at Microsoft.Tools.WindowsInstallerXml.CabinetBuilder.ProcessWorkItems() 

Am I doing something wrong, or am I attempting to do the impossible? 

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Using-pyro-to-create-delta-patches-for-multiple-previous-releases-tp6538087p6538087.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to