Microsoft KB Archive/303399

= You Cannot Finish Installing or Upgrading Internet Explorer =

Article ID: 303399

Article Last Modified on 5/10/2007

-

APPLIES TO


 * Microsoft Internet Explorer 5.5 Service Pack 1
 * Microsoft Internet Explorer 5.5 Service Pack 2
 * Microsoft Internet Explorer 5.01
 * Microsoft Internet Explorer 5.01
 * Microsoft Internet Explorer 5.0
 * Microsoft Internet Explorer 4.01 Service Pack 1
 * Microsoft Internet Explorer 4.01 Service Pack 2
 * Microsoft Internet Explorer 4.0 128-Bit Edition
 * Microsoft Internet Explorer 5.5 Service Pack 1
 * Microsoft Internet Explorer 5.5 Service Pack 2
 * Microsoft Internet Explorer 5.5 Service Pack 1
 * Microsoft Internet Explorer 5.5 Service Pack 2
 * Microsoft Internet Explorer 5.01
 * Microsoft Internet Explorer 5.01
 * Microsoft Internet Explorer 5.5 Service Pack 1
 * Microsoft Internet Explorer 5.5 Service Pack 2
 * Microsoft Internet Explorer 5.01
 * Microsoft Internet Explorer 5.01
 * Microsoft Internet Explorer 5.0
 * Microsoft Internet Explorer 4.01 Service Pack 2
 * Microsoft Internet Explorer 5.5 Service Pack 1
 * Microsoft Internet Explorer 5.5 Service Pack 2
 * Microsoft Internet Explorer 5.01
 * Microsoft Internet Explorer 5.01
 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0
 * Microsoft Internet Explorer 6.0

-



This article was previously published under Q303399



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
If you try to install Internet Explorer, you may experience the following behavior:  You receive one of the following error messages:

Setup was unable to download all the required components for this installation.

Please try Setup again, and select Resume Setup.

-or-

Setup was unable to install all the components. Please close all applications and try running Setup again.

-or-

Setup was unable to download all the required components for this installation.

 The computer stops responding (hangs) during the installation.



RESOLUTION
To troubleshoot this issue, use the following methods in the order that they are presented.

NOTE: Because there are several versions of Microsoft Windows, the following steps may be different on your computer. If they are, see your product documentation to complete these steps.

Method 1: Verify the Windows Configuration
 In Microsoft Windows 2000 or Microsoft Windows NT 4.0, verify that you are logged on to the computer as an administrator. Install the latest service pack for your operating system.

For additional information about how to obtain Windows NT 4.0 Service Pack 6 (SP6), visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyID=e396d059-e402-46ef-b095-a74399e25737&DisplayLang=en

For additional information about how to obtain Windows 2000 Service Pack 2 (SP2), visit the following Microsoft Web site:

http://www.microsoft.com/windows2000/downloads/servicepacks/sp2/default.mspx

 Quit all programs that are running, including any antivirus programs.</li></ol>

Try to upgrade or install Internet Explorer. If you are unsuccessful, proceed to the following method.

Method 2: Limit RAM to 256 MB
If you have more than 256 megabytes (MB) of random-access memory (RAM) installed, remove or limit the RAM that Windows uses to 256 MB or less.

Microsoft Windows 95
If you are running Windows 95, you can use a RAM drive to limit the RAM that is available to Windows.

For additional information about how to use a RAM drive to limit the available memory, click the following article number to view the article in the Microsoft Knowledge Base:

142546 How to use a RAM drive to troubleshoot memory

Microsoft Windows Millennium Edition (Me) or Microsoft Windows 98
If you are running Windows Me, Windows 98 Second Edition, or Windows 98, use the System Configuration utility to limit the RAM that is available to Windows:
 * 1) Click Start, and then click Run.
 * 2) In the Open box, type msconfig, and then click OK.
 * 3) Click Advanced, and the click to select the Limit memory to check box.
 * 4) In the MB box, type the memory value to which you want to limit Windows, for example, 256.
 * 5) Click OK twice, and then click Yes to restart the computer.

