TARGETDIR is just the root for Directory elements, you can add sub elements to this that are for each drive you want to install to. You will need to set these with a property or the SetDirectory element, e.g.:
<SetProperty Id=" APPLICATION " Value="C:\" After="CostInitialize" /> <SetProperty Id=" LOGS " Value="D:\" After="CostInitialize" /> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="APPLICATION" /> <Directory Id="LOGS" /> </Directory> Neil -----Original Message----- From: JeroenRemie [mailto:jeroen.re...@traxion.nl] Sent: 03 March 2009 09:58 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Installing to multiple disks Hello, I am pretty new to WiX, but for a project in my company we have decided to use it to create an installer to facilitate automated releases and release updates. For this project, we need to install files to both the C and D drive of our Test and Develop enviroments. It seems like WiX will only let me install to one source drive (TARGETDIR). Is there a way for me to use one installer to install files to both the C and D drive? Thanks, Jeroen Remie Traxion Consultancy b.v. Waardenburg, the Netherlands. -- View this message in context: http://n2.nabble.com/Installing-to-multiple-disks-tp2414343p2414343.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------ ------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users