Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setup with shutdown
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00228783
Message ID:
00229128
Vues:
24
>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.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform