wixtoolset / issues

WiX Toolset Issues Tracker
http://wixtoolset.org/
129 stars 36 forks source link

Heat Directory Harvesting Makes Directory Id=x64 (Violates ICE99) #5764

Open nick2893 opened 6 years ago

nick2893 commented 6 years ago

Using Heat version 3.11 (and all versions past), when I issue the following command:

"wix3111-binaries\heat" dir "C:\Data..._File Lists" -dr "SourceStuffDirectory" -cg "SourceStuff" -var "var.RootDir" -gg -sfrag -srd -sreg -suid -out SourceStuff.xml

Noting that my directory structure contains:

bin\Debug\x64\ bin\Release\x64\

The resulting SourceStuff.xml file includes the following tag:

  Directory Id="x64" Name="x64"

Which results in the following error message down the road:

  error LGHT0204 : ICE99: The directory name: x64 is the same as one of the MSI Public Properties and can cause unforeseen side effects.

Should "heat.exe" be creating ICE99 incompatible files?

barnson commented 6 years ago

Dropping -suid would also fix this.