CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 1999
    Location
    CA
    Posts
    83

    Making changes to setup files created by P & D Wizard

    I was wondering if there was a way to make any changes to the setup files created by the Package and Deployment Wizard. I want to make the setup create a specific registry entry and also I may want to make some aesthetic changes. Also, if I am able to change the setup (and add the registry entry) will the uninstall made by the wizard remove this entry?


  2. #2
    Guest

    Re: Making changes to setup files created by P & D Wizard

    the source code of the p & d wizard is in vbpath\wizards\pdwizard.

    I hope this help you.


  3. #3
    Join Date
    Sep 1999
    Location
    CA
    Posts
    83

    Re: Making changes to setup files created by P & D Wizard

    Thanks for your post, if I want to make a registry change so that the program runs upon windows startup, which form do you recommend I put this code on... also do I need to put code in to remove the registry entry if someone uninstalls?


  4. #4
    Join Date
    Sep 1999
    Location
    The Netherlands
    Posts
    5

    Re: Making changes to setup files created by P & D Wizard

    The problem with PDW is that when you use GetSetting and SaveSetting (stores the keys under 'HKCU/Software/VB and VBA Program Settings/YourAppName') the entries will not be removed when you uninstall. You'll have to write some uninstall code for this yourself. You might find it useful to download the new Visual Studio Installer from the Microsoft homepage. It will allow you to add registry keys (and files/shortcuts) on installation, and it will make sure these keys are removed when you uninstall.

    Regards,
    Jeremy



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