This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Knowledge Base
- :
- InstallScript MSI Installs to Default Location During Minor Upgrades
Subscribe
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
InstallScript MSI Installs to Default Location During Minor Upgrades
InstallScript MSI Installs to Default Location During Minor Upgrades
Summary
During a minor upgrade, if new components are added, the files in the new component gets installed to the default location rather than subfolder of user specified location.Symptoms
During a minor upgrade, if new components are added, the files in the new component gets installed to the default location rather than the subfolder of user specified location.Cause
This is a limitation due to the interaction between the InstallScript and MSI componentsSteps To Reproduce
- Create sample InstallScript MSI
- Install built install on target machine with an user specified location
- Create a minor upgrade by changing version number
- Add a new component and file installing to subfolder of INSTALLDIR
- Build minor upgrade
- Run minor upgrade on target machine
Workaround
- The work around is to replace the identifier for the subfolder with a non-public one. Look for the new entry in the directory table. For example if the identifier is "SUBFOLDER" in the Directory column, change it to "Subfolder"
- Writing code to handle the locations of the directories explicitly.
Additional Information
Additional information on upgrades:
Major Upgrade vs. Minor Upgrade vs. Small Update
No ratings