cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Darain
Level 6

power user install

I have an app wanted to be installable by Power Users group. I only know the setting for AdminUser=1 in InstallCondition to set up admin only. I couldn't find a setting for Power Users. Is there one, so that only standard users are not allowed to install my app?

I need the setting because I want InstallShield to catch the access violation in the very beginning and pop up a nice message stating that the user does not have the privilege to install, like when I set AdminUser=1, instead of throwing an error message in the middle of installation stating that the user do not have access to c:\Program Files\My App\...

If no setting, can we do it in InstallScript and is there a sample script?

Thanks!
Labels (1)
0 Kudos
(2) Replies
RobertDickau
Flexera Alumni

I haven't tried it from an MSI custom action, but perhaps use Is(USER_POWERUSER, "") to conditionally set a property you'll use in a launch condition?
0 Kudos
Darain
Level 6

That works. Thanks for the tip!
0 Kudos