Windows 2000 or Windows NT 4.0
If you are running Windows 2000 or Windows NT 4.0, edit the Boot.ini file to limit the memory that is available to Windows. Add the following switch to the ARC path in the [Operating System] section of the Boot.ini file, where  is the RAM that you want to allow Windows to use.

/MAXMEM=amount of RAM

For example, the following ARC path limits Windows to 256 MB of RAM: <pre class="fixed_text">multi(0)disk(0)rdisk(0)partition(1)\WINNT=&quot;Microsoft Windows 2000 Server&quot; /fastdetect /MAXMEM=256 NOTE: The Boot.ini file is a hidden file located in the root folder of the boot drive.

Use the following procedure to edit the Boot.ini file.

Warning: If you incorrectly change the Boot.ini file, you may render Windows inoperable.
 * 1) Log on to Windows NT 4.0 or Windows 2000 as an administrator.
 * 2) Click Start, and then click Run.
 * 3) In the Open box, type cmd, and then click OK.
 * 4) Change to the root folder of the boot partition. For example, type cd\ if you do not have a multiple-boot configuration.
 * 5) Type attrib -a -h -s boot.ini, and then press ENTER.
 * 6) Type copy boot.ini boot.old.

NOTE: If you run this command, Windows creates a backup copy of the Boot.ini file and names it &quot;Boot.old.&quot;
 * 1) Type edit boot.ini, and then press ENTER.
 * 2) Use the arrow keys to move to the end of the ARC path that you want to change under [operating systems].
 * 3) Type /MAXMEM=256.
 * 4) Press ALT+F, and then press S.
 * 5) Press ALT+F, and then press X.
 * 6) Type attrib +a +s +h boot.ini, and then press ENTER.
 * 7) Type exit, and then press ENTER.
 * 8) Restart the computer.

Try to upgrade or install Internet Explorer. If you are unsuccessful, proceed to the following method.

Method 3: Verify the Size and the Location of the Swap File
Verify that the computer contains a swap file, and that it is larger than the RAM that is currently installed on the computer. If possible, move the swap file to a different partition on the computer. To verify the swap file settings, follow the steps in the appropriate section.

Windows Me, Windows 98, and Windows 95

 * 1) Click Start, point to Settings, click Control Panel, and then double-click System.
 * 2) Click the Performance tab, note the value of RAM that is installed on the computer that is listed next to Memory, and then click Virtual Memory.
 * 3) * If Let Windows manage my virtual memory settings (Recommended) is selected, the disk that hosts the Windows folder also contains the swap file and Windows determines the swap file size.
 * 4) * If Let me specify my own virtual memory settings is selected, the Hard disk box displays the swap file disk.
 * 5) Click Let me specify my own virtual memory settings if it is not already selected.
 * 6) In the Hard disk box, select a partition other than the one on which Windows is installed (if there is one available).
 * 7) In the Minimum box, select or type a value that is greater than the RAM that is already installed on the computer.
 * 8) In the Maximum box, type or select a value that is greater than or equal to the value in the Minimum box.
 * 9) Click OK, and then click Yes on the Confirm Virtual Memory Settings message that appears.
 * 10) Click Close, and then click Yes when you are prompted to restart the computer.

Windows 2000 and Windows NT 4.0
<ol> Log on to the computer as an administrator.</li> Click Start, point to Settings, click Control Panel, and then double-click System.</li> Note the RAM value that is displayed under Computer.</li> Click the Advanced tab, and then click Performance Options.

