"%WIX%\bin\heat.exe" should work.  The quotes are important as there maybe 
spaces in the path.  The WIX environment variable should be defined as pointing 
to the WIX install location.
--
John Merryweather Cooper
Jack Henry & Associates, Inc. (Premier Tech, Inc.)
Build & Install Engineer - jXchange
Office:  913-341-3434 x791011
[email protected]



-----Original Message-----
From: Dirk Räder [mailto:[email protected]] 
Sent: Friday, September 16, 2011 6:04 AM
To: [email protected]
Subject: [WiX-users] Calling heat from within a preprocessor extension

Hi,

I'm currently tayloring a preprocessor extension that generates the entire 
directory structure, components and so on during the preprocessor run. It is 
quite similar to heat, but can be used within the WiXproj build.

I also have to generate class and registry values for several files.
Here, I'm would like to call "heat file $inputFile -out $outputFile -sfrag". 
The next step would be to extract the resulting Class and RegistryValue element 
from $outputFile.

How can I determine where to find heat.exe? Simply start a process it and hope 
Windows will find the executable? Or is there a more robust way?

Regards, Dirk

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to