cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dinamicasoft
Level 2

Installshield 2008 professional under Vista

Under Windows Vista:
My program must run as administrator so my clients must change the shortcut property manualy (run as administrator). How can i do it by Installshield 2008 ?
Labels (1)
0 Kudos
(5) Replies
alorbach
Level 4

On Installation Designer go to
Installation Information->General Information->Summary Information Stream

There is an option "Require Administrative Priviliges", set it to Yes.
0 Kudos
cfairweather
Level 4

I tried your suggestion to set the "Require Administrative Priviliges" to Yes, but it didn't work. Any other ideas on how to set the shorcut to "Run as Administrator" without having each user do it manually?
0 Kudos
LanceRas
Level 7

From what I've come across so far, there is not a way to programmatically set a shortcut to run as administrator.
0 Kudos
jchristman
Level 8

In Vista and 2008 server there is a file attribute "Privilege Level" that when set says "Run this program as an administrator". it does not get highlighted if the user is an admin. I am not for sure though on how to set it.
0 Kudos
MichaelU
Level 12 Flexeran
Level 12 Flexeran

We don't have convenient InstallScript APIs for it, but you should be able to call into IShellLink to do this. See the MSDN post you get if you search for ishelllink run as administrator for more details.
0 Kudos