[wix-users] Call Heat.exe in a C# console application

Joseph L. Casale jcasale at activenetwerx.com
Tue Jan 16 08:56:47 PST 2018


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
Of Ven H via wix-users
Sent: Tuesday, January 16, 2018 9:42 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Ven H <venh.123 at gmail.com>
Subject: [wix-users] Call Heat.exe in a C# console application

> Is it possible to call heat.exe in a C# console application? If so, can
> anyone please explain the steps? Also, can we read the output of heat
> command into a string variable in C# instead of writing to a file? Please
> help.

See the System.Diagnostics.Process class, use a tmp file and read it after.

You can probably perform the same thing manually use one of the two XLM
facilities provided natively by c# if you are only harvesting files.



More information about the wix-users mailing list