cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
m_rudolph
Level 6

Restarting Computer Mid Install

Is it possible to force a reboot during the install with InstallScript? I see MSI's can use a ForceReboot action, but nothing in the help or searching this forum on the subject.

I basically want to install SQL Server/SP2, reboot, and then complete the install in OnRebooted().

Thanks!
Labels (1)
0 Kudos
(3) Replies
m_rudolph
Level 6

Following up after some more searching:

System ( SYS_BOOTMACHINE );
Do (EXIT);

Going to try this. Anyone had success with it? I'll post back results.
0 Kudos
esiemiat
Level 9

Just be careful with this. I would make sure the reboot is done before any file transfer occure or registry keys are created.
0 Kudos
another_1
Level 4

This worked for me, but OnRebooted does not work. Any tips on this, please?
Thank you,
Masha
m.rudolph wrote:
Following up after some more searching:

System ( SYS_BOOTMACHINE );
Do (EXIT);

Going to try this. Anyone had success with it? I'll post back results.
0 Kudos