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
- :
- Detecting previous installation path
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
Nov 25, 2013
11:43 PM
Detecting previous installation path
Hi all 🙂
I have question for the following scenario:
I installed v1.0 of my application to a non-default installation path, e.g. c:\mycompany\mysoftware\
Whenever I install v2.0, it successfully un-install v1.0 from c:\mycompany\mysoftware\, but I then have to "manually" select that installation path again.
Is it possible to configure the installation file to automatically search for any previous non-default installation path, then install the latest version on the same path?
Thanks.
I have question for the following scenario:
I installed v1.0 of my application to a non-default installation path, e.g. c:\mycompany\mysoftware\
Whenever I install v2.0, it successfully un-install v1.0 from c:\mycompany\mysoftware\, but I then have to "manually" select that installation path again.
Is it possible to configure the installation file to automatically search for any previous non-default installation path, then install the latest version on the same path?
Thanks.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 26, 2013
06:10 PM
One option is to use Minor Upgrades.
If Major Upgrade is desired, and if there is registry entry used to store installation destination, e.g., InstallLocation under Uninstall registry key, you can set up a System Search entry in the new release to read and populate installation destination. If there is no explicit registry entry, you will have to use Windows Installer functions to obtain installation destination of the previous version, and use obtained path to populate installation destination of the new version.
If Major Upgrade is desired, and if there is registry entry used to store installation destination, e.g., InstallLocation under Uninstall registry key, you can set up a System Search entry in the new release to read and populate installation destination. If there is no explicit registry entry, you will have to use Windows Installer functions to obtain installation destination of the previous version, and use obtained path to populate installation destination of the new version.