Hello all,

I want a PC to reboot after installing software i'm using the script below, there is only one problem the PC reboots if the installation is running (reboots at 50%).
Could any one tell me what i should add to the script?

IF INGROUP("CBT")
IF EXIST ("c:\cbtlib")
goto "box"
ELSE
SHELL"\\ntnlp\distributie$\cbt\cbtwindows.exe"
Shutdown ("","PC will reboot",5,1,1)
endif