Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7007075
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:33:37+00:00 2026-05-27T21:33:37+00:00

We currently have an MSI that is created with WiX 3.5. The application is

  • 0

We currently have an MSI that is created with WiX 3.5. The application is in .NET 3.5. We generate a bootstrapper using the boostrapper task in an MSBuild file. It’s pointing at the 6.0a SDK files.

When users have UAC on and they install, they have to right-click the setup.exe and select run-as administrator.

What I would really like is to have the setup.exe automatically prompt to elevate (using that yellow dialog I see in other installs).

Better yet, I’d like the MSI to do this and do away with the setup.exe completely, but I think that is what WiX 3.6 is about, right?

If I create the boostrapper using ApplicationRequiresElevation="true" this requries the 7.0a SDK, correct? Will the bootstrapper then prompt to elevate automatically? Does this mean the application has to be a .NET 4 application? I wouldn’t think so…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T21:33:38+00:00Added an answer on May 27, 2026 at 9:33 pm

    We’ve used WiX 3.0 and were able to elevate privileges. However, we didn’t elevate our bootstrapper. We elevated the MSI file itself, through the Package property:

    <Package Id="$(var.PackageCode)"
             Description="$(var.ProductName) $(var.Version)"
             InstallerVersion="301"
             Compressed="yes"
             InstallPrivileges="elevated"  <!-- Elevated right here -->
             InstallScope="perMachine"
             Platform="x86"/>
    

    As a side note, our bootstrapper is signed (using signtool.exe from the v6.0A SDK) with our official certificate. I’m not sure if this causes the bootstrapper to also require elevated privileges.

    UPDATE:

    We’ve got an app.manifest file on our setup.exe bootstrapper project that requires the executable to be run at the administrator level. See the sample below:

    <?xml version="1.0" encoding="utf-8"?>
    <asmv1:assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1"
                    xmlns:asmv1="urn:schemas-microsoft-com:asm.v1"
                    xmlns:asmv2="urn:schemas-microsoft-com:asm.v2"
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
      <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
        <security>
          <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
            <!-- UAC Manifest Options
                If you want to change the Windows User Account Control level replace
                the requestedExecutionLevel node with one of the following.
    
            <requestedExecutionLevel  level="asInvoker" uiAccess="false" />
            <requestedExecutionLevel  level="requireAdministrator" uiAccess="false" />
            <requestedExecutionLevel  level="highestAvailable" uiAccess="false" />
    
                If you want to utilize File and Registry Virtualization for backward
                compatibility then delete the requestedExecutionLevel node.
            -->
            <requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
          </requestedPrivileges>
        </security>
      </trustInfo>
    </asmv1:assembly>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a .dll I'm using inside a wix-built .msi that is currently returning
I've created an MSI using WiX. I'm trying to register .NET components for COM
I currently have a MySQL database that I am accessing using PHP. You search
I am using Visual Studio 2008 to create an MSI installer. I currently have
We have an ASP.NET 2.0 application that is available as a trial download. As
I have created a standard MSI installer for P&D of my application which is
Symptoms I have newly created setup package (MSI) that installs a new version of
I have a current build process which does a .NET build using MSBuild and
I have created an MSI file and then setup.exe with setupbld.exe. I want to
We have an installer created using WIX. As part of this install we would

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.