I am using WiX and would like to know the .wxs needed to take the file and install it in any available subdirectory of a specific location. This may mean 0 or more installation endpoints determined during installation based on an existing directory structure. For example, if I started the installation with:
\target \subdir-1 \subdir-2
Then at the end of the installation, my file will be in \ subdir-1 and \ subdir-2. If, on the other hand, these directories did not exist on the system when the installation started, my file would not have been installed at all, and no subdirectories would have been created.
source share