Monday, April 1, 2013

Create setup that runas administrator using Visual Studio

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.

No comments :

Post a Comment