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 2

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.

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