User Rights Deployment Component Function and File List (265048)



The information in this article 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:
  1. 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.
  2. User Rights Deployment checks the environment variable to determine the operating system version.
  3. 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.
  4. 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.
  5. User Rights Deployment writes the IE55UserRightsDeployment.txt file to the Windows folder.

File Functions

Ie5msi.exe

  1. 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

    • 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.
  2. 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

    • If Ie5.msi advertises correctly, Ie5msi.exe sets the following registry key to 0:

      HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\URDReturnCode

  3. 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

  4. The file moves the following branch from:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx

    to

    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceTemp

  5. 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

  6. 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.
  7. The command line /3 deletes the following key:

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

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

  1. This file moves following registry branch:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceTemp

    to

    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx

  2. 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}


Modification Type:MinorLast Reviewed:1/18/2006
Keywords:kbenv kbfile kbinfo KB265048