NOTE: In Windows NT 4.0, click the Performance tab.</li> Under Virtual memory, click Change.</li> Under Total paging file size for all drives, note the paging file size that is listed next to Currently allocated.  To change the size of the paging file, follow these steps: <ol style="list-style-type: lower-alpha;"> In the Initial size (MB) box, type a value that is at least 12 MB greater than the RAM that is installed on the computer.</li> In the Maximum size (MB) box, type the maximum size that you want the paging file to grow, and then click Set.</li></ol> </li> To move the paging file to a different partition, follow these steps: <ol style="list-style-type: lower-alpha;"> In the Drive [Volume Label] list, click the partition to which you want to move the paging file.</li> In the Initial size (MB) box, type a value that is at least 12 MB greater than the RAM that is installed on the computer.</li> In the Maximum size (MB) box, type the maximum size that you want the paging file to grow, and then click Set.</li> In the Drive [Volume Label] list, click the partition on which Windows is installed.</li> In the Initial size (MB) box, type 0 .</li> <li>In the Maximum size (MB) box, type 0, and then click Set.</li> <li>On the System Control Panel message that appears, click Yes to confirm the pagefile setting that is less than the RAM that is installed on the computer.</li></ol> </li></ul> </li> <li>Click OK.

If you receive the following message, click OK:

The changes you have made require you to restart your computer before they can take effect.

</li> <li>Click OK twice, and then click Yes to restart the computer.</li></ol>

Try to upgrade or install Internet Explorer. If you are unsuccessful, proceed to the following method.

Method 4: Remove Antivirus Programs

 * 1) Click Start, point to Settings, click Control Panel, and then click Add/Remove Programs.
 * 2) Click the antivirus program, and then click Add/Remove or Remove.
 * 3) Follow the instructions to completely remove the antivirus program, and then restart the computer.

Try to upgrade or install Internet Explorer. If you are unsuccessful, proceed to the following method.

Method 5: Remove Internet Explorer Components
Remove Internet Explorer upgrades and all of the following additional Internet Explorer components:
 * Microsoft Outlook Express
 * Microsoft Netmeeting
 * Microsoft Wallet
 * Microsoft Active Movie
 * Microsoft Netshow
 * Microsoft Chat
 * Internet Mail and News
 * Microsoft VRML Player
 * VDOLive Player
 * Microsoft FrontPage Express
 * Microsoft Internet Explorer Access Kit (IEAK)

To do so, follow these steps: <ol> <li>Click Start, point to Settings, click Control Panel, and then click Add/Remove Programs.</li> <li>Click the Internet Explorer item that you want to remove, and then click Add/Remove or Remove.</li> <li>Follow the instructions to completely remove Internet Explorer and the related components.

NOTE: Do not remove shared files if you are prompted.</li> <li>In Windows NT 4.0, reapply the latest service pack.

For additional information about the latest Windows NT 4.0 service packs, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyID=e396d059-e402-46ef-b095-a74399e25737&DisplayLang=en

</li> <li>Restart the computer.</li></ol>

Try to upgrade or install Internet Explorer. If you are unsuccessful, proceed to the following method.

Step 1: Rename DLL Files
Rename the following dynamic-link library (DLL) files:

Actxprxy.dll

Advpack.dll

Comcat.dll

Inseng.dll

Jobexec.dll

Url.dll

Urlmon.dll

Wininet.dll

Wintrust.dll

To do so, follow the procedure in the appropriate section.

NOTE: Some of these files may not be present on the computer.

Warning: Do not delete the Wintrust.dll file.

Windows Me, Windows 98, and Windows 95 <ol> <li>Start Windows in Safe mode. For additional information about starting Windows in Safe mode, click the following article numbers to view the articles in the Microsoft Knowledge Base:

180902 How to start a Windows 98-based computer in safe mode

122051 How Windows 95 performs a safe-mode start

</li> <li>Start Windows Explorer.</li> <li>On the Tools menu, click Folder Options.</li> <li>Click the View tab.</li> <li>Click Show hidden files and folders, click to clear the Hide file extensions for known file types check box, and then click OK.</li> <li>Browse to the following location, where  is the drive on which Windows is installed:

 :\Windows\System

</li> <li>Right-click a file from the preceding list, and then click Rename.</li> <li>Rename the .dll file name extension to .old, and then press ENTER.</li> <li>Follow steps 7 and 8 to rename each of the DLL files from the preceding list that are present on the computer.</li></ol>

