Article ID: 200007 - View products that this article applies to.
This article was previously published under Q200007
This article describes all of the possible switches that can be used to run Internet Explorer 5.0 setup in batch mode.
/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. To determine the ComponentID, refer to the "STRINGS" section of the Iesetup.cif file. For example, if want the ComponentID to add Dynamic HTML Data Binding, refer to following entry in the "STRINGS" section of the Iesetup.cif file
Tridata=Dynamic HTML Data Bindingwhere the ComponentID for Dynamic HTML Data Binding is "Tridata."
/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: The /F command line option does not work with Internet Explorer version 5.5 and above. To achieve similar functionality, use the following command line option /V:I. For example:
/G: Runs specified installation sections in Iesetup.inf. Separate sections with commas.
ie5setup.exe /Q:A /C:"ie5wzd /S:""#e"" /Q:C /R:N /V:I"
/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 fileThe following are some example scenarios:
/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 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.
Contact us for more help
Connect with Answer Desk for expert help.