How can I correct problems with Windows Installer itself?

1 Comment   [ + ] Show Comment


  • I am unable to uninstall skype from my pc
Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


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.
Answered 03/23/2004 by: bkelly
Red Belt

  • msiexec /unregister msiexec /regserver
  • thank you, the instruction s that you gave solved the issue
Please log in to comment
Answer this question or Comment on this question for clarity