Running InstallScript Installations Without Administrative Privileges

InstallShield 2024

Project: This information applies to the InstallScript projects.

InstallShield enables you to create InstallScript installations that can be run by end users who do not have administrative privileges. The proper locations of registry entries, folders, and Start Menu items are dynamically determined at run time. The InstallScript system variable ALLUSERS is the key to such installations; if an installation is run by an end user who does not have administrative privileges, ALLUSERS is initialized to FALSE, and assigning it a new value in the script has no effect.

Note the following details:

Automatic registration of files (which are included in components that have Yes selected for the Self-Register setting) requires administrative privileges.
InstallScript objects typically require administrative privileges, since they usually install or register files in locations that require administrative privileges.
Installing a DIFx driver requires administrative privileges.
Installing the Setup Player for a One-Click Install installation requires administrative privileges.
Installing a Windows service requires administrative privileges.
Connecting to a remote registry requires administrative privileges.
If an end user who is not an administrator or power user attempts to maintain an InstallScript installation that was installed when ALLUSERS was set to TRUE, the installation displays an error message during initialization. The error message indicates that a user with administrator rights installed the product, and similar privileges are needed to modify or uninstall the product.

See Also