> In an earlier message, you showed a hard-coded Package/@Id attribute. 
> You should always use the question-mark method of specifying 
> the package 
> code -- MSI rules say that every package should have a 
> different package 
> ID. Likely, you still have an older version of the .msi installed, so 
> MSI is running the original package.

Okay, thanks... I was unaware of this method, and ignorant of the
implications of not changing the Package ID.  

> > DEBUG: Error 2723:  Custom action Assign_C_ROOT specifies 
> unsupported 
> > type
> >   
> Can you post the .wxs file that produced this error? It looks 
> like a WiX 
> bug that it let you create an invalid CA type.

Posted below.  

Thanks again for your all your assistance.

<?xml version="1.0"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi";>
        <Product Id="A679F0A3-44CE-4E90-8C5D-57269B3641F5"
Name="Multi-Target Test" Language="1033" Version="1.0.0.0"
Manufacturer="Acme">
                <Package Id="4A6F3A50-807C-48A2-82F6-AC1A911ABDAD"
Description="Multi-Target Test Thingy" Comments="No comment"
InstallerVersion="200" Compressed="yes" />

                <Media Id="1" Cabinet="MultiTarget.cab" EmbedCab="yes" />
                <Property Id="DiskPrompt" Value="MultiTarget Installation
[1]"/>

                <Directory Id="TARGETDIR" Name="SourceDir">
                        <Directory Id="C_ROOT" Name="root">
                                <Directory Id="c_acme" Name="acme">
                                        <Component Id="component.c_acme"
Guid="F1D1EF7B-DD2E-49A6-AD82-B5A27BD0823E"> 
                                                <File Id="file_a_txt"
Name="file_a.txt" LongName="file_a.txt" Vital="yes" src="file_a.txt"
DiskId="1"/>
                                        </Component> 
                                </Directory>
                        </Directory>
                        <Directory Id="E_ROOT" Name="root">
                                <Directory Id="e_acme" Name="acme">
                                        <Component Id="component.e_acme"
Guid="0B0B24F9-A89D-4B34-ACFA-14E4E7B30D5B"> 
                                                <File Id="file_b_txt"
Name="file_b.txt" LongName="file_b.txt" Vital="yes" src="file_b.txt"
DiskId="1"/>
                                        </Component> 
                                </Directory>
                        </Directory>
                        <Directory Id="WindowsFolder" Name="windows">
                                <Directory Id="windows.cursors"
Name="cursors">
                                        <Component
Id="component.windows.cursors" Guid="14DB7F5D-D2BE-4C2B-BCF3-4BF2A7921589"> 
                                                <File Id="file_c_txt"
Name="file_c.txt" LongName="file_c.txt" Vital="yes" src="file_c.txt"
DiskId="1"/>
                                        </Component> 
                                </Directory>
                        </Directory>
                </Directory>
                
                <CustomAction Id="Assign_C_ROOT" Return="ignore"
Execute="immediate" Property="C_ROOT" Value="c:\" />
                <CustomAction Id="Assign_E_ROOT" Return="ignore"
Execute="immediate" Property="E_ROOT" Value="e:\" />
                
                <InstallExecuteSequence>
                        <Custom Action="Assign_C_ROOT"
After="CostFinalize"></Custom>
                        <Custom Action="Assign_E_ROOT"
After="Assign_C_ROOT"></Custom>
                </InstallExecuteSequence>

                <Feature Id="feature.Multi_Target_Test" Title="Multi-Target
Thingy" Level="1">
                        <ComponentRef Id="component.c_acme"/>
                        <ComponentRef Id="component.e_acme"/>
                        <ComponentRef Id="component.windows.cursors"/>
                </Feature>
        </Product>
</Wix>

_________
Bob Rafuse


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.




---
Important Note:

This e-mail message and any attachments are confidential and may be privileged 
or otherwise protected from disclosure. If you are not the intended recipient 
you must not use, copy, disclose or take any action based on this e-mail or any 
information and attachment contained in the message. If you have received this 
e-mail in error, please advise the sender immediately by reply e-mail or 
telephone and delete this message and any attachment from your system.

Thank you.



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