This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: power user install
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 22, 2008
07:42 AM
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!
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!
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 22, 2008
05:25 PM
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?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 23, 2008
08:21 AM
That works. Thanks for the tip!
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)