Using Command Line Switches to Control Internet Explorer Setup (202853)



The information in this article applies to:

  • Microsoft Internet Explorer Administration Kit 4.0
  • Microsoft Internet Explorer Administration Kit 4.01
  • Microsoft Internet Explorer Administration Kit 4.01a

This article was previously published under Q202853

SUMMARY

When you install a custom build of Internet Explorer, you can use the following command-line switches in the MORE INFORMATION section to control the way that Setup is run.

NOTE: These command line parameters are for the 32-bit packages of IEAK; 16-bit packages of IEAK only understand the /Q option. This is by design.

MORE INFORMATION

/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 without the Cancel button, so the user cannot cancel Setup. This switch is used by the IEAK Wizard when the Install package silent option is selected when you install 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).

/I:[Y/N]
Indicates whether or not to install the Windows Desktop Update. The default is "Y."

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

/U:""<path>""
Specifies the path (HTTP, file, or network in Universal Naming Convention format) for installation cabinet (.cab) files. Do not use /U for CD-ROM installations.

/R:N
Suppresses restarting after installation. If you suppress restarting, your program should take care of restarting the computer; Internet Explorer is not 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 Ie4setup.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.

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

Examples:

Total Silent Full Install with integration (download build)

Ie4setup.exe /q /c:"ie4wzd /Q:A /R:A /I:Y /M:2 /S:""#e"" /U:""http://<server>/folder/win95_nt/ie4site/en"""
				
where <server> is the name of your server.

The following expression performs a quiet installation, with no user prompts and no restart afterward:

Ie4setup.exe /Q:A /C:"ie4wzd /S:""#e"" /Q /R:N"
				


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

The most important thing to remember when applying switches to Ie4setup.exe is that you MUST reference Ie4wzd. Ie4wzd is actually inside of Ie4setup.exe and is the engine that runs the install.

Modification Type:MajorLast Reviewed:10/22/2003
Keywords:kbhowto KB202853