Microsoft KB Archive/917925

= Error message when you try to install Internet Explorer 7: &quot;Internet Explorer 7 could not be installed&quot; =

Article ID: 917925

Article Last Modified on 10/31/2007

-

APPLIES TO


 * Windows Internet Explorer 7

-



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back up and restore the registry in Windows XP and Windows Vista



Symptoms of the problem
When you try to install Windows Internet Explorer 7, the installation wizard finishes. But after the wizard finishes, you receive the following error message:

Internet Explorer 7 could not be installed. You must restart your system to confirm that any changes to your system are undone.

After you restart, follow the &quot;Internet Explorer Troubleshooting&quot; shortcut on your desktop to get more information.

If the installation wizard never finishes, click the following article number to view the article in the Microsoft Knowledge Base:

926716 The Windows Internet Explorer 7 installation program stops responding when you select the &quot;Install the latest updates for Internet Explorer and the Microsoft Windows Malicious Software Removal Tool (recommended)&quot; check box



Cause of the problem
This problem may occur when either of the following conditions is true:
 * Permissions for one or more registry subkeys or for files on the computer are restricted in a way that prevents the update of those registry subkeys or computer files. A failure to update a registry key or a computer file may cause the Setup program to fail.
 * Something has caused the computer not to trust the Internet Explorer 7 installation package.



Troubleshooting methods to install Internet Explorer 7 successfully
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

The steps outlined in this article involve changing permissions on registry keys to allow for installation of Internet Explorer 7. Although modifying the permissions is required to install Internet Explorer 7, in some cases these permissions can be configured for a specific reason. Make sure that you understand if any such reasons exist and the potential effects of modifying registry permissions before you modify them. In addition, you can modify registry permissions to allow for installation of Internet Explorer 7 and change them back to their original configuration after setup is complete.

Method 1: Disable any antivirus or antispyware programs before you install Internet Explorer 7
If you use any antivirus or antispyware programs, disable them before you install Internet Explorer 7. Then, re-enable them after the installation has finished. For example, to install Internet Explorer 7 on a system that has Webroot SpySweeper installed, you must first disable the IE Hijack shield. For more information about how to disable the IE Hijack shield, visit the following Web site:

http://support.webroot.com/ics/support/default.asp?deptID=776&task=knowledge&questionID=2661

Some antivirus and antispyware programs prevent Internet Explorer 7 from successfully installing, even when the antivirus and antispyware programs are disabled. For more information about these issues, visit the following Microsoft Web page:

http://msdn2.microsoft.com/en-us/ie/aa740486.aspx

Method 2: Reset permissions for any unwriteable registry subkeys
 Determine whether there is a problem that prevents the registry from being updated:  Click Start, click Run, type %windir%\ie7.log, and then click OK to open the ie7.log file.

Note By default, the ie7.log file is located in the C:\Windows folder. Press CTRL+END to move to the end of the ie7.log file. On the Edit menu, click Find. In the Find what box, type IECUSTOM: Key is still unwriteable . Under Direction, click Up, and then click Find Next.

If you find the &quot;Key is still unwriteable&quot; text, this indicates that there is a problem that is preventing the registry from being updated. For example, text that resembles the following in the log file indicates that there is a problem:

time_stamp: IECUSTOM: Key is still unwriteable

In this example,  is the name of the registry subkey that is causing the problem.</li></ol>

If you do not find the &quot;Key is still unwriteable&quot; text in the ie7.log file, go to step 2 for additional troubleshooting steps.</li> Reset the registry permissions for the registry subkey that has the incorrect permissions. To update the permissions of the registry subkey, follow these steps: <ol style="list-style-type: lower-alpha;"> Click Start, click Run, type regedit, and then click OK.</li> Locate and then right-click each registry subkey that you noted in step 1e, and then click Permissions on the Edit menu..

Note The ie7.log file contains the following abbreviations: <ul> HKCR = HKEY_CLASSES_ROOT</li> HKLM = HKEY_LOCAL_MACHINE</li> HKCU = HKEY_CURRENT_USER</li></ul> </li> Under Group or user names, click Administrators.</li> Under Permissions for Administrators, make sure that the Allow check box is selected for the following entries: <ul> Full Control</li> Read</li></ul>

