Solved

creating an msi that requires adminstrative privilages to install

Posted on 2010-08-22
1
214 Views
Last Modified: 2013-11-27
I have an msi that will require the user to install .NET 4.0.  I want to have the msi that I've created using VS 2010 require the user to have adminstrative privilages.  How would I make this happen?  I initially was thinking that there would be a setting for that in the properties of the set-up project.
0
Comment
Question by:PeterTrefren
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 16

Accepted Solution

by:
Vikram Singh Saini earned 500 total points
ID: 33498618
Hi,

Here is a property named AdminUser which can help to  achieve your goal.

Please follow these steps:

1) Open your Setup Project, View->Launch Conditions.
2) Right click on Launch Conditions, and add a new  Condition in your Launch Conditions.
3) Right click the Condition, choose Properties Window.
4) Set Condition to AdminUser.  
5) Build and install.

Reference:
http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/e5c47ca7-ebce-44ed-ae10-f3d0928521bc/

Regards,
V.S.Saini
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question