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 Forum
- :
- Basic MSI Major Upgrade INSTALLDIR
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 21, 2009
11:10 AM
Basic MSI Major Upgrade INSTALLDIR
Does anyone know how to retain the installation directory on a major upgrade?
I am testing a major upgrade that removes the existing installation and then installs the new version, and am able to migrate all of my original installation's user provided Property values except the installation directory.
Whenever I run the full UI on the upgrade the installation dir defaults to the default Installation dir for the install, not the actual installation directory for the current version.
I have tried writing a reg. value with the first installation capturing the installation dir and reading that value in a system search sequence on the upgrade, which works for all of my other persistent data, but will not populate the INSTALLDIR.
I may be barking up entirely the wrong tree with this, so any push in the correct direction would be greatly appreciated.
I am testing a major upgrade that removes the existing installation and then installs the new version, and am able to migrate all of my original installation's user provided Property values except the installation directory.
Whenever I run the full UI on the upgrade the installation dir defaults to the default Installation dir for the install, not the actual installation directory for the current version.
I have tried writing a reg. value with the first installation capturing the installation dir and reading that value in a system search sequence on the upgrade, which works for all of my other persistent data, but will not populate the INSTALLDIR.
I may be barking up entirely the wrong tree with this, so any push in the correct direction would be greatly appreciated.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 21, 2009
07:25 PM
Does an MSI log file tell you anything more about properties being set at the right or wrong time?
(If you haven't, perhaps see this newsletter tip about setting INSTALLDIR from a system search [PDF]: http://www.acresso.com/webdocuments/PDF/is_install_dir_from_app_search.pdf.)
(If you haven't, perhaps see this newsletter tip about setting INSTALLDIR from a system search [PDF]: http://www.acresso.com/webdocuments/PDF/is_install_dir_from_app_search.pdf.)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 19, 2019
01:04 AM
@byteflyer wrote:
Does anyone know how to retain the installation directory on a major upgrade?
I am testing a major upgrade that removes the existing installation and then installs the new version, and am able to migrate all of my original installation's user provided Property values except the installation directory.
Whenever I run the full UI on the upgrade the installation dir defaults to the default Installation dir for the install, not the actual installation directory for the current version.
I have tried writing a reg. value with the first installation capturing the installation dir and reading that value in a system search sequence on the upgrade, which works for all of my other persistent data, but will not populate the INSTALLDIR.
I may be barking up entirely the wrong tree with this, so any push in the correct direction would be greatly appreciated.
I'm changing my INSTALLDIR location in my installer. In my installer project, previously I was installing at location "XYZ" and now I want to install at location "PQR". So I changed INSTALLDIR property in my installer aboutalljobs. It's working fine for fresh installation but while upgrade scenario it's not changing INSTALLDIR.
