Deselecting Components using FileExists on MacOS

Comments

4 comments

  • Avatar
    michiel

    Hi Jay,

    Could you paste the example you are using here?

    Regards,

    Michiel

     

    0
    Comment actions Permalink
  • Avatar
    Jay Arthur

    Here it is:

    <project>
    ...
    <componentList>
    <component>
    <name>core</name>
    ...
    <selected>1</selected>
    ...
    </component>
    <component>
    <name>update</name>
    ...
    <selected>0</selected>
    ...
    </component>
    </componentList>
    <readyToInstallActionList>
    <componentSelection>
    <deselect>core</deselect>
    <select>update</select>
    <ruleList>
    <fileExists path="${installdir}/wellKnown/file"/>
    </ruleList>
    </componentSelection>
    </readyToInstallActionList>
    ...
    </project>

    0
    Comment actions Permalink
  • Avatar
    Jay Arthur

    I have found that this code works if the wellknown/file is a directory, but does not work if it is a file in a directory.

    0
    Comment actions Permalink
  • Avatar
    BitRock support

    It should also work with files.

    Could you run the installer with the `--debugtrace debug.txt` option and send the debug.txt to bitrock@support.com

    /Path/to/installer.run --debugtrace debug.txt

    We will then check the resulting file for the cause of the issue.

    Regards,

    Michiel

     

    0
    Comment actions Permalink

Please sign in to leave a comment.