Authoring Packages without the UAC Dialog Box
Authoring Packages without the UAC Dialog Box

When elevated privileges are not required to install a Windows Installer package, the author of the package can suppress the dialog box that User Account Control (UAC) displays to prompt users for administrator authorization.

To suppress the display of the UAC dialog box when installing the application, the author of the package should do the following:

  • Install the application using Window Installer 4.0 or later on Windows Vista.
  • Do not depend on using elevated system privileges to install the application on the computer.
  • Install the application in the per-user context and make this the default installation context of the package. If the ALLUSERS property is not set, the installer installs the package in the per-user context. If you do not include the ALLUSERS property in the Property table, the installer does not set this property and so per-user installation becomes the default installation context. You can override this default by setting the ALLUSERS property on the command line.
  • Set Bit 3 in the Word Count Summary property to indicate that elevated privileges are not required to install the application.

Build date: 11/12/2009

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View