4

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.

Silny ToJa
  • 1,509
  • 1
  • 4
  • 14

1 Answers1

0

Can you take a look at this related question: Resume installing after restart in WiX.

Hope this help.

ShinaBR2
  • 2,140
  • 1
  • 9
  • 21
  • Thanks for reply but unfortunately it show how do that for ExePackage and in bootstrapper. MsiPackage doesnt have property . I am not able to put it anywhere in the wix. – Silny ToJa Jul 07 '20 at 05:57