Pending Reboot

Feb 24, 2016 at 3:23 PM
Dear all,

Actually I'm working on pending reboot, in following ways I tried :

1) I'm writing the registry key when "m_fRestartRequired" variable is set, but when I writes the key, it needs admin permission, and as UAC is not enabled in my Installer.EXE, leads failing in writing registry key, between .MSI inside bootstrapper invokes the UAC but this is child...

2) I tried with "ShellExecute, CreateProcess" but it invoke one more UAC saying "do you want to make changes to this computer" while creating the registry key.

3) I tried with Bootstrapper Elevate the UAC, and then write the registry key, but key is not written because Elevated doesn't give admin permission through Bootstrapper.

Please suggest me any way in which I can make my Installer.EXE as admin permission enabled so that I can write registry key OR any way to write registry without popping any msg like in (2) point OR does bootstrapper write registry key, if yes provide the clue.

Any help towards it would be really appreciated.
Feb 24, 2016 at 4:48 PM
The bundle should not be writing registry keys - so I am afraid I have not ideas.
Mar 8, 2016 at 5:11 AM
Thanks nsleightholm,
I got it done from wix side, as it has the admin privilege.