简体   繁体   中英

wix installer reboot during installation

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.

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

Hope this help.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM