Internet Explorer Batch Mode Setup Switches

ID: Q200007


The information in this article applies to:


SUMMARY

This article describes all of the possible switches that can be used to run Internet Explorer 5.0 setup in batch mode.


MORE INFORMATION

/Q Specifies a quiet "hands-free" mode. The user is prompted for information that is not specified.

/B:iebatch.txt Specifies the batch script file to use

/Q:A Specifies a quiet mode with no user prompts.

/Q:C Specifies a quiet mode with the Cancel button not displayed, so the user cannot cancel Setup. This switch is used by the Internet Explorer Customization Wizard if the Install package silently option is selected when you are installing as a corporate administrator.

/M:[0|1|2|3...] Specifies the installation mode. For customized IEAK packages, 0 refers to the first installation choice, 1 refers to the second choice, and so on (for example, 0=standard install (default), 1=enhanced, 2=full).

/E:ComponentID,ComponentID Specifies extra components to be installed regardless of the mode invoked. Use this to specify components that are not part of the installation type you specified in the Customization Wizard. This switch also overrides settings in the batch text file, if used. The ComponentID is a string that uniquely identifies a component; you can find the corresponding string in the component sections of the Iesetup.cif file.

/S:""#e"" Designates the source path of Ie5setup.exe. The ""#e"" refers to the full path and name of the .exe file.

/R:N Suppresses restarting after installation. If you suppress restarting, your program should take care of restarting the computer; Internet Explorer will not be properly configured until the computer is restarted.

/D Specifies that you want to download only the files for the current operating system.

/D:1 Specifies that you want to download files for Microsoft Windows and Windows NT operating systems.

/G: Runs specified installation sections in Iesetup.inf. Separate sections with commas.

/X: Installs Internet Explorer without the shell, icons, or links. This option is useful for hosting browser controls in your own application.

/P Precost an installation without starting Setup. Precosting enables you to see how much disk space will be used based on the installation options selected.

/F (Fix) Reinstalls all items that are the same version or later on the end-user's computers. Using the /F switch ensures that no components will be replaced with an earlier version.

Note: If you disable restarting, you must ensure that your program restarts the users' computer. Internet Explorer will not be properly configured until the computer is restarted.

Paths should be surrounded by two pairs of quotation marks:

""<path>""
To use batch-mode setup switches, use Wextract, an extraction utility based on Internet Express technology. The following are frequently used Wextract command line switches:
/Q Quiet mode

/QU User-quiet mode, which presents some dialog boxes to the user

/QA Administrator-quiet mode, which does not present any dialog boxes to the user

/C:<> Path and name of the Setup .inf or .exe file

/R:N Never restart

/R:A Always restart

/R:S Silent restart

/T:<directory path> Target folder for extracting files
The following are some example scenarios:

The following expression uses a combination of a batch file and command-line. It runs the batch file "Iebatch.txt" in quiet mode.
Ie5setup.exe /Q /C:"ie5wzd /B:#D\iebatch.txt /s:#e"
The following expression runs the third installation option:
ie5setup.exe /C:"ie5wzd /S:""#e"" /M:2"

The following expression performs a quiet installation, with no user prompts and no restart afterward:
ie5setup.exe /Q:A /C:"ie5wzd /S:""#e"" /Q /R:N"
NOTE: The placement of quotation marks and surrounding the path with quotation marks is important.
The following expression overrides the Ie5sites.dat site list and installs Internet Explorer from the specified location:
ie5setup.exe /C: "ie5wzd /L:""\\yourserv\yourdir\yourlist.dat"" /S:""<LINK TYPE="GENERIC" VALUE="http://www.yourserver.com/directory/ie5setup.exe""">http://www.yourserver.com/directory/ie5setup.exe""</LINK>
This expression should be used to point users to another download location for example, in another country without rebuilding your IEAK package.

Additional query words: ie,ieak


Keywords          : 
Version           : WINDOWS:5.0
Platform          : WINDOWS 
Issue type        : kbhowto 

Last Reviewed: April 28, 1999