Hello and welcome to Advanced Installer forums,
In order to implement your scenario you can create a custom action that will set the RemappedElevatedProxiesPolicy registry at the begining of the installation and another custom action to remove the registry key at the end of the installation.
For example, you can set the registry at the beginning of the installation, even before the
Searches stage from the
Wizard Dialogs Stage. The custom action that will remove the registry needs to be added after the
Finish Execution stage. Note that you may need to enable the
Run as administrator option from the
Install Parameters page since you will make changes that requires administrative privileges.
Please take a look on the
How to integrate and debug custom actions? article which may be useful to you. Using the C# custom action approach you can take advantage of the
RegistryKey Class.
Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.
Best regards,
Dan
FOLLOW US
Get the latest news in Application Packaging