cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Peter_Keintzel
Level 3

"Schedule Reboot at End" disabled

Hello,

I would like to add the "Schedule Reboot at End" from the Gallery. Unfortunately the menu item is grayed and disabled. How can I add this action?

Regards Peter
0 Kudos
(2) Replies
bharath_k_s
Level 7

Hello Peter,

In InstallShield Limited Edition, "Schedule a Reboot at end" option is not available. This option is available in InstallShield Express Edition.

However you could use VBScript Custom Action and schedule a Reboot. A sample VBScript that could be used is as follows

Set WSHShell = CreateObject("WScript.Shell")
WshShell.Run "C:\WINDOWS\system32\shutdown.exe -r -t 0"

Sequence the VBScript Custom Action After Setup Complete Success Dialog.

Thanks,
Bharath
0 Kudos
Peter_Keintzel
Level 3

Thank you. The VBscript worked perfectly. Regards Peter
0 Kudos