-
Using the VB 6 (SP 4) P&D Wizard to create a setup. Inoticed that if you run the setup multiple times (without uninstalling the app first) you will get multiple entries in the Add/Remove Applications control panel applet. It looks something like this:
XYZ App
XYZ App (C:\Program Files\XYZ App\)
XYZ App (C:\Program Files\XYZ App\)
...etc. for as many times as you run the setup...
Has anyone encountered this, and more importantly how to prevent it from happening...
Thanks,
-
When your program runs, have it check for them.
-
I was mainly thinking that this should be fixable in the install. You shouldn't have to code your app to clean up a sloppy setup routine. ;)
I found the section that does this (sub: RegisterAppRemovalEXE), but it is setup to always insert a unique entry. It really should check to see if the same exact application was previously installed. I am not that well versed on teh registry to attempt to do this for the current project I am completing (you know the story... the app is half done and the customer wants it yesterday).
If anyone has solved this before, it'd be great to see how you did it.
[Edited by Michael Kizer on 08-21-2000 at 06:16 PM]