Referencing a file with unknown name?

Comments

1 comment

  • Avatar
    wojciechka

    You can use <findFile> action to find the filename after unzipping the archive. For example if you unzipped it to ${installdir}, you can do:

    <findFile>
      <baseDirectory>${installdir}</baseDirectory>
      <pattern>myapp-*.xml</pattern>
      <variable>xmlfile</variable>
    </findFile>
    

    You can find more information in Find File section of InstallBuilder User Guide.

Please sign in to leave a comment.