Hello Jim,
In order to achieve what you want you can proceed like this:
- Go to "Install Parameters" page and enable "Run as administrator" option.
- Go to "custom Action" page and add the related registry backup script custom action under "Install Execution Stage" -> "Paths Resolution" action group.
- Add the restore and delete registry backup script custom actions after "Finish Dialogs Stage".
- Build and run your project.
Also, starting with version 9.4 of Advanced Installer you can achieve this using our persistence feature. You can proceed like this:
- Go to "Registry" page, select your registries key and from its context menu choose "Properties..." option.
- In the "Edit Registry Key" dialog ->
"Operations" tab enable "Preserve key content" option using desired condition.
- Build and run your project.
Let us know if this helps, otherwise give us more details about your scenario.
All the best,
Daniel
FOLLOW US
Get the latest news in Application Packaging