CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 1999
    Posts
    57

    How to know when my program is uninstalled?

    in vb6, I use Package & Deloyment to install my program, then add some keys in system registry.
    now I want to clear that key in registry when my program is uninstalled, where my code to be placed? Thank you!


  2. #2
    Join Date
    Aug 1999
    Location
    US, Florida
    Posts
    817

    Re: How to know when my program is uninstalled?

    Hmm, I'm not sure if they have this option in PDW (I'm not a fan of this setup maker), but a lot of other setup makers let developer to input registry strings, and when unistalled they get removed automatically, plus, some of these setup-makers are FREE, which are almost as good as leading InstallShield or WiseInstaller, and they make really small setup programs when InstallShield makes 60KB into 700KB!!!


  3. #3
    Join Date
    Apr 1999
    Location
    Rotterdam, Netherlands
    Posts
    278

    Re: How to know when my program is uninstalled?

    But a VB program setup will always be big, since you need the runtime dll's which are more then 1 mb.. can be compressed, but will still be 1mb....

    Crazy D :-)
    "One ring rules them all"

  4. #4
    Join Date
    May 1999
    Posts
    3,332

    Re: How to know when my program is uninstalled?

    you can modify the source code for the setup program. It is in the VB installation directory.
    If you do that, you will be able to add the registry keys within your setup program.
    This will also allow you to remove those keys upon deinstallation.


  5. #5
    Join Date
    Jul 1999
    Posts
    57

    Could you tell me which installer is better than PDW?

    Give me several good installers , would you?


  6. #6
    Join Date
    Jul 1999
    Posts
    57

    Could you tell me the detailed directory/file?

    'cause I can't find any install directory,thank you!


  7. #7
    Join Date
    May 1999
    Posts
    3,332

    Re: Could you tell me the detailed directory/file?

    in my German installation of VB 6 it is in:
    C:\Programme\Microsoft Visual Studio\VB98\Wizards\PDWizard\Setup1


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

Featured