How to modify the UAC level of a Windows installer

asked 14 Sep '11, 09:46

Jake's gravatar image

Jake ♦♦
accept rate: 98%

InstallBuilder generated installers for Windows includes a manifest that identifies the privilege level it needs to run. The requestedExecutionLevel property it is set to "requireAdministrator" by default but it can be changed to "highestAvailable" or "asInvoker":

  • asInvoker: The application runs with the token that started it
  • highestAvailable: Throws a UAC prompt for administrators and run with the usual reduced privileges for standard users
  • requireAdministrator: Will require elevation.

This property will just affect the behavior of the installers in those Windows versions that includes the UAC mechanism: Windows Vista, Windows Server 2008 and Windows 7

You can find additional information about how the manifest work in this article.


answered 14 Sep '11, 09:49

Jake's gravatar image

Jake ♦♦
accept rate: 98%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 14 Sep '11, 09:46

Seen: 1,867 times

Last updated: 14 Sep '11, 09:49