Make sure that the Deny check box is not selected for any users or groups.

For more information about how to modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

310426 How to use the Windows XP and Windows Server 2003 Registry Editor features

</li> Click Apply, and then click OK.</li> On the File menu, click Exit.</li> Try to install Internet Explorer 7 again. You may have to repeat these steps if there are other keys that have permissions that prevent Internet Explorer 7 from installing.</li></ol> </li></ol>

Method 3: Check for any files that cannot be backed up or updated
<ol> Determine whether there is a problem that prevents the files from being backed up or updated. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Click Start, click Run, type %windir%\ie7.log, and then click OK to open the ie7.log file.

Note By default, the ie7.log file is located in the C:\Windows folder.</li> Press CTRL+END to move to the end of the ie7.log file.</li> <li>On the Edit menu, click Find.</li> <li>In the Find what box, type ArchiveFileForUninstall:ArchiveSingleFile Cancelled .</li> <li> Under Direction, click Up, and then click Find Next.

If you find the &quot;ArchiveFileForUninstall:ArchiveSingleFile Cancelled&quot; text, this indicates that there is a problem that is preventing an IE6 file from being saved for uninstall. For example, text that resembles the following in the log file indicates that there is a problem: Time_stamp: ArchiveFileForUninstall:ArchiveSingleFile Cancelled

Time_stamp: DoInstallation:UpdSpCommitFileQueue for AlwaysQueue Failed: 0x4c7 If you do not find the &quot;ArchiveFileForUninstall:ArchiveSingleFile Cancelled&quot; text in the ie7.log file, use Method 4 for additional troubleshooting steps. </li></ol> </li> <li>Reset the permissions for the Vgx.dll file. To set the permissions of the file to the default, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Click Start, click Run, type one of the following commands, and then click OK: <ul> <li>If you are running Microsoft Windows XP, type the following command:

echo y| cacls &quot;%CommonProgramFiles%\Microsoft Shared\VGX\vgx.dll&quot; /P BUILTIN\Users:R &quot;BUILTIN\Power Users:C&quot; BUILTIN\Administrators:F &quot;NT AUTHORITY\SYSTEM:F&quot;

</li> <li>If you are running Microsoft Windows Server 2003, type the following command:

echo y| cacls &quot;%CommonProgramFiles%\Microsoft Shared\VGX\vgx.dll&quot; /P BUILTIN\Users:R &quot;BUILTIN\Power Users:C&quot; BUILTIN\Administrators:F &quot;NT AUTHORITY\SYSTEM:F&quot; &quot;NT AUTHORITY\TERMINAL SERVER USER:C&quot;

</li></ul> </li> <li>Try to install Internet Explorer 7 again. If the problem is not resolved, go to the next workaround method.</li></ol> </li></ol>

Method 4: Reregister Cryptographic Services files
Use this method if you receive an error message about the Cryptographic Services that resembles the following error message:

Setup could not verify the integrity of the file Update.inf. Make sure the Cryptographic service is running on this computer

For more information about what to do if you receive this error message, click the following article number to view the article in the Microsoft Knowledge Base:

822798 You cannot install some updates or programs

If the problem still occurs after you follow the steps in Microsoft Knowledge Base article 822798, your installation package may be corrupted. To correct this problem and download Internet Explorer 7 again, visit the following Microsoft Web site:

http://go.microsoft.com/fwlink/?LinkID=72018

<div class="moreinformation_section">

MORE INFORMATION
If no methods in this article have solved your problem, visit the following Internet Explorer 7 Support Web page:

http://www.microsoft.com/windows/ie/support/default.mspx

You can find additional information, bug reporting methods, and free telephone support for Internet Explorer 7 by visiting this Support Web page.

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Additional query words: IE7 IE 7

Keywords: kbtshoot kbprb kbceip KB917925

-

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

© Microsoft Corporation. All rights reserved.