Solved

creating an msi that requires adminstrative privilages to install

Posted on 2010-08-22
1
211 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
1 Comment
 
LVL 16

Accepted Solution

by:
Vikram Singh Saini earned 500 total points
Comment Utility
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

728 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now