How to have Setup request Admin credentials
Posted: Thu Apr 19, 2007 12:24 am
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.
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.