Click to See Complete Forum and Search --> : Making changes to setup files created by P & D Wizard
bcyde
September 23rd, 1999, 01:11 PM
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?
September 23rd, 1999, 02:31 PM
the source code of the p & d wizard is in vbpath\wizards\pdwizard.
I hope this help you.
bcyde
September 23rd, 1999, 05:52 PM
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?
Jeremy_D
September 27th, 1999, 09:23 AM
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
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.