You're overthinking it. You can set up your Directory elements for whatever
directory structure you need and wherever the user changes INSTALLFOLDER to
be, its child Directory elements will follow it there. For example, if the
user changes the path of INSTALLFOLDER to C:\MyStuff, they'll get:

C:/
  MyStuff
    data
      install

Use Directory elements to set up your folders:

<Directory Id="TARGETDIR" Name="SourceDir">
   <Directory Id="INSTALLFOLDER" Name="Test">
     <Directory Id="DataFolder" Name="data">
       <Directory Id="InstallFolder" Name="install" />
     </Directory>
  </Directory>
</Directory>



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-modify-installation-directory-to-append-extra-folder-to-install-directory-in-Wxs-file-tp7598215p7598361.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to