I'm having trouble creating consecutive patches for a product.
I've created a setup (for my product's version 1.8.7.9). Then I create a patch as specified in the tutorial.
The patch to update from version 1.8.7.9 to version 1.8.7.10 is successfully installed (through the Auto Updater feature) and even in Add/Remove Programs I can see the patch installed. If I check the file system, the files are updated.
Next, I need to create a new patch so version 1.8.7.10 can be patched to version 1.8.7.11, what I did was to create a patch between the MSI for version 1.8.7.10 and the MSI for version 1.8.7.11 .
If I try installing it (manually or through auto-updater) I get the error "The upgrade patch cannot be installed by the windows installer service because the program to be upgraded may be missing, or the upgraded patch may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade patch"
I already tried using the 1.8.7.9 MSI as target image and the 1.8.7.11 MSI as the upgraded image, but get the same error.
Each time I build the MSI using the command line, I specify the same product code.
How can I get a consecutive path to install?
If I add two target images (one for 1.8.7.9 and 1.8.7.10) I get another error when starting the build: "this patch contains multiple transform sets and is a mixture of QFE, minor and/or major patches."
Should I use a patch sequence?
Should I use the "Patches to Replace" option ?
The patches are around 10 Mb in size (patching around 10 files) instead of the 150 MB of the original MSI.
FOLLOW US
Get the latest news in Application Packaging