Brad / Joe,
 
You still need the custom actions, otherwise the destination folders won't be configured and everything will fall into a default location. That's why the custom action is triggered in both the InstallUISequence (for when run with a UI), and in the InstallExecuteSequence (no UI).
 
Hope this helps.
Regards,
Richard

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brad Davis
Sent: Thursday, August 31, 2006 16:55
To: Rafuse Robert
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Install Different Components on Different Drives

I'm working with Joe on this. What if Joe doesn't want any UI? Are the CAs necessary? Thanks.

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  
 
Remainder of message snipped.  


* C O N F I D E N T I A L I T Y N O T I C E *
-----------------------------------------------------------
The content of this e-mail is intended solely for the use of the individual or entity to whom it is addressed. If you have received this communication in error, be aware that forwarding it, copying it, or in any way disclosing its content to any other person, is strictly prohibited. Peek Traffic Corporation is neither liable for the contents, nor for the proper, complete and timely transmission of (the information contained in) this communication. If you have received this communication in error, please notify the author by replying to this e-mail immediately and delete the material from any computer.

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

Reply via email to