cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
nmsams
Level 7

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.
Labels (1)
0 Kudos
(1) Reply
LrdElder
Level 4

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.
0 Kudos