Platform SDK: Windows Installer

User Policies

The following user policies can be configured under

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Installer

Value name Value data types Description
AlwaysInstallElevated REG_DWORD If this value is set to "1" and the corresponding machine value is also set, the installer always installs with elevated privileges.

Otherwise, the installer uses elevated privileges to install managed applications and uses the current user's privilege level for non-managed applications.

DisableMedia REG_DWORD If the DisableMedia policy is set to "1", users and administrators running a maintenance installation of one product are prevented from using the Browse Dialog to browse media sources, such as CD-ROM, for the sources of other installable products. Browsing for other products is prevented regardless of whether the installation is with elevated privileges. It is still possible for the user to reinstall the product from media if the user has a correctly labeled media source.

This policy is not available with Windows Installer version 1.0.

DisableRollback REG_DWORD If this value is set to "1", the installer will not store rollback files during installation, disabling installation rollback. By default, rollback is enabled. Administrators are advised to not use this policy unless it is absolutely essential.
SearchOrder REG_SZ Order in which the installer searches the three different types of sources:

"n" � network

"m" � media (CD-ROM or DVD)

"u" � URL (Uniform Resource Locator)

For example, a value of "nmu" instructs the installer to search network sources first, media sources second, and URL sources last. Leaving out a letter removes the corresponding volume type from the search. Default order in absence of this value is network first, then media followed by URL.

TransformsAtSource REG_DWORD If this value exists and is set to "1"; the installer searches for transform files in the root of any network sources in the source list for the product. By default, transforms are stored in the Application Data folder of a user's profile.

This policy is not available with Windows Installer version 1.1.


'

Comments ( )
Link to this page: //www.vb-net.com/Windows/Installer/Msdn/UserPolicies.htm
< THANKS ME>