Home » Windows Installer Engine Troubleshooting

Google
 

Windows Installer Engine Troubleshooting

Q260404 HOWTO: Troubleshoot Windows Installer Engine Problems

http://support.microsoft.com/?scid=kb;en-us;Q260404

1. From a command line, run the following command:

“msiexec /unregister” (without the quotation marks)

If unregister procedure fails, see the procedure that follows this one.

[Command:

msiexec /unregister

msiexec /regserver ]

2. Delete the Msi.dll, Msiexec.exe, and Msihnd.dll files from the system

directory. You must rename these files from the command prompt.

3. Restart Windows.

If unregister fails:

1. Boot the computer to safe mode with command prompt and delete the following files.

/<system root>/system32/msi.dll

/<system root>/system32/msiexec.exe

/<system root>/system32/msihnd.dll

/<system root>/system32/dllcache/msi.dll

/<system root>/system32/dllcache/msiexec.exe

/<system root>/system32/dllcache/msihnd.dll

2. Restart the computer and run the Instmsi.exe program.

If problems persist:

1. Select Start/Run.

2. Type DCOMCNFG.

3. Select the Default Properties tab.

- Confirm the settings enabled.

- “Default Authentication Level” should be “Connect”.

- “Default Impersonation Level” should be “Identify”.

4. Select the Default Security tab.

- Select the “Default Access Permissions” “Edit Default” button.

(1) Ensure the “Registry Value Permissions” list is either empty (with NO accounts defined), or, if accounts are defined, the System account MUST be included.

(2) If the list is empty or unchanged, select “Cancel”.

(3) If the list is populated to include the System account, select “O.K.”

- Select the “Default Launch Permissions” “Edit Default” button. And ensure the “Registry Value Permissions” list contains a minimum of the following: \\<ServerName>\Administrators, Interactive, System.

- Select the “Default Configuration Permissions” “Edit Default” button. And ensure the “Registry Value Permissions” list contains a minimum of the following: \\<ServerName>\Administrators

\\<ServerName>\Power Users

\\<ServerName>\Users

Creator Owner

Everyone

System

Windows Installer Info

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/about_windows_installer.asp

Error Logging

Q229683 OFF2000: List of Error Codes and Error Messages for Windows Inst

VERBOSE LOGGING: Complete Verbose Logging

w2k/ xp:

<path>\setup.exe /L*v c:\msilog.txt

Windows Installer Verbose Logging

——————————–

For detailed Windows Installer logging information, set the following values in

the registry:

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]

“Debug”=dword:00000003

“Logging”=”voicewarmup”

1. For deployment-related actions such as the advertisement of user assigned

applications, Windows Installer runs in the system context.

The logs are created in the system temporary folder: %windir%\temp\MSI*.log.

2. For user initiated actions, such as installation of applications from

Add/Remove Programs, the logs are in the

user’s temporary folder: %temp%\MSI*.log.

These verbose logs contain detailed information about every action taken by Windows

Installer when attempting to install a package.

WILogUtil for checking the error in MSIXX.log

where is the log : \winnt\temp if application is assigned to computer

%temp% user’s temp directory on w2k prof. computer

\doc & settingsg\username\local settings\temp

e.g. C:\Documents and Settings\Administrator\Local Settings\Temp

How to use WIlogUtil.exe

1. Launch WIlogoutil

2. Opem MSIXXXX.log file

3. Click on analyse : Look for the errors.

What does error code mean: Click on ERROR HELP

Registry:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer]

“Description”=”Installs, repairs and removes software according to instructions contained in .MSI files.”

“Type”=dword:00000120

“Start”=dword:00000003

“ErrorControl”=dword:00000001

ImagePath= C:\WINDOWS\System32\msiexec.exe /V

HKEY_CLASSES_ROOT\CLSID\{000C1090-0000-0000-C000-000000000046}

HKEY_CLASSES_ROOT\CLSID\{000C101D-0000-0000-C000-000000000046}\DllVersion.

HKEY_CLASSES_ROOT\CLSID\{000C101D-0000-0000-C000-000000000046}\ProgId

HKEY_CLASSES_ROOT\CLSID\{000C103E-0000-0000-C000-000000000046}\InProcServer32

Useful commands

Msiexec /I \\server\shared\name.msi [install]

Msiexec /x ——–do—————- [uninstall]

Msiexec /fpecms ——–do—————- [repair]

Msiexec /L ——–do—————- /l*v c:\log.txt

Leave a Reply

Links: More at WindowsWideOpen.com

powered by FreeFind