Community Forums
Results 1 to 5 of 5

Thread: InstallAnywhere 8.0.1 Enterprise: How to validate user has administrator rights

  1. #1
    Join Date
    Feb 2008
    Posts
    12

    InstallAnywhere 8.0.1 Enterprise: How to validate user has administrator rights

    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

  2. #2
    Join Date
    Mar 2006
    Location
    Paris, France
    Posts
    2,147

    Exclamation

    There is a isCurrentUserAdmin() method in the IA API, check the JavaDoc.
    Vlad

  3. #3
    Join Date
    Feb 2008
    Posts
    12

    Thanks

    Many thanks. I will try that.

    Thanks
    Jayan

  4. #4
    Join Date
    Jul 2007
    Location
    Luxembourg
    Posts
    143
    It will not work as expected on all OSes. Test it thoroughly!

    Best Regards,
    Yves

  5. #5
    Join Date
    Mar 2006
    Location
    Paris, France
    Posts
    2,147
    AFAIK it is supposed to work on Windowses only.
    Vlad

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •