View Full Version : Add registry key at uninstall
Unregistered
12-24-2004, 10:30 AM
Hi
I have to add a registry key while uninstalling? Is this possible with Setupbuilder 5?
Thanks,
Rene
gspillane
12-27-2004, 05:14 PM
Hi Rene,
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>).
Best Regards,
Geoff Spillane
Data Down Under
Unregistered
12-28-2004, 01:24 AM
Hi Geoff,
Cooooool. This works great :) Thank you very much for your help.
Rene
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.