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 9 years ago
Answers (1)
Please log in to answer
Posted by:
bkelly
20 years ago
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.
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.
Comments:
-
msiexec /unregister msiexec /regserver - mubasha139 11 years ago
-
thank you, the instruction s that you gave solved the issue - zephyrsoft 11 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.