General discussion

Locked

Windows Installer

By Michael34 ·
Hello,
I am having a major issue with a server we have. Currently we are running NT 4 Server and for no reason everytime we try to install something we get:

"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 personnell for assistance:

How can we fix this issue without upgrading or reloading?

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by sgt_shultz In reply to Windows Installer

here you go:
<snipped> from support.microsoft.com mskb article 315346
"Error 1719. The Windows Installer Service Could Not Be Accessed" Error Message When You Try to Add or Remove a Program
View products that this article applies to.
This article was previously published under Q315346
Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry

SYMPTOMS
When you try to add or remove a program, you may receive the following error message:

Error 1719. The Windows Installer Service could not be accessed. You may be running in safe mode or Windows Installer may not be correctly installed.
CAUSE
This behavior may occur if the following conditions are true:
The Windows Installer files that are on your hard disk are damaged or are missing.

-and-
You install or remove a program that uses the Windows Installer Microsoft Software Installation (MSI) package file (.msi). For example, this may occur when you try to install Microsoft Office on your computer.
RESOLUTION
To resolve this behavior, use the following methods.
Method 1: Re-Register the Windows Installer
To re-register the Windows Installer, verify the location of the Msiexec.exe file on your hard disk and in the Windows Registry, and then re-register the Windows Installer. To do so:

Collapse -

by sgt_shultz In reply to

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

Note Because there are several versions of Microsoft Windows, the following steps may be different on your computer. If they are, see your product documentation to complete these steps.
Verify the location of the Msiexec.exe file on your hard disk. To do so:
Click Start, and then click Search.
Click All files and folders.
In the File name box, type msiexec.exe, and then click Search.
In the search results, make a note of the location of the Msiexec.exe file.

The location of the Msiexec.exe file should be similar to the following example, where Drive is the drive where Windows is installed, and %Windir% is the folder where Windows is installed:
Drive:\%Windir%\System32

An example of this is C:\Windows\System32.
On the File menu, click Close.
Verify the location of the Msiexec.exe file in the Windows Registry. To do so:
Click Start, and then click Run.
In the Open box, type regedit, and then click OK.
Locate, and then click the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer

In the right pane, double-click ImagePath.
In the Edit String dialog box, make sure that the string in the Value data box contains the correct path of the Msiexec.exe file on your hard disk that you determined earlier in step 1.

For example, if the Msiexec.exe file is located in the Drive:\Windows\System32 folder on your hard disk, the correct path of the Msiexec.exe file in the Value data box is the following, where Drive is the drive where Windows is installed:
Drive:\Windows\System32\Msiexec.exe /V


If the Value data box does not contain the correct path, make the appropriate changes to correct the path, and then click OK.

Collapse -

by sgt_shultz In reply to

Start your computer in safe mode, and then register the Msiexec.exe file. To do so:
Shut down, and then restart your computer.
Press F8 after you receive the following message:

Please select the operating system to start
On the Windows Advanced Option menu, use the arrow keys to select Safe Mode, and then press ENTER.
If you use a dual-boot or multiple-boot computer, select the appropriate operating system from the list that is displayed, and then press ENTER.
Log on to the computer.
Click Start, and then click Run.
In the Open box, type the following line, and then click OK:
msiexec /regserver
Shut down, and then restart your computer in standard mode.
If the issue persists and you still receive the error message that is described earlier in the "Symptoms" section, follow the steps in Method 2.
Method 2: Reinstall the Windows Installer
To reinstall the Windows Installer, rename the damaged Windows Installer files, and then reinstall the Windows Installer. To do so:
Click Start, and then click Run.
In the Open box, type cmd, and then click OK.
At the command prompt, type the following line, and then press ENTER, where Drive is the drive where Windows is installed and where %Windir% is the folder where Windows is installed:
attrib -r -s -h drive:\%Windir%\system32\dllcache

For example, type
attrib -r -s -h c:\windows\\system32\dllcache

At the command prompt, type the following lines, pressing ENTER after each line:
ren msi.dll msi.old
ren msiexec.exe msiexec.old
ren msihnd.dll msihnd.old

At the command prompt, type exit, and then press ENTER.
Restart your computer.
Update the Windows Installer files on your hard disk to the latest version. Windows Installer 2.0 is available for download from the Microsoft Download Center:

Important: Windows Installer 2.0 is included with Windows. You do not have to perform this step if you use Windows XP.
For Windows Millennium Edition, Windows 98 Second Edition (SE), and Windows 98:
h

Collapse -

by sgt_shultz In reply to

(oops)
Update the Windows Installer files on your hard disk to the latest version. Windows Installer 2.0 is available for download from the Microsoft Download Center:

Important: Windows Installer 2.0 is included with Windows. You do not have to perform this step if you use Windows XP.

For Windows 2000 and Windows NT 4.0:
http://www.microsoft.com/downloads/release.asp?releaseid=32832&NewList=1

For additional information about how to obtain the Windows Installer engine, click the following article number to view the article in the Microsoft Knowledge Base:
292539 INFO: MSI: How to Obtain the Windows Installer Engine

Collapse -

by jlferg_nh In reply to Windows Installer

We have had this happen on a number of systems and the best way we have found to fix it is to do the following:

Open a command prompt
Type msiexec.exe /unregister and press enter
Type msiexec /register and press enter
Try installing the app again

It is suggested that you reboot after doing this, but we have found that it is not really required.

Back to Windows Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums