Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Decting previous installation of MyApp

Status
Not open for further replies.

JackW74

Programmer
Mar 16, 2005
2
US
I am creating a install script for my application, say MyApp. I would like to check if the user has installed the previous version of MyApp on his computer and then determine whether he/she is going to install the new version of MyApp in the same folder as that of the previous version. If he/she is installing the new version in the same folder as the previous version then I want to remove the old registry key entries and the old program group items.

I don't know how to check if the user is going to install the new version into the same folder as that of the old version.

Once I could figure out the above, I know how to remove the registry keys and the program group for the old installation.

The users may install MyApp on Windows 9x/Me/NT4/2000/XP/2003.

Please advise.

Thanks,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top