How can I correct problems with Windows Installer itself?

How can I correct problems with Windows Installer itself?

1 Comment   [ + ] Show comment
  • I am unable to uninstall skype from my pc - spshiva38 5 years ago

Answers (1)

Posted by: bkelly 16 years ago
Red Belt
When registration of the engine is corrupted, all attempts to run .msi packages fail.
To correct the registration of the Windows Installer, unregister and then register the Installer service using the command line switches shown below. This shuts down and reregisters the service, which assures that the Windows Installer engine should function properly. Enter the following commands from a command prompt:
msiexec /unregister
msiexec /regserver
If this fails to resolve your problem try performing the following steps:
1) Unregister Windows Installer:
msiexec /unregister
2) Rename the following files from the command prompt: Msi.dll, Msiexec.exe, and Msihnd.dll (by changing the names to msi.dll.bak, msiexec.exe.bak and msind.dll.bak respectively.)
3) Restart Windows.
4) Install the Windows Installer service again (InstMSI.exe). Don't have this? Check here.
Note: when attempting to delete/rename the MSI files Windows File Protection may keep you from being able to do so. One visitor suggests starting Windows in safe mode with a command prompt to deal to the 3 msi files.

  • msiexec /unregister msiexec /regserver - mubasha139 7 years ago
  • thank you, the instruction s that you gave solved the issue - zephyrsoft 7 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