Permission Errors During Website installation with Server 2008
I built my installation with Wise Installation Studio 7 SP1 and it works for most operating systems, but on Server 2008 R2 I get a messagebox that states "Administrator privileges are required to install a web application" there is only an OK button and when that is clicked the installer exits.
Right clicking on the .msi displays a context menu, but Run As Administrator is not one of the options.
The installer will execute, but you have to start a command prompt as administrator, and then execute the .msi directly.
Ideally the installer should just run since the logged in user is a member of the administrators group, but having to jump through these hoops makes running the installation difficult for our users.
Unfortunately turning off UAC isn't an option.
Is there any other work around to get the installer to execute just by double clicking it?
Comments
Not really
You could try compiling to an EXE instead of an MSI and set up the manifest to run as Administrator.
On Windows 7 and Windows 2008R2, even admin users do not have administrative rights by default, hence you need to "run as administrator" or get the UAC to produce the elevation message, which can usually be done by naming the MSI either setup.msi or install.msi.
Compiling to EXE with manifest to run as admin can also be tried.
Regrettably, Microsoft have made it necessary to jump through additional hoops in order to stop malware getting into systems using default admin rights from older operating systems.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Would you like to reply?
Login or Register to post your comment.