Jul 12, 2012
12:50 PM
Is there any way to execute a chained MSI package in maintenance mode? I have an Installscript MSI Project with a chained Basic MSI Project. When a user wants to modify the installed application some features in the chained package may need to be removed, others installed. The overall project works correctly when performing initial install or when performing uninstall, but when trying to execute Maintenance the following occurs: First the user is asked if they want to remove the product, answer NO. Then the "Finish" dialog pops up. A few seconds after clicking "Finish" the installer restarts with the Maintenance screen. After the user makes the desired selections (through a custom dialog and script) the appropriate features in the main package are removed/installed. The chained package is not executed. The log says it is not executed because it is already installed. The install conditions for the chained package are: REMOVE<>"ALL", the uninstall conditions are the default REMOVE="ALL". The install properties are ARPSYSTEMCOMPONENT=1. There are no feature selections in the properties as these are variable (any clues how to handle that would be appreciated if it might help resolve the problem). I see there is no "Enable Maintenance" flag for Basic MSI projects. Is there another type of project that allows scripting that can be used as a chained package? So there are two issues: 1) The undesired "Remove all" query before exectuing Maintenance. 2) Failure to execute the chained package in Maintenance mode. Any help would be greatly appreciated!
... View more
Labels
- Labels:
-
InstallShield 2011
Latest posts by jatchison
Subject | Views | Posted |
---|---|---|
2790 | Jul 12, 2012 12:50 PM |
Activity Feed
- Posted Chained Packages and Maintenance mode on InstallShield Forum. Jul 12, 2012 12:50 PM