Windows 2000 and Windows NT 4.0 <ol> <li>Start Windows Explorer.</li> <li>Click Folder Options on the Tools menu.

NOTE: In Windows NT 4.0, click Options on the View menu.</li> <li>Click the View tab.</li> <li>Click Show hidden files and folders, click to clear the Hide file extensions for known file types check box, and then click OK.</li> <li>Browse to the following location, where  is the drive on which Windows is installed:

 :\Winnt\System32

</li> <li>Right-click a file from the preceding list, and then click Rename.</li> <li>Rename the .dll file name extension to .old, and then press ENTER.</li> <li>Follow steps 6 and 7 to rename each of the DLL files from the preceding list that are present on the computer.</li></ol>

Step 2: Rename the Setup Log Files
Rename the Active Setup Log.txt and the Internet Explorer Setup Log.txt files if these files are present. To do so, follow the procedure in the appropriate section.

Windows NT 4.0, Windows 98, and Windows 95
 * 1) Click Start, point to Find, and then click Files or Folders.
 * 2) In the Named box, type &quot;Active Setup Log.txt&quot;;&quot; IE Setup Log.txt&quot;.
 * 3) In the Look in list, select My Computer, and then click Find Now.
 * 4) In the list of found items, right-click Active Setup Log.txt, and then click Rename.
 * 5) Rename Active Setup Log.txt to oldsetup log.txt, and then press ENTER.
 * 6) Right-click IE Setup Log.txt, and then click Rename.
 * 7) Rename IE Setup Log.txt to oldIE Setup Log.txt, and then press ENTER.
 * 8) On the File menu, click Close.

Windows 2000 and Windows Me
 * 1) Click Start, point to Search, and then click For Files or Folders.
 * 2) In the Search for files or folders named box, type &quot;Active Setup Log.txt&quot;;&quot; IE Setup Log.txt&quot;.
 * 3) In the Look in list, select My Computer, and then click Search Now.
 * 4) In the Search Results pane, right-click Active Setup Log.txt and then click Rename.
 * 5) Rename Active Setup Log.txt to oldsetup log.txt, and then press ENTER.
 * 6) Right-click IE Setup Log.txt, and then click Rename.
 * 7) Rename IE Setup Log.txt to oldIE Setup Log.txt, and then press ENTER.
 * 8) On the File menu, click Close.

Step 3: Remove the Windows Update Setup Files Folder
If the Windows Update Setup Files folder exists, delete it:
 * 1) Start Windows Explorer, and then expand the folder in which Windows is installed.
 * 2) Right-click Windows Update Setup Files, and then click Delete.
 * 3) On the Confirm Folder Delete message that appears, click Yes.
 * 4) If you are prompted to confirm the removal of files or folders, click Yes to All.

Step 4: Delete Temporary Files
Delete the contents of the Temp folder:
 * 1) In Windows Explorer, browse to the Temp folder.
 * 2) On the Edit menu, click Select All.
 * 3) On the File menu, click Delete.
 * 4) If you are prompted to confirm the file or folder deletions, click Yes.
 * 5) Quit Windows Explorer.
 * 6) Restart the computer.

Step 5: Edit the Windows Registry
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.

<ol> <li>Click Start, and then click Run.</li> <li>In the Open box, type regedit, and then click OK.</li> <li>In Registry Editor, locate and click the following registry subkey:

HKEY_CURRENT_USER\Software\Microsoft\Active Setup

</li> <li>On the Registry menu, click Export Registry File.</li> <li>In the File name box, type active setup, and then click Save.</li> <li>On the Edit menu, click Delete.</li> <li>On the Confirm Key Delete message that appears, click Yes.</li> <li>Follow steps 3 through 7 to export, and then to delete each of the following registry keys: <ul> <li>HKEY_CURRENT_USER\SOFTARE\Microsoft\Internet Explorer</li> <li>HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings</li> <li>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup</li> <li>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer</li> <li>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings</li></ul> </li></ol>

