View Full Version : Add registry key at uninstall
12-24-2004, 09:30 AM
I have to add a registry key while uninstalling? Is this possible with Setupbuilder 5?
12-27-2004, 04:14 PM
From the "File" Menu choose "New --> Include Uninstall Script...". This will close your current project (if any are open) and after you have created an appropriate name for the uninstall script it opens it with the generic uninstall script already for you to add/modify. All the script functions are available in your uninstall script so at an appropriate point you can add the "Edit Registry" function as required. Save this script then open your original project and open the script editor. Select a point just after the [ Initialize Setup ] section, say the line after " #include "Common Definitions.sbi" ", and choose the "#include" function from the "Script Management" list. You can now navigate to your newly created uninstall script and select it for inclusion in your current project. Compile and it should work as you need (unless I've forgotten something <g>).
Data Down Under
12-28-2004, 12:24 AM
Cooooool. This works great :) Thank you very much for your help.
vBulletin® v3.8.4, Copyright ©2000-2014, Jelsoft Enterprises Ltd.