Just stumbled across an odd artifact left behind by my predecessor's use of Wix. He built a system that generates a wix include file by crawling various directories. He also built his own version of Tallow because he rather liked negative filters than positive ones I gather (i.e. his command line options were -xf and -xd for patterns to exclude).
It looks like this: <Include xmlns="http://schemas.microsoft.com/wix/2003/01/wi"> <Component Id="ASPcomponent0" Guid="1351dd8e-8c30-42d0-8193-a0edfe366270"> <File Id="ASPfile1" Name="CROSSD_1.XML" LongName="crossdomain.xml" src="..\..\..\ASP\ChatServer\crossdomain.xml" /> <File Id="ASPfile2" Name="DEFAUL_1.ASP" LongName="default.aspx" src="..\..\..\ASP\ChatServer\default.aspx" /> <File Id="ASPfile3" Name="GLOBAL_1.ASA" LongName="Global.asax" src="..\..\..\ASP\ChatServer\Global.asax" /> <File Id="ASPfile4" Name="WEB_1.CON" LongName="Web.config" src="..\..\..\ASP\ChatServer\Web.config" /> </Component> <Directory Id="ASPdirectory0" Name="bin"> <Component Id="ASPcomponent1" Guid="834b33e2-a194-41ce-98ae-1e95d9616d49"> ... <File Id="ASPfile21" Name="Process.dll" src="..\..\..\ASP\ChatServer\bin\Process.dll" /> <File Id="ASPfile22" Name="Process.pdb" src="..\..\..\ASP\ChatServer\bin\Process.pdb" /> ... </Component> </Directory> ... </Include> It's included into the Wix project like this: <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi"> <Module Id="ChatAspModule" Guid="A7D317BB-9169-481c-9881-09C36AA76F88" Language="1033" Version="1.0.0.0"> <Package Id="461A965B-AF1F-466d-927A-2AE3FEEE01C7" Description="Files in /ASP" Comments="Files in /ASP" Manufacturer="Prospero Technologies" InstallerVersion="200" Compressed="yes" /> <Directory Id="TARGETDIR" Name="SourceDir"> <?include ChatAsp.wxi ?> </Directory> </Module> </Wix> The odd artifact mentioned above is that the files specified in the first naked <Component> don't get included in the install, and I'm wondering why? The included form would resolve to something like <Directory Id="TARGETDIR" Name="SourceDir"> <Component Id="ASPcomponent0" Guid="1351dd8e-8c30-42d0-8193-a0edfe366270"> <File Id="ASPfile1" Name="CROSSD_1.XML" LongName="crossdomain.xml" src="..\..\..\ASP\ChatServer\crossdomain.xml" /> <File Id="ASPfile2" Name="DEFAUL_1.ASP" LongName="default.aspx" src="..\..\..\ASP\ChatServer\default.aspx" /> <File Id="ASPfile3" Name="GLOBAL_1.ASA" LongName="Global.asax" src="..\..\..\ASP\ChatServer\Global.asax" /> <File Id="ASPfile4" Name="WEB_1.CON" LongName="Web.config" src="..\..\..\ASP\ChatServer\Web.config" /> </Component> <Directory ...></Directory> </Directory> Why wouldn't Web.config, etc get installed as a result? There are no errors in the msi build... Thanks Mark ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users