PDA

View Full Version : Uninstall Question



mikem
11-19-2009, 03:32 AM
hi There,

When I create an install package, how can I get the installer to see if the software has already been installed so it can perform an uninstall operation before running the new one?

I have looked through Help and did a search on the forum but could not find anything ..

Mike

Ulrich
11-19-2009, 05:54 AM
Probably the easiest way would be storing the current version of your product in a key in the registry, and have your installer look for the key upon startup. If it is found advise to uninstall, etc.

Ulrich

mikem
11-19-2009, 06:48 AM
Thank you, I didn't think of that ...

Mike