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

Ven H venh.123 at gmail.com
Tue Jan 16 09:21:57 PST 2018


Thank you Joseph. Can you please explain what is XLM or did you mean XML
and it was a typo? Actually, I have to generate the markup for COM
components dynamically using C#. I was wondering, if there is an easier or
better way than using Heat.exe

Regards,
Venkatesh

On Tue, Jan 16, 2018 at 10:26 PM, Joseph L. Casale <
jcasale at activenetwerx.com> wrote:

> -----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