Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setup Wizard
Message
From
29/02/2000 11:29:16
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Setup Wizard
Miscellaneous
Thread ID:
00339156
Message ID:
00339156
Views:
48
Hi all,

This is a tidbit that many of you will appreciate:

According to Microsoft, the Visual Foxpro setup can be run in quiet mode.

RUN setup.exe /Q

This will launch and run setup without user intervention.

/Q will run setup with the "Initializing setup..." dialogue box, the progress bar, and the "Setup complete" dialogue box with the OK button at the end of the process.
/QT will run setup without any dialogue boxes.
/QNT will run setup with the "Initializing setup..." dialogue box only.

If you create a Netsetup installation on your server, the first time setup is run, the setup.exe will create a Setup.stf file in the setup folder of the user's application directory. The second line of this file is datetime stamp, which can be compared to the datetime stamp in the setup.stf file on server. The tenth line of the user's setup.stf file contains the UNC path to where the setup.exe on ther server resides.

If an application is recompiled and the Setup Wizard is re-run, you can have your application open the two files before READ EVENTS is issued, compare the date stamps, display a dialogue box that a new version is available, and run the setup in quiet mode. After the run command is issued, I return false. My application exists, but the Foxpro Setup continues on its merry way until completion. At that point the user knows enough to re-run the application. The setup.exe copies a fresh version of the setup.inf file to the user's hard drive, keeping everything in synch. Works like a charm each and every time! I hope this benefits the community.

See article Q194572 for more info about running the Foxpro Setup in Quiet mode.
Reply
Map
View

Click here to load this message in the networking platform