[Setup]: UsePreviousPrivileges

Valid values:

Default value:


When this directive is yes, the default, at startup Setup will look in the registry to see if the same application is already installed in one of the two install modes, and if so, it will use that install mode and not ask the user.

If PrivilegesRequiredOverridesAllowed does not allow dialog, this directive is effectively ignored.

UsePreviousPrivileges must be set to no when AppId includes constants and PrivilegesRequiredOverridesAllowed allows dialog.

See also: