![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum for Windows Vista help and discussion. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
|
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | Running installers as Admin Is there a way I can re-design my installer (MSI) to always require the user to run it in as an administrator? As in "In administrator compatability mode". My installer already cheks if the user is an admin, but as you know in Vista, this is not the same as in XP - the admin may not be running the installer with "admin priviledges". So when I download my installer to Vista and run it - it executes, but silently fails to perform some key operations during the install. If I use the Vista compatability wizard, and set the installer to run as an admin - everything is OK. TIA Z. |
My System Specs![]() |
| | #2 (permalink) |
| Guest | RE: Running installers as Admin Maybe right click on the msi installer and go to the compatibility tab. There may be an option to run as Administrator there. "John Dough" wrote: > Is there a way I can re-design my installer (MSI) to always require the user > to run it in as an administrator? As in "In administrator compatability > mode". > > My installer already cheks if the user is an admin, but as you know in > Vista, this is not the same as in XP - the admin may not be running the > installer with "admin priviledges". So when I download my installer to > Vista and run it - it executes, but silently fails to perform some key > operations during the install. If I use the Vista compatability wizard, and > set the installer to run as an admin - everything is OK. > > TIA > Z. > > > |
My System Specs![]() |
| | #3 (permalink) |
| Guest | Re: Running installers as Admin "Ron Rector" <RonRector@discussions.microsoft.com> wrote > Maybe right click on the msi installer and go to the compatibility tab. > There > may be an option to run as Administrator there. Or the user can explicitly "Run Elevated...". I understand this. That is not what I am after. What I want to know is how to I program my MSI so that it can detect that the user is not already "running elevated" and warn them with explict instructions on what to do and stop the installation. Help! |
My System Specs![]() |
| | #4 (permalink) |
| Guest | Re: Running installers as Admin Custom actions have this magical bit that says whether or not the custom action runs as the service or as the invoking user. This might help clear things up: http://blogs.msdn.com/rflaming/archi...23/768248.aspx http://blogs.msdn.com/heaths/ You should be able to run an MSI without requiring it to be pre-elevated. "John Dough" <nope@spamme.biz> wrote in message news:JLPUg.93829$R63.11730@pd7urf1no... > > "Ron Rector" <RonRector@discussions.microsoft.com> wrote >> Maybe right click on the msi installer and go to the compatibility tab. >> There >> may be an option to run as Administrator there. > > Or the user can explicitly "Run Elevated...". I understand this. That > is not what I am after. > > What I want to know is how to I program my MSI so that it can detect that > the user is not already "running elevated" and warn them with explict > instructions on what to do and stop the installation. > > Help! > > > > |
My System Specs![]() |
|
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Modify PowerShell prompt when running as admin | Marc Scheuner | PowerShell | 2 | 10-14-2007 03:41 PM |
| How good is Vista about automatically running installers as administrator? | Milhouse Van Houten | Vista security | 11 | 05-09-2007 11:49 PM |
| Cant open IE7 without running as admin on Vista | SweetTater4Matthew | Vista account administration | 2 | 03-11-2007 09:50 AM |
| Is it possible for a service to start a user app running with admin privilege? | Polaris | Vista security | 10 | 02-16-2007 08:30 AM |
| Running as an Admin with prompts vs Standard? | =?Utf-8?B?R3JhbnQ=?= | Vista account administration | 2 | 07-16-2006 05:22 PM |
| Complimentary Industry Resources Vista Forums has joined forces with TradePub.com to offer you a new, exciting, and entirely free professional resource. Visit http://vistax64.tradepub.com today to browse our selection of complimentary Industry magazines, white papers, webinars, podcasts, and more across 34 industry sectors. No credit cards, coupons, or promo codes required. Try it today! |