Export (0) Print
Expand All
3 out of 5 rated this helpful - Rate this topic

Batch File Syntax

You can use a batch file to further control the setup process and the Windows Update Setup Wizard for Internet Explorer and Internet Tools. The following table shows the sections and entries for the batch file. For more information about how to use a batch file, see Running Setup in Batch Mode. See Sample Setup Batch File for a complete sample file.

Sections in a batch file:

[Options]

[Welcome]

[SetupChoice]

[Custom]

[Download]

[DownloadSite]

[PrepareSetup]

[Diskspace]

[Progress]

[RebootPartial]

[Finish]

[Reboot]

[Upgrade]

 

[Options]
SaveUninstallInfo=[0,1]
ExtraSection=
Quiet=[A,C,U]
ShowErrors=[0,1]
Display=[0,1]

Entries in this section

Description

SaveUninstallInfo=[0,1]

Determines whether or not information about removing components is stored.

  • 0 specifies that information is not stored. If you use this switch, you cannot uninstall Internet Explorer from Control Panel.

  • 1 (default) specifies that information is stored.

ExtraSection=section1[,section2,...]

Runs the sections specified in the Iesetup.inf file. Separate sections with commas (for example, section1,section2,section3).

Quiet=[A,C,U]

Represents quiet mode, in which the installation is run with little or no input from the user.

  • A specifies administrative mode, in which Setup does not appear to the user and error checking is not performed.

  • C suppresses the Cancel button on the progress page.

  • U specifies that Setup does not appear to the user unless required input (e.g., download location) is not available.

ShowErrors=[0,1]

Determines whether or not Setup errors are displayed to the user.

  • 0 specifies that Setup carries out the default action for each message with no user input.

  • 1 (default) specifies that Setup errors are displayed to the user.

[Welcome]
Display=[0,1]

Entries in this section

Description

Display=[0,1]

Determines whether or not the initial Setup screen is displayed on the user's computer.

  • 0 specifies that the initial Setup screen is not displayed to the user.

  • 1 (default) specifies that the initial Setup screen is displayed to the user.

[SetupChoice]
Display=[0,1]
SetupChoice=[0,1]

Entries in this section

Description

Display=[0,1]

Determines whether or not the screen on which users can choose the Setup option to customize Setup is displayed on the user's computer.

  • 0 specifies that the Setup type screen is not displayed to the user.

  • 1 (default) specifies that the Setup type screen is displayed to the user.

SetupChoice=[0,1]

Determines which Setup option is chosen.

  • 0 (default) specifies Install now - Typical Setup of Components.

  • 1 specifies Custom Setup.

[Custom]
Display=[0,1]
InstallDir= foldername
InstallDirRO=[0,1]
UseInfInstallDir=[0,1]
SetupMode=[0,1,2]
SetupModeRO=[0,1]
Component=[ComponentID_1, ComponentID_2, ...]
ComponentListRO=[0,1]
DownloadOnly=[0,1]
DownloadOnlyRO=[0,1]
IECompat=[0,1]
IECompatRO=[0,1]
IECompatShow=[0,1]
ShowAdvanced=[0,1]
IEDefault=[0,1]
IEDefaultRO=[0,1]

Entries in this section

Description

Display=[0,1]

Determines whether or not the Component Options screen, in which users can select components and click Advanced to specify more options, is displayed on the user's computer.

  • 0 specifies that the Component Options screen is not displayed to the user.

  • 1 (default) specifies that the Component Options screen is displayed to the user.

InstallDir=foldername

Specifies the folder for installing files. If you do not include this setting, Setup uses the current settings in the Iesetup.inf file. If you have installed an earlier version of Internet Explorer, Setup installs into the same folder as the earlier version.

InstallDirRO=[0,1]

Specifies whether or not the user can change the installation folder.

  • 0 (default) specifies that the user can change the installation folder.

  • 1 specifies that the user cannot change the installation folder.

UseInfInstallDir=[0,1]

Specifies the folder into which Internet Explorer is installed.

  • 0 (default) specifies that Setup uses the default installation folder or the same folder in which an earlier version of Internet Explorer is already installed.

  • 1 specifies that the installation folder is the folder specified in the Iesetup.inf file.

SetupMode=[0,1,2]

Specifies what kind of installation is performed.

  • 0 specifies a Minimal installation.

  • 1 (default) specifies a Typical installation.

  • 2 specifies a Full installation.

SetupModeRO=[0,1]

Determines whether or not the user can change the Setup type.

  • 0 specifies that the user can change the Setup type.

  • 1 (default) specifies that the user cannot change the Setup type.

Component=[ComponentID1[,ComponentID2,...]]

Specifies that only the components specified in the Component= setting are installed. 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. You can also find ComponentID information on the IEAK Web site.

ComponentListRO=[0,1]

Determines whether or not the user can specify which components are installed (in addition to the components in the Setup type).

  • 0 (default) specifies that the user can change the list of components.

  • 1 specifies that the user cannot change the list of components.

DownloadOnly=[0,1]

Determines whether or not Internet Explorer is just downloaded, or downloaded and installed.

  • 0 (default) specifies that the files are downloaded and then installed.

  • 1 specifies that the files are downloaded but not installed.

DownloadOnlyRO=[0,1]

Determines whether or not the user can specify that files are downloaded or downloaded and installed.

  • 0 (default) specifies that the user can change this setting.

  • 1 specifies that the user cannot change this setting.

IECompat=[0,1]

Determines whether or not Internet Explorer 5 (or later) is installed on the same computer as Internet Explorer 4, so that functionality from both programs is available.

  • 0 specifies that Internet Explorer 5 or later cannot be installed side-by-side with Internet Explorer 4.

  • 1 (default) specifies that Internet Explorer 5 or later can be installed so that it works with Internet Explorer 4 features.

