How To Disable Windows Installer Resiliency

已淘汰的 KB 內容免責聲明

本文章所撰寫之相關產品,Microsoft 已不再提供支援。 因此,本文章將以「現狀」提供,並且將不再更新。


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.

文章識別碼:303439 - 最後檢閱時間:2012年7月20日 - 修訂: 1