Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run Setup and prompt to restart windows
Message
From
13/11/1999 14:58:43
 
 
To
11/11/1999 22:14:04
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00290095
Message ID:
00290978
Views:
17
>Hi Rebecca,
>
>>I need to have VFP setup program which installs my software
>>prompt the end user to restart windows so that system settings
>>can be updated.
>>Any thoughts on how to accomplish this?????
>
>You may consider getting a 3rd party tool. I use InstallShield Express2 and it works great. However, sice you are using VFP3, it may be difficult to track down the correct files for you to use :-(

Actually, it's pretty trivial to write a post-setup executable to do this, and add this to the Setup Wizard install - under Win3x-WIN3S or Win9x, a call the the ExitWindowsEx() API call, as documented in the FAQ, should do this.

The Setup Wizrd should be able to detect any components that it installs requiring a reboot and trigger it to do so unless command line switches are added to prevent the reboot when firing Setup.EXE
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
Previous
Reply
Map
View

Click here to load this message in the networking platform