IECompatRO=[0,1]

Determines whether or not the user can specify if Internet Explorer 4 features can be used side-by-side with Internet Explorer 5 (or later).

  • 0 (default) specifies that the user can change this setting.

  • 1 specifies that the user cannot change this setting.

IECompatShow=[0,1]

Determines whether or not the Compatibility check box, which enables users to run Internet Explorer 5 (or later) side-by-side with Internet Explorer 4, is displayed.

  • 0 specifies that the check box is not displayed in the wizard.

  • 1 (default) specifies that the check box is displayed in the wizard.

ShowAdvanced=[0,1]

Determines whether or not the Advanced button is displayed on the Component Options screen in the Windows Update Setup Wizard. Clicking the Advanced button displays the Download only, Compatibility, and Don't associate file types options.

  • 0 specifies that the Advanced button is not displayed in the wizard.

  • 1 (default) specifies that the Advanced button is displayed in the wizard.

IEDefault=[0,1]

Determines whether or not Internet Explorer is the default browser.

  • 0 specifies that Internet Explorer is not the default browser.

  • 1 (default) specifies that Internet Explorer is the default browser.

IEDefaultRO=[0,1]

Specifies whether or not users can determine if Internet Explorer is their default browser.

  • 0 specifies that users can determine whether Internet Explorer is their default browser.

  • 1 (default) specifies that users cannot determine whether Internet Explorer is their default browser.

[Download]
Display=[0,1]
DownloadDir= foldername
DownloadDirRO=[0,1]
DownloadOS=[0,1]
DownloadOSRO=[0,1]

Entries in this section

Description

Display=[0,1]

Determines whether or not the option to download or install files is displayed on the user's computer.

  • 0 specifies that the option to download or install files is not displayed to the user.

  • 1 (default) specifies that the option to download or install files is displayed to the user.

DownloadDir=foldername

Specifies the folder for downloading files. If you do not include this setting, Setup creates a folder named Windows Update Setup Files on the drive that has the most disk space.

DownloadDirRO=[0,1]

Specifies whether or not users can change the folder where their files are downloaded.

  • 0 (default) specifies that users can change the download folder.

  • 1 specifies that users cannot change the download folder.

DownloadOS=[0,1]

Specifies that files for a specific operating system are downloaded; this setting is valid only if you are downloading but not installing files (DownloadOnly=1).

  • 0 (default) specifies the current operating system.

  • 1 specifies Windows 95, Windows 98, Windows Millennium Edition, Windows NT, Windows 2000, and Windows XP.

DownloadOSRO=[0,1]

Determines whether or not users can specify the operating system of the files that are downloaded to their computer.

  • 0 (default) specifies that users can change this setting.

  • 1 specifies that users cannot change this setting.

[DownloadSite]
Display=[0,1]
DownloadLocation= URL
DownloadSiteList= URL

Entries in this section

Description

Display=[0,1]

Determines whether or not the download sites are displayed to the user.

  • 0 specifies that the download sites are not displayed to the user.

  • 1 (default) specifies that the download sites are displayed to the user.

DownloadLocation=URL 

Specifies the address of the Web site that users download .cab files from, if you are distributing from the Web. If you used Display=0 for this section, or any switch that would result in this page not being displayed, you should enter a download site.

DownloadSiteList=URL

Specifies the location for the list of download sites; by default, this list is the Ie5sites.dat file. If you do not include this setting, Setup uses the current settings in the Iesetup.inf file.

[PrepareSetup]
Display=[0,1]

Entries in this section

Description

Display=[0,1]

Determines whether or not the Preparing Setup screen is displayed on the user's computer.

  • 0 specifies that the Preparing Setup screen is not displayed to the user.

  • 1 (default) specifies that the Preparing Setup screen is displayed to the user.

[Diskspace]
Display=[0,1]

Entries in this section

Description

Display=[0,1]

Specifies whether or not to display on the user's computer the amount of disk space needed.

  • 0 specifies that the amount of disk space needed is not displayed on the user's computer. If the user does not have enough disk space, Setup will close.

  • 1 (default) specifies that the amount of disk space needed is displayed on the user's computer.

[Progress]
Display=[0,1]

Entries in this section

Description

Display=[0,1]

Specifies whether or not to display the installation progress to the user.

  • 0 specifies that the installation progress is not displayed to the user.

  • 1 (default) specifies that the installation progress is displayed to the user.

[RebootPartial]
Display=[0,1]

Entries in this section

Description

Display=[0,1]

Determines whether or not the Installation Incomplete screen appears if a component fails to install.

  • 0 specifies that the Installation Incomplete screen does not appear if a component fails to install.

  • 1 (default) specifies that the Installation Incomplete screen appears if a component fails to install.

[Finish]
Display=[0,1]

Entries in this section

Description

Display=[0,1]

Specifies whether or not to display the message that the computer is restarting after Setup.

  • 0 specifies not to display the message that the computer is restarting after Setup. If you plan to turn off restarting after installation, use 0.

  • 1 (default) specifies to display the message that the computer is restarting after Setup.

[Reboot]
Reboot=[0,1]

Entries in this section

Description

Reboot=[0,1]

Specifies whether or not to restart the computer after Setup.

  • 0 specifies that you do not want to restart the computer after Setup. If you turn off restarting, your program should take care of restarting the computer. Internet Explorer is not configured correctly until the computer is restarted.

  • 1 (default) specifies that you do want to restart the computer after Setup.

[Upgrade]
ReinstallAll=[0,1]

Entries in this section

Description

ReinstallAll=[0,1]

Specifies whether or not to reinstall all components if Setup is run a second time.

  • 0 (default) specifies not to run Setup again if all components are already installed.

  • 1 specifies to reinstall all components.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.