I have created setup project in Visual Studio 2008. How do I run this setup with admin privileges – I have tried Right-Click, run as administrator. Vista does not prompt me for password. Am I missing something?
PK
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
When you right-click and choose ‘Run as administrator’, do you get any kind of popup dialog at all? Also, does your setup application actually run?
If you get a ‘Windows needs your permission to continue’ dialog, with no password entry box, then you’re already logged on as an Adminstrator and you’re just being prompted to grant High integrity to your application. If you want to be prompted for a password, you’ll need to log in with a Standard user account.
If you get no popup dialog at all, then my guess is one of the following has happened:
More info on UAC here.