Installing content of a folder directly to installdir

Answered

Comments

1 comment

  • Avatar
    juanjo

    To pack the contents of a directory without including the directory itself you can use the below code:

    <folderList>
        <folder>
            <description>Program Files</description>
            <destination>${installdir}</destination>
            <name>programfileswindows</name>
            <platforms>windows</platforms>
            <distributionFileList>
                <distributionDirectory allowWildcards="1">
                    <origin>C:/Path/To/Some/Folder/*</origin>
                </distributionDirectory>
            </distributionFileList>
        </folder>
    </folderList>
    

Please sign in to leave a comment.