Hello, I'm using HEAT with the option -ke (keep empty directories) with the following commands:
@echo off echo "##########################################################################" echo "HEAT!" "C:\Program Files\WiX Toolset v3.7\bin\heat" dir "BGINFO4XW" -cg SampleGroup -out SampleGroup.wxs -ag -dr BaseDir -srd -ke echo "##########################################################################" echo "CANDLE!" "C:\Program Files\WiX Toolset v3.7\bin\candle" -ext "C:\Program Files\WiX Toolset v3.7\bin\WixUIExtension.dll" -ext "C:\Program Files\WiX Toolset v3.7\bin\WixUtilExtension.dll" -ext "C:\Program Files\WiX Toolset v3.7\bin\WixNetFxExtension.dll" SampleFirst.wxs SampleGroup.wxs echo "##########################################################################" echo "LIGHT!" "C:\Program Files\WiX Toolset v3.7\bin\light" -ext "C:\Program Files\WiX Toolset v3.7\bin\WixUIExtension.dll" -ext "C:\Program Files\WiX Toolset v3.7\bin\WixUtilExtension.dll" -ext "C:\Program Files\WiX Toolset v3.7\bin\WixNetFxExtension.dll" SampleFirst.wixobj SampleGroup.wixobj -cultures:en-us -out SampleFirst.msi -b "BGINFO4XW" But, here in light, I get errors for EACH empty directory, and the msi is not created. The error is: \SampleGroup.wxs(338) : error LGHT0230 : The Component/@Guid attribute's value '*' is not valid for this component because it does not meet the criteria for having an automatically generated guid. Components using a Directory as a KeyPath or containing ODBCDataSource child elements cannot use an automatically generated guid. Make sure your component doesn't have a Directory as the KeyPath and move any ODBCDataSource child elements to components with explicit component guids. In line 338 I have: <Component Id="cmpD7EAB448C8FD4A1D7DC06BA49EC41B6E" Directory="dir0D636418BB9632BDBE27AA13B3B87D9C" Guid="*" KeyPath="yes"> And the dir0D636418BB9632BDBE27AA13B3B87D9C refers to: <Fragment><DirectoryRef Id="dir9D86EEBEA4804C429E60401935D6E0D9"> <Directory Id="dir0D636418BB9632BDBE27AA13B3B87D9C" Name="SERVER" /> </DirectoryRef></Fragment> Where SERVER is one of the EMPTY directories. Can you help me? Is this a bug? Thanks a lot for your time. ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users