Summary
Troubleshooting tips for minor upgrade.
Symptoms
When installing a minor upgrade, no files are installed. The following MSI command lines do not work:
REINSTALLMODE=vomus REINSTALL=ALL
REINSTALLMODE=vomus REINSTALL=ALL ADDLOCAL=MyNewFeature1,MyNewFeature2
Cause
The first command line works if all new files have been added to components and features that existed in the original version of the package. However, if new features (both root features or sub-features) were added, ADDLOCAL needs to be used in the command line, similar to the second command line. However, when ADDLOCAL is specified, the REINSTALL=ALL command cannot be used. The REINSTALL property has to explicitly list all of the Features being reinstalled.
Example:
REINSTALLMODE=vomus REINSTALL=MyOriginalFeature1,MyOriginalFeature2 ADDLOCAL=MyNewFeature1,MyNewFeature2
This limitation exists because the Windows Installer evaluates the ADDLOCAL property before evaluating the REINSTALL property. The end result is that the REINSTALL="ALL" command line will overwrite ADDLOCAL's attempt to install the new feature thus resulting in only the existing feature being reinstalled. Explicitly setting the REINSTALL property ensures that the ADDLOCAL property successfully triggers the installation of added features.
Additional Information
- More information on Component Rules can be found here.
- Information about how Windows Installer evaluates
REINSTALLandADDLOCALcan be found here. - Additional information on this topic can be found in the Windows Installer Help Library topic Controlling Feature Selection States.
Related Articles
Service Pack 1 For InstallAnywhere 2012 5Number of Views Service Pack 1 For InstallAnywhere 2017 9Number of Views HOTFIX: Vulnerabilities in installers created from InstallShield 2018 R2 due to zlib 1.2.3 5Number of Views Windows Installer Property PATCH - Working With Conditions in a Basic MSI Specific to a Patch Install 6Number of Views Installscript MSI Minor Upgrade from a Pre-InstallShield 12 Install Problems 8Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add additional feedback (optional)
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
|
FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513
(toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367
(toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895
2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago