Aaron Stebner's WebLog

Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio

Repairing the Windows Installer service on a 64-bit OS

Repairing the Windows Installer service on a 64-bit OS

  • Comments 49

A customer recently contacted me due to a problem they were experiencing while trying to install the .NET Framework 2.0 on the x64 version of Windows Server 2003.  I took a look at the verbose log file for this scenario and saw the following error:

Action start 9:16:59: CA_InstallAssembly.3643236F_FC70_11D3_A536_0090278A1BB8.
MSI (s) (B0:F8) [09:17:03:906]: Product: Microsoft .NET Framework 2.0 (x64) -- Error 1719.The Windows Installer Service could not be accessed. This can occur if you are running Windows in safe mode, or if the Windows Installer is not correctly installed. Contact your support personnel for assistance.

Usually when I see error 1719, I recommend that the user try to repair the Windows Installer service.  However, in this case, that didn't seem to help, and I had to refer this customer to the Microsoft technical support team for further assistance.

Our technical support team looked at this scenario in more detail and found that there was an additional set of steps needed to repair the Windows Installer service on a 64-bit OS.

Here is a complete set of steps that should allow you to repair the Windows Installer service on a 64-bit OS:

  1. Click on the Start menu, choose Run, type cmd and click OK
  2. Run %windir%\system32\msiexec.exe /unregister
  3. Run %windir%\syswow64\msiexec.exe /unregister
  4. Run %windir%\system32\msiexec.exe /regserver
  5. Run %windir%\syswow64\msiexec.exe /regserver
  6. Restart the computer

After executing all of the above steps, you can try to re-run the failing setup and hopefully get better results.

Note that this workaround is documented in this knowledge base article, but the extra steps that are needed on 64-bit operating systems are somewhat buried in the middle of that article and can be easy to miss.

 

  • here is the solution when everying else fails:

    I suddenly became unable to install some applications. Whenever I would try,

    I would get the following:

    "Error 1719. The Windows Installer Service could not be accessed. This can

    occur if you are running Windows in safe mode, or if the Windows Installer is

    not correctly installed. ..."

    The solutions I found in the MS KB were not effective for me.

    solution

    The paths I use assume that Windows is installed in the C:\WINDOWS folder. Change the

    path to match your installation if necessary.

    In Registry Editor, navigate to:

    HKLM\System\CurrentControlSet\Services\MSIServer

    then change the DisplayName value to:

    C:\WINDOWS\SysWOW64\msiexec.exe /V

    Close registry editor, then register the installer by opening a command

    prompt and running:

    C:\WINDOWS\SysWOW64\msiexec.exe /regserver

  • THANK YOU.

    I struggled for hours trying to get this repaired - all I could find was the re-registering of the System32 versions and not the sysWOW64 versions. This fixed ALL my installation issues.

    THANK YOU.

  • This also fixed my issue, on Win7 64 bit.  After cleaning up a bad SQL Server 2005 install & registry editing, the Windows Installer service was hosed.  I tried everything else... The secret was, as the other commenter observed:

    In Registry Editor, navigate to:

    HKLM\System\CurrentControlSet\Services\MSIServer

    then change the DisplayName value to:

    C:\WINDOWS\SysWOW64\msiexec.exe /V

    Close registry editor, then register the installer by opening a command

    prompt and running:

    C:\WINDOWS\SysWOW64\msiexec.exe /regserver

    After I rebooted, everything worked again!  (It didn't work before reboot)

  • Excellent work Aaron!

    Successfully installed SQL Server 2005 on Windows 7 64bit without a hitch.

  • In Registry Editor, navigate to:

    HKLM\System\CurrentControlSet\Services\MSIServer

    then change the ImagePath value to: (Do not change the DisplayName value ^^)

    C:\WINDOWS\SysWOW64\msiexec.exe /V

  • Thanks......this is the only solution which worked....

  • when i am installing ms office i will get this below message please give some solution for this ......

    "error 1719. this windows installer service could not be accessed. this can occur if the windows installer is not correctly installed.

    contact your support personnel for assistance."

  • Hi Nicholas - What version of Windows are you running when you see this error?  If it is Windows Vista or newer, then I'd suggest trying the steps in the Knowledge Base article at support.microsoft.com/.../2642495 and the blog post at blogs.msdn.com/.../10165211.aspx.

  • FINALLY a solution that works on Windows 7 64-bit!! I thank you VERY much.

  • THANK YOU!

  • how do I get to the registry editor? Where do I find it?

  • Hi Sue - You can run regedit.exe to launch the registry editor.

  • Finally your solution worked Thanks

  • Thank you all,Worked for me As below

    Windows key and R , in the opened Run window type regedit

    In Registry Editor, navigate to:

    HKLM\System\CurrentControlSet\Services\MSIServer

    then change the ImagePath value value to:

    C:\WINDOWS\SysWOW64\msiexec.exe /V

    Close registry editor,

    Press windows key and type cmd  in search. when cmd opens copy the below  location

    C:\WINDOWS\SysWOW64\msiexec.exe /regserver

    Press enter  and Reboot

    After I rebooted, everything worked again!  (It didn't work before reboot)

  • I followed Aaron Stebner's instructions to a T, and it worked. After trying to re-install my Windows Installer for 3 years, IT WORKED! Thank you, Aaron.

Page 1 of 4 (49 items) 1234
Leave a Comment
  • Please add 4 and 2 and type the answer here:
  • Post