Internet Explorer Batch Mode Setup Switches

ID: Q200007


The information in this article applies to:
  • Microsoft Internet Explorer Administration Kit version 5.0


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

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

/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.

/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.

/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.

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

/L:""<path and name of site list>"" Substitutes the path and name of the Ie4sites.dat site list. Specify full path (HTTP, file, or network in Universal Naming Convention format) and the name of the site list file. In your site list file, use the same structure and syntax as Ie4sites.dat.

/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).

/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.

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

/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.

/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.

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

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

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:
/C:<> Path and name of the Setup .inf or .exe file

/Q Quiet mode

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

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

/R:A Always restart

/R:N Never 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:""<
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: September 2, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.