If you install any software, you are prompted that you cannot access the Windows Installer Service.

Source: Internet
Author: User
Tags reinstall windows installer
When installing the software, the following message is displayed: you cannot access the Windows Installer Service. It may be that you have not correctly installed Windows or Windows Installer in safe mode. Contact your support staff for help. As a result, no software can be installed or uninstalled.

In my [SERVICE] project, the Windows Installer Service is started manually. After you click the [start] button, it pops up again: "Windows Installer Service cannot be started on the local computer. Error 997: overlapping I/O operations in progress.

Figure 1

Figure 2

1. Introduction to Microsoft Windows Installer components:
Microsoft Windows InstallerWin2k/WINXP is a tool used to manage and configure software services. Available as an additional product under Win95, Win98, winme, and winnt4, 0, allowing users to effectively install and configure software products and applicationsProgram. The new installer provides new features for software products, such as the use of command lines to install the product and increase user customization.
Windows Installer software installation technology. This technology includes a 32-bit Windows Installer server and a new package file format for storing configuration and installation information.
Windows Installer is not only an installer, but also an extensible software management system. Windows Installer manages software installation, adds and deletes software components, monitors file recovery, and maintains basic disaster recovery through rollback.
In addition, Windows Installer supports installing and running software from multiple sources, which can be customized by developers who want to install custom programs.

Ii. Functions of Windows Installer include:
• Restore the computer to its original state upon installation failure: Windows Installer tracks all changes made to the system during program installation. If the installation fails, the installer can restore the system to its initial state. This is called "rollback ".
• Helps prevent conflicts between programs in specific forms: programs being installed or uninstalled may cause problems with another program installed on the computer, or even cause the computer to stop responding (suspended ). The installer can enforce some installation rules to prevent installation operations from updating the dynamic link library (DLL) files shared by existing programs, or a conflict occurs when the uninstallation operation deletes the DLL files shared by another program.
• Diagnose and repair corrupted programs: the program can require the installer to determine whether the installed program lacks files or whether the files are damaged. Then, it can require the service to copy the lost or damaged files again as needed to repair the program.
• Reliable uninstallation of existing programs: installer can reliably Uninstall any previously installed programs and delete all associated registry entries and program files, except for files and registry entries shared by other installed software.
• Supports on-demand installation of Programs: It can indicate the minimum subset of programs installed by the installer first. Then, when you use the feature that requires additional components for the first time, the additional components are automatically installed.
• Supports unattended program installation: installer supports script installation Based on administrator instructions.
The Windows Installer technology is divided into the following two parts, which work together: the Client installation service (msiexec.exe) and Microsoft software installation (MSI) package files. Windows Installer uses the information contained in the package file to install the program.
The msiexec.exe program is a component of Windows installer. When the installer calls msiexec.exe, it uses MSI. DLL to read the package (. MSI) file, apply any conversion (. MST) file, and merge the command line options provided by the installer. The installer executes all installation-related tasks, including copying files to the hard disk, modifying the registry, creating shortcuts on the desktop, and displaying a dialog box when necessary to prompt users to enter installation preferences.
After Windows Installer is installed on a computer, it changes the file type of the registered. MSI file so that when you double-click the. MSI file, msiexec.exe is run.
Each MSI package file contains a relational database that stores the commands and data required to install or uninstall the program in various Installation Schemes.

Iii. Windows Installer error Solution
Windows Installer (Windows Installation Service) is a common software release method. Currently, many software programs use Windows Installer as their own installation programs. Sometimes, due to various reasons and defects of Windows Installer, windows Installer errors may occur.

Symptom 1: After a program is deleted, a window "Windows Installer is being configured in windows, please wait" will always pop up when some software is running.
Solution:
1. reinstall Windows Installer. the root directory of the Office XP installation disk contains two files named instmsi.exeand instmsi1_exe. instmsi.exe is used for Win9x/me, and instmsiw.exe is used for Win2000/XP;
2. Enable Group Policy → Computer Configuration → manage template → Windows Components → Windows Installer → Disable Windows Installer. In this way, many software can be installed. This method is used for Win2000/XP.
3. Please refer to the "end-to-end solutions" at the end of this article"

Symptom 2: When installing the software in Win2000/XP, the system prompts "unable to access the Windows Installer. In the service, the Windows Installer status is stopped and cannot be started"
Solution:
1. Enter misiexec/regserver at the command prompt.
2. Start Windows Installer in "Administrative Tools"> "services"

Symptom 3: "Windows Installer Service cannot be accessed..." is prompted when Win2000/XP is installed ......"
Solution:
1. Check whether the current user has administrator permissions;
2. Stop the ikernel process, and install it after EXE;
3. Delete all files under the system installation directory Program Files \ common files \ InstallShield \ engine and then install it.
4. First, Run "msiexec/unregserver" to stop the Windows Installer Service;
Install instmsiw.exe (Office XP installation disk under the root directory, you can also download from the Internet, address: http://download.microsoft.com/download/WinfowsInstaller/Install/2.0/NT45/EN-US/InstMsiW.exe), decompress with WinRAR to the Set Directory; enter the directory, right click MSI. select "Install" from INF and right-click mspatcha. INF, select installation;
Finally, Run "msiexec/regserver" to enable the Service.

Symptom 4: when installing the software, the system administrator is prompted to set a system policy to prohibit this installation"
Solution:
1. Try to solve problem 3;
2. Enable Group Policy → user configuration → manage template → Windows Components → install services in Windows → disable media Installation ", set "always install with high privileges" to "enable"

Iv. final solutions to the above problems:
Download and install the Windows Installer cleanup utility 1.0 provided by Microsoft. Its main function is to clear the Windows Installer configuration information of the program. Start the tool to list all installed software used by Windows Installer in the current system. Select the software that has a problem and click "Remove.
Windows Installer cleanup utility 1.0: http://www.onlinedown.net/soft/27518.htm

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.