Solved

creating an msi that requires adminstrative privilages to install

Posted on 2010-08-22
1
216 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

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 …
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

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