PDA

View Full Version : InstallAnywhere 8.0.1 Enterprise: How to validate user has administrator rights



jayanmn
05-26-2009, 11:56 PM
We use InstallAnywhere 8.0.1 Enterprise to create install kits. Some of the actions require administrator rights. How can we validate that the user installing the software has administrator rights?

Thanks,
Jayan

pv7721
05-27-2009, 01:03 AM
There is a isCurrentUserAdmin() method in the IA API, check the JavaDoc.

jayanmn
05-27-2009, 07:59 AM
Many thanks. I will try that.

Thanks
Jayan

Yves Kreis
06-26-2009, 07:12 PM
It will not work as expected on all OSes. Test it thoroughly!

Best Regards,
Yves

pv7721
06-27-2009, 01:13 AM
AFAIK it is supposed to work on Windowses only.