i am wondering if i can backup registry keys before i initiate installation routine. i would like to reinstate the registry keys overwritten by uninstall. Is that possible?
It is possible to backup some registry entries. But for this you need a script that will be placed in a custom action.
This custom action must be executed before the registry entries are overwritten (for example, the "RegisterMIMEInfo" section is a good place to have this script).
To implement this, go to "Custom Actions" and select from the context menu "Show Standard Action"->"Before Finalization"->"RegisterMIMEInfo" (observe that this comes right before "WriteRegistryValues").
Place there a custom action (with an immediate execution) using a script that does what you want to achieve.
FOLLOW US
Get the latest news in Application Packaging