The knowledge base is no longer actively updated, we have moved all content to our Community Support Forum

How to check if user has admin privilege while installing

Author: BitRock Support       Date: March 04, 2009 16:34       Tags: Installer environment variables
Actions
Installer Variables

You can use an installer environment variable called installer_is_root_install.

<showInfo text="You are administrator!">
  <ruleList>
    <compareText text="${installer_is_root_install}" value="1" logic="equals" />
  </ruleList>
</showInfo>