Solution to failure to access the Windows Installer Service

Source: Internet
Author: User

Solution to failure to access the Windows Installer Service

Windows Installer, which is rarely heard and exposed by users, is used when we install software. If a problem occurs in Windows Installer, then we cannot install software in Windows XP.

"The Windows Installer Service cocould not be accessed" error message is displayed when you install a program in Windows XP.

To solve this problem, follow these steps:

Method 1:

Uninstall and reinstall the Windows Installer Service

1. Use the doscommand window msiexec/unregserver to stop the Windows Installer Service.

2. Download instmsiw.exe and decompress it with WinRAR. Enter the directory.

3. Right-click MSI. inf, click Install, right-click mspatcha. inf, and click Install.

Use the doscommand window msiexec.exe/regserver to enable the Service.

Method 2:

1. If you have installed acdsee5.0 (including the mini Chinese Version), uninstall it. If not, reinstall windows.

Installer or ACDSee 4.0

2. Run CMD and then run SFC/scannow to check system files.

3. Run services. msc, set the Windows Installer Service to run manually, and then run it again.

4.open the task manager, find and reinstall the ikernel.exe Process

5. disable anti-virus software real-time protection

6. Delete C:/program files/common files/InstallShield/engine/6/Intel 32.

All files in the folder, restart the computer, and re-run the installation program.

Method 3:

This is because Windows Installer cannot work properly due to software production problems.

The recovery procedure is as follows:

1. reinstall windows installer2.to run instmsiw.exe

If you say "the service has been installed" and then directly exit the installation, you will be followed, otherwise you will be able to reinstall it!

2. Delete [HKEY_LOCAL_MACHINE/system/CurrentControlSet/services/msiserver] in the registry.

Then run instmsiw.exe.

3. tips:

(1) Delete the msiserver Service

Run regedit to delete the following msiserver Service

[HKEY_LOCAL_MACHINE/system/CurrentControlSet/services/msiserver]

Save the following content as the unmsiserver. reg file, double-click it, and merge it into the registry.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;

; Unmsiserver. Reg

Windows Registry Editor Version 5.00

[-HKEY_LOCAL_MACHINE/system/CurrentControlSet/services/msiserver]

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;

(2) Delete An MSI file

Use the following script to save it as an unmsi. INF file, right-click Install On the INF file, and some MSI dll will be deleted. In this case, the SFC mechanism of windows may warn that some system files need to be inserted into the Win2k CD, ignore it. This script was modified from instmsiw.exe.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;

; Unmsi. inf

;;;;;;;;;;;;;;;;;

[Version]

Signature = "$ Windows NT $"

Class = % exceptionclassdesc %

Classguid = {F5776D81-AE53-4935-8E84-B0B283D8BCEF}

Provider = % Microsoft %

Catalogfile = MSI. Cat

Componentid = {2e742517-5d48-4dbd-bf93-48fdcf36e634}; guid assigned to the Windows Installer

Driverver = 03-13-2001, 2.0.2460.1

[Sourcedisksnames]

1 = % msi_media %

[Sourcedisksfiles]

MSI. dll = 1

Msihnd. dll = 1

Msimsg. dll = 1

Msiexec.exe = 1

Msisip. dll = 1

[Destinationdirs]

MSI. systemfiles = 11; % WINDIR %/system32

MSI. dllcachefiles = 11, dllcache; % WINDIR %/system32/dllcache

[Defainstall install]

Delfiles = MSI. systemfiles, msi. dllcachefiles

;

; Copyflg_replace_boot_file flag (0x1000) not necessary

; Files in the dllcache

;

[MSI. dllcachefiles]

MSI. dll

Msihnd. dll

Msimsg. dll

Msiexec.exe

Msisip. dll

[MSI. systemfiles]

MSI. dll

Msihnd. dll

Msimsg. dll

Msiexec.exe

Msisip. dll

[Strings]

Microsoft = "Microsoft Corporation"

Msi_media = "Microsoft Windows Installer distribution media"

Exceptionclassdesc = "Microsoft Windows Installer"

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(3) restart and press F8 to enter the safe mode with command line. Execute the following command

Regsvr32/U % WINDIR %/MSI. dll

Del % WINDIR %/MSI. dll

(4) restart, run instmsiw.exe, and install Windows Installer. Everything is normal.

Log on to the computer as an administrator.

Click Start, and then click Run ".

In the open box, type cmd and click OK ".

At the command prompt, type msiexec.exe/unregister, and then press Enter.

Type msiexec/regserver, and then press Enter.

Verify that the system account has full access permissions to the hkey_classes_root Configuration unit in the Windows registry. In some cases, you may also need to add an administrator account. To do this, follow these steps: warning if you mistakenly modify the registry using the Registry Editor or other methods, it may cause serious problems. These problems may need to be solved by re-installing the operating system. Microsoft cannot guarantee that you can resolve these problems. You are at your own risk to modify the registry.

Click Start, click Run, type Regedit in the open box, and click OK ".

Click the following registry Configuration unit:

Hkey_classes_root

On the "edit" menu, click "Permissions ".

If "system" is not listed in the "Group or user name" list, click "add" to make sure that the local computer name appears in the "Find location" box, in the input object name to select box, type system, click check name, and then click OK ".

In the "Group or user name" list, click "system" and select the "full control" check box under "allow" in the "system permissions" box.

Click "application", and then click "OK" to exit the Registry Editor.

Restart the computer.

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.