Neil, Interesting; I'd never used SetProperty before; I found that creating a Property with the same Id allowed me to give the Directory a default value. Does anyone know of any caveats to this method? The one I can see off the bat is that the Property element cannot be scheduled, but since I'm not using any UI, I don't know if that is a problem.
I'll try it and check the install log to see if it looks any different. Thanks, Thomas S. Trias Senior Developer Artizan Internet Services http://www.artizan.com/ -------- Original Message -------- Subject: Re: [WiX-users] Installing to multiple disks From: Neil Sleightholm <n...@x2systems.com> To: General discussion for Windows Installer XML toolset. <wix-users@lists.sourceforge.net> Date: 3/3/2009 4:18 AM > 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=ARGETDIR" Name="SourceDir"> > <Directory Id=PPLICATION" /> > <Directory Id=OGS" /> > </Directory> > > Neil > ------------------------------------------------------------------------------ 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