After you use the Outlook 98 Deployment Wizard to create one or morecustomized Outlook 98 installations, you can run the Setup program from thecommand line. If you do, you can add parameters to the command that allowyou to specify certain options, such as choosing a standard installation orspecifying quiet mode (which removes or reduces the prompts the userreceives).
To run the Setup program from the command line, do the following:
- In Windows 95 or Windows NT Workstation 4.0, click Start, and then click Run.
- Type the location you are installing from, followed by the word setup. For example, x:\setup or x:\ol98\setup.
If you want to add a command-line option, type it after the command. Forexample, to run Setup in quiet mode, type x:\setup/Q
: When users click Setup.exe in the \CD folder of your customized ODKpackage, the Autorun screen runs the appropriate Setup.exe from thelanguage\Packages folder (for example, for English, it starts\CD\EN\Packages\Setup.exe). When Setup.exe in the Packages folder runs, itself-extracts and runs Outlwzd.exe with the custom settings that youdefined in the wizard.
You can use command-line switches to control how both the Setup.exe and theOutlwzd.exe files are run. For example, you can use command-line switchesto choose the installation mode, specify a quiet mode, or control whetherthe computer is restarted after installation. Also, you can use command-line switches without a customized ODK package (the only switch thatrequires this package is /Q
If the quiet mode installation does not perform a true quiet installation when you run the following command
then run the following command:
The full path is sometimes necessary for a quiet installation to operate properly.
Command-Line Option Descriptions for Setup.exe
To use command-line switches with Setup.exe, use Wextract, an extractionutility based on Internet Express technology. The following table showsfrequently used Wextract command-line options.
Command-line option Description/C:<> Path and name of the Setup .inf or .exe file/Q Quiet mode/R:A Always restart/R:N Never restart/R:S Silent restart/T:<directory path> Target folder for extracting files
Command-Line Option Descriptions for Outlwzd.exe
A second group of command-line switches is used with Outlwzd.exe. Thefollowing table describes Outlwzd.exe command-line options.
Command-line option Description
/I:[Y/N] Indicates whether to install the Windows Desktop Update. If thisoption is not specified, Setup matches the previous state of the user'scomputer; using this option, you can override this default behavior andexplicitly define whether the Windows Desktop Update is turned on or off.
/L Specifies the Outsites.dat to be used in a Web installation. Thisoption should point to the Outsites.dat file, which identifies downloadsites (for example: /L:"www.somewebsite.com/Outsites.dat").
/M:[0|1|2|3...] Specifies the installation mode. For customized ODKpackages, 0 refers to the first installation choice; 1 refers to the secondchoice; and so on (for example, 0=minimal, 1=standard, 2=full). If 0 isspecified, the Windows Desktop Update is not installed (same as specifyingthe /I:N option).
/N Specifies the starting behavior of Outlwzd.exe. The /N option causesOutlwzd.exe to ignore the version of the previous installation and notstart Olmaint.exe. The /N- option causes Outlwzd.exe to ignore theversion of the previous installation and start Olmaint.exe.
/Q Specifies a quiet "hands-free" batch mode. The user is prompted forinformation that is not specified. A properly configured Setup.ini file isrequired for this option to work.
/R Specifies whether Outlwzd.exe should restart if needed. You cannot usethis option to force Outlwzd.exe to restart in all cases; however, you canuse it to force Outlwzd.exe not to restart in all cases (using the /R:Noption). If you suppress restarting, your program should take care ofrestarting the computer; Outlook is not properly configured until thecomputer is restarted.
/S:""#e"" Designates the source path of Outlwzd.exe. The ""#e"" refers tothe full path and name of the .exe file.
/U:""<path>"" Specifies the path (file or network in Universal NamingConvention format) for installation cabinet (.cab) files. Do not use /U forCD-ROM installations.
/X Installs Internet Explorer without the Internet Explorer icons on thedesktop, Start menu, and Quick Launch bar. Also, the Internet Explorerversion number is set lower, so that Active Setup tries to update it if thesame version of Internet Explorer is delivered.
NOTES: When you use command-line options, be aware of these importantconsiderations:
switch is required with Outlwzd.exe. Without this switch, users gointo Web Install Mode rather than CD, and they do not get the correctproduct identification code information.
If you use the /Q
switch for Setup.exe, it also runs Outlwzd.exe /Q. Anerror message appears if you do not have the configured Setup.ini file.
If you use Outlwzd.exe switches, you must run Setup.exe with the /C
switch.Within the /C
switch, you can then specify switches to run withOutlwzd.exe.
Here are some sample scenarios
The following expression runs the third installation option:
setup.exe /C:"outlwzd.exe /S:""#e"" /M:2"
The following expression performs a quiet installation, with no userprompts and no restart afterward:
setup.exe /Q /C:"outlwzd.exe /S:""#e"" /Q /R:N"
Note that the placement of quotation marks is important, and that the pathis surrounded with two pairs of double quotation marks.
Outlook provides comprehensive product documentation in both print andonline formats. For information about how to use specific Outlook features,see the online Help supplied with the product.