wix installer reboot during installation

Viewed 335

My installer have to enable windows features and it can happen that it has to close the service via the power shell command that require reboot. I am tring in this way: but it only show dialog with information to break instalation and close installer.

I am tring ScheduleReboot and ForceReboot but nothing causes a reboot and recovery.

    <InstallExecuteSequence>
        <ScheduleReboot After="InstallInitialize"/>
    </InstallExecuteSequence>

I read that during the reboot should create some registry that allows you to return to the installation and continue it. but I don't know maybe the firewall is blocking me.

1 Answers
Related