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

  • Home
  • SEARCH
  • 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 6738223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:20:29+00:00 2026-05-26T11:20:29+00:00

I have custom bootstrappers for SQL Server 2008 R2, .NET Framework 3.5, .NET Framework

  • 0

I have custom bootstrappers for SQL Server 2008 R2, .NET Framework 3.5, .NET Framework 4, etc. I am using Visual STudio 2010’s Deployment project to deploy a .NET 4 application. I know these are going away.

Is there a way I can specify a bootstrapper to Fail if the user does not have specific Windows Privledges? SQL Server’s Setup seems to take care of this on its own, but gives very cryptic error codes and texts that are hard to trace for users. I know that I can set Bypasses for Windows versions, and SqlCheck.exe performs some sort of version check. Would I have to create my own application that checks the user’s permissions, and the bootstrapper could check the return code of that, similar to SqlCheck.exe?

Can this be accomplished using the Bootstrapper Manifest Generator, and is the BMG even supported by Visual Studio 2010? Appears to not be supported anymore, but I”m not sure if there’s anything specific to VS 2010 / Windows Installer 4.5
http://archive.msdn.microsoft.com/bmg

  • 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-26T11:20:30+00:00Added an answer on May 26, 2026 at 11:20 am

    The most you can do with the standard Visual Studio bootstrapper is to check the AdminUser property value. The predefined .NET Framework 4.0 Client Profile prerequisite uses a similar condition. You can find its manifest in this folder:

    C:\Program Files\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\DotNetFX40Client
    

    This should also be supported by the bootstrapper manifest generator.

    But, and this is a big one, on newer Windows versions all users can get Administrator privileges through elevation. So from the installer point of view, any user is seen as an Administrator, even if he’s not.

    So this approach is pretty much useless on Vista or higher.

    You could try creating your own custom EXE bootstrapper which handles prerequisites and checks user privileges. But you will most likely encounter the same problem.

    From my experience, the best approach is to let each installer elevate itself if necessary. Most of them have built-in mechanisms for this, especially the ones from Microsoft.

    If you encounter problems with this approach, I’m pretty sure they are not caused by privileges. Most likely your prerequisite is not configured correctly (for example an incorrect command line).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have custom headers in the Silverlight DataGrid using the ContentTemplate. We've got a
Can you have custom client-side javascript Validation for standard ASP.NET Web Form Validators? For
I have custom config section with Server settings, which includes: username, password and IP
I have custom server control contains templatefield when an out button clicked the field
I'm building a website using Zend Framework and having trouble implementing modules and custom
I have custom control - using Win Forms, that contains four TextBoxes, all have
I have custom membership and role provider (C#) in my .net 4 (webform based)
I have custom MSBuild project file with few <ProjectReferences> . I'm calling the <MSBuild
I have custom objects I am binding to using ObjectDataSource. I have three-level binding:
We have custom user fields (ie 'Business Analyst', 'Developer', etc.) in JIRA, and we

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.