Hi There
I've created a setup.exe with Administrative Privileges ticked. However, when I run this application as a standard user on Windows Vista it does not request Administrator credentials to continue, but merely displays a message that administrator rights are required and then exits. It would be preferable in our deployment scenario if the setup requested the credentials and then continued.
How does one achieve this? I suspect Installaware is actually asking for an executionLevel of HighestAvailable inside the manifest of the setup. Is there a way to provide a different manifest for the MSI and the Setup so that I can change it to requireAdministrator?
Phillip Taylor
PS. FYI, Privileges is misspelled in InstallAware.
How to have Setup request Admin credentials
-
- Posts: 2
- Joined: Thu Apr 19, 2007 12:01 am
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
This is by design. If an admin is available, you can always "Run As". If admin was always required, then ordinary users would not be able to install at all. Add a check for admin rights to your script if you wish to disallow regular user installs - its a single checkbox in the visual IDE.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
-
- Posts: 2
- Joined: Thu Apr 19, 2007 12:01 am
I'd also like the ability to change the manifest. For most of the installs that we do, I know that Admin privileges are needed. In addition, our installations are supplied on CD with auto-run enabled. This makes the 'run as' option a lot less convenient, since the first thing that will happen upon CD insertion is that it fails the administrator test. The user then needs to open the CD, browse to the executable among all of the other files, and perform the run as option. while I and most of the people in this forum, could do this in their sleep, our target market tends to be a lot less computer savvy.
Who is online
Users browsing this forum: vaibhavopkey and 156 guests