I have a wxs (shown below) where the directory structure (intended to be hierarchical by nesting Directory elements) does not get created as expected. I have a custom action that determines the location of the IIS Root Path. For simplicity, I have used a Type 51 Custom Action that just sets a property value in this script instead of the real one that queries the location. When I install the msi resulting from this script, the FAWS_Applications directory gets created as expected (under c:\inetpub\wwwroot\fpl) but the FAWS_XML directory that I expected to get created under FAWS_Applications, gets created under c:\applications instead. What am I doing wrong? Thanks for your help. George <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="16901b16-2cd7-495e-83db-c6ec5f0adebf" Name="FPL" Language="1033" Version="1.0.0.0" Manufacturer="xxx" UpgradeCode="752d7e1d-371a-4b4f-87bb-f88300d75258"> <Package InstallerVersion="200" Compressed="yes" /> <Media Id="1" Cabinet="FPLSetup.cab" EmbedCab="yes" /> <Property Id="IISROOTPATH" Value="c:\"/> <CustomAction Id="setIisRootPath" Property="IISROOTPATH" Value="c:\inetpub\wwwroot\fpl"/> <InstallExecuteSequence> <Custom Action="setIisRootPath" Before="CostFinalize"/> </InstallExecuteSequence> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="IISROOTPATH"> <Directory Id="FAWS_Applications" Name="Applications"> <Directory Id="FAWS_XML" Name="XML"> <Component Id="FAWS_FPL_Config" Guid="3E17623F-8C6E-41a5-BC1E-620F0E5297F1"> <File Id="FPLAFPage.xml" Name="FPLAFPage.xml" Source="..\InstallSet\Configuration\FPLAFPage-deploy.xml"/> </Component> </Directory> </Directory> </Directory> </Directory> <Feature Id="Web" Title="FPL (Core) Web application tier" Level="0"> <ComponentRef Id="FAWS_FPL_Config" /> </Feature> </Product> </Wix>
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users