The ALLUSERS property determines where the configuration information of the installed application is stored. This property is used with the
DesktopFolder property,
ProgramMenuFolder property,
StartMenuFolder property, and
StartupFolder property.
Windows Vista: Windows Installer version 4.0 complies with User Account Control (UAC). If the user has user access privileges, and ALLUSERS=2, the installer performs a per-machine installation only if Admin credentials are provided to the UAC dialog box. If UAC is enabled and the correct Admin credentials are not provided, the installation fails with an error stating that administrator privileges are required. If UAC is disabled by the registry key, group policy, or the control panel, the UAC dialog box is not displayed and the installation fails with an error stating that administrator privileges are required.
Windows XP: If the user has user access privileges, and ALLUSERS=2, Windows Installer performs a per-user installation and uses the folders in the user's profile.
Windows 2000: The Windows Installer performs a per-user or per-machine installation depending on the value of the
ALLUSERS property. If the ALLUSERS property is not set, the Installer does a per-user installation. If the ALLUSERS property is set to 1, the Installer attempts a per-machine installation. The per-machine installation succeeds only if the user has administrative access privileges on the computer. If the ALLUSERS property is set to 2, the Installer first attempts a per-machine installation. In this case, the per-machine installation succeeds only if the user has administrative access privileges on the computer. Otherwise, the Installer does a per-user installation.
If ALLUSERS=2, the installer always resets the ALLUSERS property to null or 1 based on whether it determines to do a per-user or a per-machine installation. For more information, see
Per-User Installations and
Per-Machine Installations.
Default Value
If ALLUSERS is not set, the installer does a per-user installation.
Remarks
You can ensure the ALLUSERS property has not been set by setting its value to an empty string (""), ALLUSERS="".
For details, see also
Specifying a Per-User or Per-Machine Installation.
Requirements
| Version | Requires Windows Installer 4.0 on Windows Server 2008 or Windows Vista. Windows Installer on Windows Server 2003, Windows XP, and Windows 2000. |
See Also
Properties
Send comments about this topic to Microsoft
Build date: 6/5/2008