Patching multiple instances with InstallShield or WiX

I have a project built into InstallShield 12. This is a web application that needs to be installed several times,

I can create conversions, and the fixes are great for both WiX and InstallShield.
When I try to fix a converted installation from InstallShield, I get an error message:

"The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade 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." 

In InstallShield, I tried to add a new product code from the transformations to the "List of Target Product Codes" on the "Patch Design" tab. This will result in an error when creating a bug fix:

 "ERROR: At least one of the GUIDs '{ORIGINAL-GUID},{TRANSFORM-GUID}' defined in the ListOfTargetProductCodes property in the Properties table of the .pcp file is invalid." 

In WiX (3.5), I converted my project from InstallShield to WiX using dark.exe. I got far enough to install a patch for conversion, but I get a warning:

 "Patch.wxs(11) : warning PYRO1079 : The cabinet 'Data1.cab' does not contain any files." 

This is a problem because I try to run the SQL script in the patch, but the patch does not insert my sql file into the cockpit.

I also tried using the .pcp (pre WiX 3.0) method via WiX and only get to InstallShield.

I mainly refer to this page for my answers: http://ysdevlog.blogspot.com/2011/08/revisited-multiple-instance.html

TL DR: How to create a patch to install multiple instances using (preferably) InstallShield or WiX?

+4
windows-installer wix installshield msi-patch msp
source share
1 answer

I solved my problem by completely abandoning InstallShield. Instead of converting the final MSI InstallShield to WiX, I again created my project in pure WiX. This allowed me to install multiple instances and fix them.

It is a pity that I could not understand how to make it work through InstallShield.

+5
source share

All Articles