cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Pilgrim

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
Highlighted
Pilgrim

Re: Installshield 2008 professional under Vista

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
Highlighted
Pilgrim

Setting shortcut to "Run as Administrator"

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
Highlighted
Flexera beginner

Re: Installshield 2008 professional under Vista

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

Re: Installshield 2008 professional under Vista

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
Highlighted
Flexera
Flexera

Re: Installshield 2008 professional under Vista

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