|
-
Aug 21st, 2000, 04:22 PM
#1
Thread Starter
Member
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,
~Michael Kizer
http://Michael.Kizer.ws
The Ivory Gate Of Dreams ~ http://www.ivorygate.com
-
Aug 21st, 2000, 04:24 PM
#2
Monday Morning Lunatic
When your program runs, have it check for them.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Aug 21st, 2000, 05:02 PM
#3
Thread Starter
Member
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]
~Michael Kizer
http://Michael.Kizer.ws
The Ivory Gate Of Dreams ~ http://www.ivorygate.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|