Step 6: Verify the Registry Setting for the Program Files Folder
Verify that the ProgramFilesDir and ProgramFilesPath registry values point to the correct location of the Program Files folder: <ol> <li>In Registry Editor, locate and click the following registry subkey:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion

</li> <li>In the right pane of the Registry Editor window, double-click ProgramFilesDir.</li> <li>If the correct path to the Program Files folder is not displayed in the Value data box, type the correct path to the Program Files folder. For example, type C:\Program Files .</li> <li>Click OK.</li> <li>Double-click ProgramFilesPath.</li> <li>If %Program Files% is not displayed in the Value data box, type %Program Files% .</li> <li>Click OK.</li> <li>Quit Registry Editor.

NOTE: Do not restart the computer at this time.</li></ol>

Step 7: Disconnect Mapped Network Drives
If your computer has drive letters mapped to network shares, disconnect them:
 * 1) On the desktop, double-click My Computer.
 * 2) Right-click the network drive that you want to change (the drive appears as a drive icon with an attached network connection), and then click Disconnect.

Step 8: Replace the Winhlp32.exe File
NOTE: Even though you do not have to perform this step to troubleshoot this issue, if you do so, numerous DLL-related messages do not appear if you try to install or upgrade Internet Explorer.

NOTE: This step is only applicable if you are running Windows 2000 or Windows NT 4.0. <ol> <li>Start Windows Explorer, and then browse to the following location, where  is the drive on which Windows is installed:

 :\Winnt

</li> <li>In the right pane, right-click Winhlp32.exe, and then click Copy.</li> <li>Browse to the following folder:

 :\Winnt\System32

</li> <li>In the right pane, right-click Winhlp32.exe, and then click Rename.</li> <li>Rename Winhlp32.exe to Winhlp32.old, and then press ENTER.

If you are prompted to confirm the changing of the file name extension, click Yes.</li> <li>On the Edit menu, click Paste.</li> <li>Quit Windows Explorer.</li></ol>

Step 9: Install Internet Explorer
Try to upgrade or install Internet Explorer using the following methods in the order that they are presented: <ul> <li>Install Internet Explorer from the following Microsoft Web site:

http://www.microsoft.com/windows/ie

</li> <li>Install Internet Explorer from the Internet Explorer compact disc (CD).</li> <li>Copy the Internet Explorer installation files to the local hard disk, and then run Setup from the local hard disk.</li> <li>Install Internet Explorer to a folder other than the following default installation folders:

 :\Program Files\Plus!\Microsoft Internet

-or-

 :\Program Files\Internet Explorer

</li></ul>

NOTE: If you try to install Internet Explorer, you may receive the following error message:

A previous program installation was never completed.

You need to restart your computer to complete that installation before running Internet Explorer Setup. Setup will now close.

To resolve this issue, follow these steps: <ol> <li>Click Start, and then click Run.</li> <li>In the Open box, type regedit, and then click OK.</li> <li>In Registry Editor, locate and click the following registry subkey:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager

NOTE: In this registry key, Session Manager is two words.</li> <li>In the right pane of the Registry Editor window, right-click PendingFileRenameOperations, and then click Delete.</li> <li>On the Confirm Value Delete message that appears, click Yes.</li> <li>In the left pane of the Registry Editor window, expand the Session Manager subkey.</li> <li>If a FileRenameOperations subkey is listed, click it, and then delete all entries from the FileRenameOperations subkey in the right pane.</li> <li>Quit Registry Editor.</li> <li>Restart Internet Explorer Setup.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
For additional information about paging file size on Windows 2000 domain controllers, click the following article number to view the article in the Microsoft Knowledge Base:

216899 Best practice methods for Windows 2000 domain controller setup

For additional information about how to use the Add or Remove Programs control panel to remove Internet Explorer on Windows 2000, click the following article number to view the article in the Microsoft Knowledge Base:

265829 Add\Remove Programs tool may not work after installing Internet Explorer 5.5 or Internet Explorer 6 on Windows 2000

Keywords: kbupgrade kbenv kbsetup kbprb KB303399

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.