Thanks!  I will have to see what each approach does to the MSI...

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: tomtr...@artizan.com, General discussion for Windows Installer XML 
toolset. <wix-users@lists.sourceforge.net>
Date: 3/3/2009 11:44 AM
> The SetProperty can be scheduled with the Before and After attributes.
> Although I used SetProperty in this example SetDirectory might be more
> appropriate (but it can't be scheduled), e.g.:
> <SetDirectory Id="DATALOCATION" Value="[WindowsVolume]My Data
> Folder"><![CDATA[DATALOCATION=""]]></SetDirectory>
>
> (The condition allows it to be overridden on the command line.)
>
> Neil
>
> -----Original Message-----
> From: Thomas S. Trias [mailto:tomtr...@artizan.com] 
> Sent: 03 March 2009 16:18
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Installing to multiple disks
>
> 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
>
>
>
>   

------------------------------------------------------------------------------
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

Reply via email to