Can a variable be used in a folder action?

Comments

1 comment

  • Avatar
    michiel

    The variable is set when the installer initializes, while it's used in the <distributionDirectory> during build time. Setting the variable in the <preBuildActionList> would be a solution.

    <preBuildActionList>
      ...
     <setInstallerVariable>
            <name>cf_executable</name>
            <value>cf.app</value>
            <ruleList>
                <platformTest>
                    <type>osx</type>
                </platformTest>
            </ruleList>
        </setInstallerVariable>
      ...
    </preBuildActionList>
    

Please sign in to leave a comment.