Silent Minimal Internet Explorer Install with Custom Components (235302)



The information in this article applies to:

  • Microsoft Internet Explorer 4.01 for Windows NT 4.0 SP 2
  • Microsoft Internet Explorer 4.01 for Windows 98 SP 2
  • Microsoft Internet Explorer 4.01 for Windows 95 SP 2

This article was previously published under Q235302
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SYMPTOMS

You may want to install Internet Explorer 4.01 Service Pack 2 such that the installation is totally silent (there are no prompts during Setup), the Internet Explorer and Microsoft Outlook Express icons are not on the desktop or the Start menu, and add additional custom components by using the Microsoft Internet Explorer Administration Kit (IEAK). However, the installation may not be completely silent.

CAUSE

The installation may not be completely silent if the .inf files included in the .cab files in the IEAK installation folder do not contain [CopyFile] sections that contain the copyfile flag value of 32. When the IEAK .cab files contain older binaries than those already on the computer, if the .inf file does not contain the flag of 32 in the [CopyFile] section, you see a dialog box stating that you are about to install an older binary on top of a newer binary. This dialog box means the installation is not completely silent.

RESOLUTION

A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Internet Explorer 4.01 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix should have the following file attributes or later:

DateTimeVersionSizeFile namePlatform
03/15/9912:19 p.m.4.72.3615.110281,936Advpack.dll(x86)

This updated Advpack.dll file makes the installation process act as if each .inf file contains the copyfile flag of 32. As a result, you do not see the dialog box. The installation does not copy the older binary on top of the newer binary.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

Implementing Advpack.dll

  • On the IEAK build computer, you must replace the current Advpack.dll file in the IEAK build location (drive:\Program Files\IEAK\iebin\Language\Optional) with this new Advpack.dll file. Note that drive is the letter of the hard disk on which IEAK is installed, and Language is the target language for the IEAK build (for English this would be EN).

    To properly implement this new Advpack.dll file, you must set the following registry value:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Advanced INF Setup\NoVersionConflictsInQuietMode

    Value Type: DWORD
    Value: 0x1

  • When you run the IEAK wizard, make sure to clear the Automatic Version Synchronization (AVS) check box. Otherwise, the IEAK wizard automatically downloads the older Advpack.dll file from the Internet and replaces the newer file with the older one.
  • If you are going to add a custom component to the IEAK installation and you do not want the Internet Explorer and Outlook Express icons on the desktop (thereby not making Internet Explorer your default browser), you must select a minimal installation in the Select Installation Options dialog box in the wizard. Otherwise, the Outlook Express icon appears on the desktop after the installation.
  • Once the IEAK build is complete, run the installation from the drive:\Ieak_401\Win95_nt\CD\Win95\Language\Packages folder (you can do this by attaching to a network share, creating a CD-ROM and running it from there, or copying the files from this point to the local hard disk) as follows:

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

Switch Descriptions

  • /C:[path] - Contains the path and file name of the setup file.
  • /S:""#e"" - Designates the source path of the Ie4setup.exe file. The ""#e"" parameter indicates to use the full path and file name.
  • /X - Causes Internet Explorer to install without adding the shell, icons, or links. This option is useful for hosting browser controls in your own program.
  • /R:N - Causes Internet Explorer to not restart after it is installed. Internet Explorer is not completely installed until you restart your computer.
  • /Q:A - The Q:A switch specifies a quiet mode, which does not prompt the user for any information.

REFERENCES

187245 How to Add Internet Explorer Fixes to an IEAK Distribution

221835 Unable to Run Completely Silent Internet Explorer Installation

224088 Setup Internet Explorer Without Making It the Default Browser

195709 Disabling the "Already Installed" Warning for Setup


Modification Type:MinorLast Reviewed:10/6/2005
Keywords:kbHotfixServer kbQFE kbenv kbprb kbsetup KB235302