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
- :
- Re: Leave behind install path after uninstall?
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 02, 2012
10:15 AM
Leave behind install path after uninstall?
Short background:
IT dept installs our product on a server. Users create shortcuts on their desktop. Then IT guy uninstalls product before installing next version. Let's say he doesn't pick the same install path as he did before. Now all the user's shortcuts don't work.
My boss wants me to find out if there is a way to leave behind the install path in the registry after the uninstall that I could then read on the install and default in the path used the last time it was installed.
For the record, I know this is not good practice...but I need to do it anyway.
I already have the reading the registry part working. I do this on a major upgrade already. I just don't know what to do when the user completely uninstalls.
IT dept installs our product on a server. Users create shortcuts on their desktop. Then IT guy uninstalls product before installing next version. Let's say he doesn't pick the same install path as he did before. Now all the user's shortcuts don't work.
My boss wants me to find out if there is a way to leave behind the install path in the registry after the uninstall that I could then read on the install and default in the path used the last time it was installed.
For the record, I know this is not good practice...but I need to do it anyway.
I already have the reading the registry part working. I do this on a major upgrade already. I just don't know what to do when the user completely uninstalls.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 02, 2012
03:38 PM
If this is a Basic MSI installation and you have your registry information as part of a component then just mark the component as Permanent and it won't get uninstalled.