>Hi Ed,
>
>Thanks, I just found the runonce keys myself. How do I make the script reboot? I'm looking for reboot in MSDN but havn't found what I was looking for.
>
You can use the Windows API call ExitWindowsEx() (what I do) or use an automation object, or use the ShutdownWindows methhod of Shell.Application.
>>>Hi All,
>>>
>>>I need to find out how I can do a part of a setup with a Shutdown, followed by the rest of the setup. Sometimes you see this happen; when the computer restarts the setup of the program continues. How is this done?
>>
>>I don't use Setup Wizard for this; I create a runonce key that wuld start a second script
>>after reboot, and if it completes, reoot the system. You immediately start the second script. If no reboot occurs, you can eithe remove the RunOnce key yourself and fire the secod script, ir reboot regardless.