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: Exiting MSI install if user is not Admin on Vista
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
‎Apr 14, 2008
04:13 PM
Exiting MSI install if user is not Admin on Vista
I don't know, but I must be missing something. I have my install set to check to see if the user is an Admin, I do the check for Privileged at the begining of the install and I also have the 'Require Administrative Pribileges' set to Yes, but when the install is ran on Vista with a Non-Admin user it will prompt for the Admin password and continue the install. During the install it will then encounter an error and exit.
If the user is a real admin then the install will go fine, but not under an regular user that enters the Admin password.
Is there any way I can totally prevent a Non-Admin from continuing the install until they actually log in as admin?
Any help would be appreciated.
If the user is a real admin then the install will go fine, but not under an regular user that enters the Admin password.
Is there any way I can totally prevent a Non-Admin from continuing the install until they actually log in as admin?
Any help would be appreciated.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 14, 2008
05:04 PM
Perhaps see if MSIUSEREALADMINDETECTION will do what you want?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 28, 2008
11:58 AM
Okay so setting this property: MSIUSEREALADMINDETECTION should force the user to log in as a real admin on Vista?
Will this property have any affect on XP/2000?
Will explicitly setting this property to 1 have any other affects on the install project? Causing any ill behavior?
Thanks,
Will this property have any affect on XP/2000?
Will explicitly setting this property to 1 have any other affects on the install project? Causing any ill behavior?
Thanks,
