VB5: Test for Previous Installations
Posted on 1998-05-28
I have modified the standard setup.exe project in VB to give me what I need. One last function I would like to add is the ability of setup to check and see if my application is currently installed on the user's computer. If so, I want to either alert the user that they need to perform an un-install or just launch the un-install from setup.exe.
Control Panel Add/Remove keeps a list of installed applications. Where is this list? How can I parse it? Is there simply an API call that I can ustilize to check for a current installation?
Microsoft's programs all check for previous installations and even go so far as to note which components were installed. How do they do this? It appears as if their programs actually search the hard disk for files related to the application. Why would they do this if the information is accessible via the control panel?
Has anyone run accross this? Any ideas?