check if user has local admin rights bevor install msi
hello
I am looking for a solution how to check if the user, who is trying to install the package, has local admin rights or not.
thx for you help
olivier
I am looking for a solution how to check if the user, who is trying to install the package, has local admin rights or not.
thx for you help
olivier
0 Comments
[ + ] Show comments
Answers (7)
Please log in to answer
Posted by:
jgeluk
20 years ago
In InstallShield there is a build in property called AdminUser.
See InstallShield help:
Property Name
AdminUser
Description
This property is set by the installer at installation and is only set on Windows NT or Windows 2000 or later if the user has administrative privileges. AdminUser is always set on Windows 9x.
Guess Wise will have such a propery as well.
Hope this will help.
See InstallShield help:
Property Name
AdminUser
Description
This property is set by the installer at installation and is only set on Windows NT or Windows 2000 or later if the user has administrative privileges. AdminUser is always set on Windows 9x.
Guess Wise will have such a propery as well.
Hope this will help.
Posted by:
olivier
20 years ago
Posted by:
jgeluk
20 years ago
make a check for that
In InstallShield go to Description, General Information, Product Properties.
Under Product Properties you'll find an option Install Condition.
Here you can set a condition like:
AdminUser=1, with a message popping up if AdminUser<>1 like:
You ain't admin, install won't continue.
Posted by:
olivier
20 years ago
Posted by:
MSIMaker
20 years ago
Posted by:
MSIMaker
20 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.