[wix-users] Heat harvest tool options

Tobias S tobias.s1979 at gmail.com
Thu Dec 17 02:34:45 PST 2015


works for me on a c# project using

heat.exe project "<Path>\ConsoleApplication.csproj" -pog Binaries -gg -g1
-cg MyComponentGroup -directoryid MyDirectoryRef -out test.wxs

DirectoryRef is set using -directoryid.

I'd recomment using -ag instead of -gg as this lets Wix generate Guids
during InstallBuild time. This seems my favor as the guids then are "more"
stable.

In general you can also use an xslt for transform the generated Heat
output. Google should find some good xslt samples.



More information about the wix-users mailing list