On 8/31/06, Rafuse Robert <
[EMAIL PROTECTED]> wrote:
Joe,
One of the few mailing list questions I can answer! If you're C: and E:
folders are fixed, the snippet below sets up folder trees on C: and E: (you
will have to fill in the trees) and some custom actions to set the C_ROOT
and E_ROOT properties appropriately:
<Directory Id="TARGETDIR" Name="SourceDir">
<!-- Define the C: folder tree -->
<Directory Id="C_ROOT" Name="root">
<Directory Id="c.myroot" Name="foo">
TODO: Define C: directory tree here
</Directory>
</Directory>
<!-- Define the E: folder tree -->
<Directory Id="E_ROOT" Name="root">
<Directory Id="e.myroot" Name="foo">
TODO: Define E: directory tree here
</Directory>
</Directory>
</Directory>
<!-- Define the C: folder tree custom action(s) -->
<CustomAction Id="Assign_C_ROOT" Property="C_ROOT" Value="c:\" />
<!-- Define the E: folder tree custom action(s) -->
<CustomAction Id="Assign_E_ROOT" Property="E_ROOT" Value="e:\" />
<InstallExecuteSequence>
<Custom Action="">Before="Assign_E_ROOT"></Custom>
<Custom Action="">Before="CostInitialize"></Custom>
</InstallExecuteSequence>
<UI>
<InstallUISequence>
<Custom Action="">Before="Assign_E_ROOT"></Custom>
<Custom Action="">Before="CostInitialize"></Custom>
</InstallUISequence>
</UI>
_________
Bob Rafuse
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto: [EMAIL PROTECTED]] On Behalf Of
> Joe Harbert
> Sent: Thursday, August 31, 2006 11:42 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Install Different Components on Different Drives
>
>
> Hi,
>
> I have an installation that needs to install some components
> onto the machine's C drive and other components onto the
> machine's E drive. Is there an easy way to do this? I've
> searched through the mailing lists and googled but have not
> found a way to do this. I'm using WIX 3.0 by the way.
>
>
> Regards,
> Joe Harbert
>
>
> --------------------------------------------------------------
> -----------
> Using Tomcat but need to do more? Need to support web
> services, security? Get stuff done quickly with
> pre-integrated technology to make your job easier Download
> IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&
dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
Important Note: This email and any attachment hereto are confidential and
may contain trade secrets or may be otherwise protected from disclosure. If
you have received it in error you are in notice of this fact. Please notify
us immediately by reply email and then delete this email and any attachment
from your system. Please understand that you are not allowed to copy this
email or any attachment hereto or disclose its contents to any other person.
Thank you.
---
This communication contains confidential information. If you are not the intended recipient please return this email to the sender and delete it from your records.
Diese Nachricht enthält vertrauliche Informationen. Sollten Sie nicht der beabsichtigte Empfänger dieser E-mail sein, senden Sie bitte diese an den Absender zurück und löschen Sie die E-mail aus Ihrem System.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
--
-Brad
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users