Running installers as Admin

J

John Dough

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.
 
G

Guest

Maybe right click on the msi installer and go to the compatibility tab. There
may be an option to run as Administrator there.
 
J

John Dough

Ron Rector said:
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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top