Microsoft KB Archive/265048

= User Rights Deployment Component Function and File List =

Article ID: 265048

Article Last Modified on 1/18/2006

-

APPLIES TO


 * Microsoft Internet Explorer Administration Kit 5.5

-



This article was previously published under Q265048



SUMMARY
This article describes the files and functions of the User Rights Deployment components in Internet Explorer Administration Kit (IEAK) version 5.5.



MORE INFORMATION
The following files are included in the User Rights Deployment function:
 * Ie5msi.exe
 * Ie5.msi
 * Instmsi.exe (for Microsoft Windows 95 or Microsoft Windows 98)
 * Instmsiw.exe (for Microsoft Windows NT)

The User Rights Deployment Feature Procedure
When you start User Rights Deployment, it performs the following procedures:  User Rights Deployment checks the following registry key to verify that Microsoft Internet Explorer 5.5 is installed:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Version

If Internet Explorer 5.5 is not installed, it writes the .mif file, and then quits. If Internet Explorer 5.5 is installed it goes to the next step. User Rights Deployment checks the environment variable to determine the operating system version. The operating system determines the next step:  For Windows 95 or Windows 98, User Rights Deployment first writes the following registry location:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce

This registry key has the following value:

%SYSTEM%/IE5MSI.EXE /3

Then, User Rights Deployment saves a copy of Ie5msi.exe to the Windows\System folder, and then quits. For Windows NT, User Rights Deployment saves copies of Ie5msi.exe and Ie5.msi to the Windows\System folder, and then runs Ie5msi.exe. User Rights Deployment checks the return code from Ie5msi.exe in following registry location:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\URDReturnCode

Even if the returned code is unsuccessful, User Rights Deployment writes the .mif file, and then quits.  User Rights Deployment checks the Windows\System folder for Msi.dll. If Msi.dll does not exist, Instmsi.exe is run for Windows 95 or Windows 98, or Instmsiw.exe is run for Windows NT. This file installs Windows Installer binaries, and then checks for Msi.dll again. If Msi.dll does not exist, User Rights Deployment writes the .mif file and quits; if Msi.dll is found, User Rights Deployment proceeds to the next step.</li> User Rights Deployment writes the IE55UserRightsDeployment.txt file to the Windows folder.</li></ol>

Ie5msi.exe
<ol> The file either writes a registry key, or checks if the Ie5.msi file is already installed or advertised:  In Windows 95 or Windows 98, the file writes the %SYSTEM%/IE5MSI.EXE /3 value to the following registry key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce

</li> In Windows NT, the file checks if the Ie5.msi file is already installed or advertised. If the Ie5.msi file is installed or advertised, it uninstalls or unadvertises the Ie5.msi file.</li></ul> </li> The file advertises Ie5.msi:  If the Ie5.msi file does not advertise correctly, Ie5msi.exe sets the following registry key to 1:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\URDReturnCode

It also sets the value of the following registry key to %SYSTEM%/IE5MSI.EXE /3:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce

</li> If Ie5.msi advertises correctly, Ie5msi.exe sets the following registry key to 0:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\URDReturnCode

</li></ul> </li> The file then moves the following branch from:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce

to

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx branch

</li> The file moves the following branch from:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx

to

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceTemp

</li> If the registry branch is not successfully moved, the file writes the rundll32.exe iernonce.dll,RunOnceExProcess value to the following registry key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce

However, if the registry branch is successfully moved, the file writes the %SYSTEM%/IE5MSI.EXE /2 value to the following registry key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce

</li> The command line /2 runs msiexec.exe /q Ie5.msi /l ieca.txt. This command starts Ie5.msi and creates the log file in the %temp% folder.</li> The command line /3 deletes the following key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Active Setup\Installed Components\{71F159B0-139A-4555-BE78-D728734BB5D4}

</li></ol>

Ie5.msi

 * 1) First, the file installs the .msi file, and then calls in to the custom action which, in this case, is to start Ieca.dll.
 * 2) After the custom action process is returned, the file removes and unadvertises the .msi file.

Ieca.dll
<ol> This file moves following registry branch:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceTemp

to

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx

</li> <li>If this procedure is successful, the file runs rundll32.exe iernonce.dll,RunOnceExProcess, and then deletes the following registry key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Active Setup\Installed Components\{71F159B0-139A-4555-BE78-D728734BB5D4}

</li></ol>

Additional query words: ie5msi exe ie5 msi instmsi instmsiw dll IE55UserRightsDeployment txt iernonce.dll rundll32.exe urd

Keywords: kbinfo kbenv kbfile KB265048

-

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

© Microsoft Corporation. All rights reserved.