Hi there,

I'm using Wix version 3.5.2519.0

When you create a diff patch of several previous releases, the delta can not 
be specified in the pyro.

I'm using this cmd to create whole file patches successfully:
pyro        .\v1.3.0\patch.wixmsp -out .\v1.3.0\Product.msp -t RTM 
.\v1.3.0\Diff-v1.2.0.wixmst -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 .\v1.3.0\patch.wixmsp -out .\v1.3.0\Product.msp -t RTM 
.\v1.3.0\Diff-v1.2.0.wixmst -t RTM .\v1.3.0\Diff-v1.1.0.wixmst

pyro.exe : error PYRO0001 : The specified arguments are not within the range 
of valid values
parameta managed
Exception Type: System.ArgumentOutOfRangeException

Stack Trace:
   at 
Microsoft.Tools.WindowsInstallerXml.PatchAPI.PatchInterop.PatchAPIMarshaler.CreateArrayOfStringA(String[]
 
managed)
   at 
Microsoft.Tools.WindowsInstallerXml.PatchAPI.PatchInterop.PatchAPIMarshaler.MarshalPOD(Object
 
managedObj)
   at 
Microsoft.Tools.WindowsInstallerXml.PatchAPI.PatchInterop.PatchAPIMarshaler.MarshalManagedToNative(Object
 
ManagedObj)
   at 
Microsoft.Tools.WindowsInstallerXml.PatchAPI.PatchInterop.CreatePatchFileExW(UInt32
 
oldFileCount, PatchOldFileInfoW[] oldFileInfoArray, String newFileName, 
String patchFileName, UInt32 optionFlags, PatchOptionData optionData, 
PatchProgressCallback progressCallback, IntPtr context)
   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 attempting to do the impossible?

Any help would be much appreciated.

Toru Takeguchi
------------------------------------------------------------------------------
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits? 
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to