I am currently testing the creation of WiX patches using Patch Creation Properties. Now I am trying this over Pure WiX patches because the versions that we will initially be patching have already been released and when they were built they were NOT built to generate the .wixpdb files. So we have to go with admin extracted installs.
I create the initial first patch and test out and it works great. Now we are looking at cumulative patches so I updated my Patch.wxs to have UpgradeImage and 2 TargetImage entries. When I apply the original version 2 patch to version 1 it is ok. I then use the new cumulative patch, that contains version 1 and version 2 changes, and apply that to version 1 release and it correctly upgrades to version 3. But if I apply the original version 2 patch to version 1 and then apply new version 3 patch to that it will not do anything. No files are upgraded and it remains at version 2. So what am I doing wrong here??? Here is what the patch.wxs file looks like: <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <PatchCreation Id="{1C7DC01C-72AB-4050-A853-CC53FEE72D5E}" CleanWorkingFolder="yes" OutputPath="patch.pcp" WholeFilesOnly="yes"> <PatchInformation Description="Cumulative Update Patch" Comments="Testing Cumulative Update Patch" Manufacturer="SMART Technologies" /> <PatchMetadata AllowRemoval="yes" Description="Cumulative Update Patch" ManufacturerName="SMART Technologies" MoreInfoURL="http://www.smarttech.com/" Classification="Update" DisplayName="Cumulative Patch" MinorUpdateTargetRTM="yes" /> <Family DiskId="5000" MediaSrcProp="Upgrade" Name="Upgrade" SequenceStart="5000"> <UpgradeImage SourceFile="C:\Temp\1.0\Sample.msi" Id="Upgrade"> <TargetImage SourceFile="C:\Temp\1.2\Sample.msi" Order="1" Id="Target" IgnoreMissingFiles="no" /> <TargetImage SourceFile="C:\Temp\1.3\Sample.msi" Order="1" Id="Target2" IgnoreMissingFiles="no" /> </UpgradeImage> </Family> <PatchSequence PatchFamily="UpgradePatchFamily" Sequence="1.0.0.0" Supersede="yes" /> </PatchCreation> </Wix> Now I did change Order numbers from TargetImage, but that did not help. What should the Order numbers be? I did not make any changes to the PatchSequence entries. Should any of these entries change between patches? Thanks for any help. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Creating-Cumulative-patches-with-Patch-Creation-Properties-tp7590119.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users