JSI Tip 5703. How do I manage Windows Installer local policies by using the registry?

Jerold Schulman

September 8, 2002

1 Min Read
ITPro Today logo in a gray background | ITPro Today

You can manage Windows Installer behavior by using Group Policy and Active Directory.

Alternately, you can manage some user and/or computer Windows Installer local policies by using the registry.

You can manage the following user policies at HKEY_CURRENT_USERSoftwarePoliciesMicrosoftWindowsInstaller

  Value Name  

  Data Type  

  Data Value Description  

AlwaysInstallElevated

REG_DWORD

  See tip 3292 Allow users to always install with System privileges.  

SearchOrder

REG_SZ

  The search order for the 3 source types (network, media (CD-ROM or DVD), and URL). A data value of nmu would cause the installer to search network source, then media source, and finally URL sources. If you omit a letter, that source is NOT searched. If the Value Name is NOT present, the default order is nmu.  

TransformsAtSource

REG_DWORD

  A 1 causes the installer to search for transform files in the root of any network source. By default, transforms are stored in the Application Data folder of a user's profile.   

DisableRollback

REG_DWORD

  A 1 disables installation rollback, which is enabled by default.  

You can manage the following computer policies at HKEY_LOCAL_MACHINESoftwarePoliciesMicrosoftWindowsInstaller:

  Value Name  

  Data Type  

  Data Value Description  

AlwaysInstallElevated

REG_DWORD

  See tip 3292 Allow users to always install with System privileges.  

DisableMSI

REG_DWORD

  A 0, or a missing Value Name, enables the installer. A 1 disables the installer for non-managed applications. A 2 disables the installer for all applications.  

Logging

REG_SZ

  This policy is only used if logging is enabled by the /L command-line option or MsiEnableLog. Set the data value to the same string of characters as used by /L, but + and * are not allowed. The log is created as %TEMP%MSI.LOG.  

DisablePatch

REG_DWORD

  A 1 prevents installer from applying patches.  

NOTE: See How do I troubleshoot Windows Installer problems on Windows 2000 and Windows NT 4.0?

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like