Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Articles
Search: 

Setup Wizard
James Weil, January 1, 2001
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. The following parameters will run Setup in quiet mode with various options: /Q will run setup with the "Initializing setup..." dialogue...
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. The following parameters will run Setup in quiet mode with various options:

/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 in 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 from the server 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.

More articles from this author
James Weil, September 21, 2001
This article is an excerpt from the Mere Mortals framework Developer's User Guide, written by Kevin McNeish. The default memory buffer size that Windows assigns to Visual FoxPro at startup is often incorrect. Usually, Windows reports more physical memory than is truly available. This means that V...
James Weil, July 1, 2001
The long-awaited release of version 6.1 of the Mere Mortals framework from Oak Leaf Enterprises Solution Design, Inc. provides a quantum leap from a logical three-tier architecture to a true Windows’ Distributed Network Architecture (DNA). Although this was Flash's original vision for its Codebook 3...