Results 1 to 3 of 3

Thread: Package & Deployment Wiz / Multiple uninstall entries

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2000
    Posts
    50

    Post

    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

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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

  3. #3

    Thread Starter
    Member
    Join Date
    Apr 2000
    Posts
    50
    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
  •  



Click Here to Expand Forum to Full Width