How To Disable Windows Installer Resiliency

Exonerare de răspundere pentru conținutul retras din baza de cunoștințe

Acest articol a fost scris despre produsele pentru care Microsoft nu mai oferă asistență. Prin urmare, acest articol este oferit „ca atare” și nu mai va fi actualizat.


The "resiliency" feature of Windows Installer may pose a problem if you are performing a repair over a slow link or if the original media source is not present. There is no way to disable only the resiliency feature, but you can instead disable the Windows Installer service. This article describes how to disable Windows Installer.

More Information

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows

Resiliency is the ability of an application to recover itself from a damaged state. The state may have been caused by a missing or incompatible file or registry key. Although Microsoft does not generally recommend disabling the Windows Installer, there may be situations in which it is advantageous to do so.

One way of disabling the Installer is to use the DisableMSI (Type REG_DWORD) policy. This policy will disable the Windows Installer, thereby stopping resiliency. The policy is set through the registry key

If the value of this per-computer system policy is set to "2", the Windows Installer is always disabled for all applications.

If this policy value is set to "0" or any other number other than "1" or "2" or is absent, the Installer is always enabled.

If this policy value is set to "1", the Installer is disabled for nonmanaged applications but is enabled for managed applications. This setting does allow an application to be advertised to all users of a computer but does not allow an application to be advertised to the current user.

NOTE: While this policy is set to "2" you will not be able to perform an installation or use any function of the Windows Installer.

ID articol: 303439 - Ultima examinare: 20 iul. 2012 - Revizie: 1