heat

"Bad Image" problem with Heat in Wix 3.0 with typelibs

When using heat (from Wix 3.0.4805.0) to generate Wix documents off of a typelib that's generated by Visual Studio, I have been getting an error. A window pops up that says: 'heat.exe - Bad Image' The application or DLL c:\path\to\file.tlb is not a valid Windows image. Please check this against your installation diskette. Bu...

WiX(v3): Harvesting a .csproj with heat.exe in vs2008?

The Question Newly initiated into WiX, I researched and found that v3 uses a tool (heat.exe) to "harvest" information into WiX fragments. I have managed to stumble about and find information on this tool, but none of it seems up to date for the latest heat.exe. Either i am looking in the wrong location, or this is thinly documented. So...

Does the WIX heat utility work with Visual C++ projects?

I am just starting to use Wix and would like to use heat to extract the outputs from my Visual C++ projects to source Wix files. This seems to work great for my C# projects, however, whenever I run heat on a C++ project I get an error: heat project MyProject.vcproj -pog:Binaries -cg MyGroup -nologo -out MySource.wxs heat.exe : error HE...

WiX 3: Using heat.exe to add bulk files to a new WiX project: HEAT5150

If this is a repeat question, please direct me to the existing solution. I wasn't able to find a matching query. We currently use InstallShield. I'm attempting to covert a project with 407 files to a WiX3 installation package. I tried using heat.exe to do some of the automation but I get the following warning for almost every file: c:...

Wix - how to handle project references when using heat's output with candle?

Hi, I'm trying to use heat on a web .csproj, and then use candle on the output. So far, I've done: heat project "StatusReport Web.csproj" -pog:Binaries pog:Content -ag -out StatusReport.wxs And then: candle StatusReport.wxs However, upon the latter, I get: Error CNDL0150: Undefined preprocessor variable '$(var.StatusReport Web.Ta...

Adding shortcut for WiX file in a different fragment.

I'm using heat.exe to generate fragments similar to this: <Fragment> <DirectoryRef Id="INSTALLDIR"> <Component Id="id1" Guid="*"> <File Id="fid1" KeyPath="yes" Source="SourceDir\Foo1.dll" /> </Component> <Component Id="id2" Guid="*"> <File Id="fid2" KeyPath="yes" Source="SourceDir\Foo2.dll" /> </Component> ...

How do I fix a HEAT5301 error with WiX 3.5.1811.0

My project, which used to build fine with WiX 3.0, now fails with heat.exe : error HEAT5301: Invalid project output group: Binaries3bSources3bSatellites%3bDocuments. I found this ProjectOutputGroup in the wix.targets file but it looks like this: <CreateItem Include="@(_MSBuildProjectReferenceExistent)" Condition=" '%(_MSBui...

using wix to register .Net assembly marked for COM interop

I've got a vanilla .net class library which contains some types which are [ComVisible] and the assembly itself is marked "Register for COM Interop". I'm trying to build a WIX installer for the app which will need to not only copy the .net assembly to the INSTALLATIONDIR on the target machine, but also do the work of registering that the ...

How can I exclude files from harvesting a folder with heat (WiX 3.5)?

I would like to harvest a folder with a lot of files by using heat.exe. But instead of harvesting all files, I would like to exclude specific file extensions like "*.txt" or something like that. How can I do this? ...

Create US heat map with mouseover popup features and NO FLASH

HI, Currently am using an interactive flash map on my website, which displays different colors for different states of US based on some data. I also have a mouseover feature to display additional data when user hovers over a state. Are there any tools to achieve the above functionality without using flash (mobile compatible). I'm ready...

Setting keypath when automatically harvesting a project using Votive

I'm using the project reference feature of WiX to harvest a project automatically using Heat. This is particularly useful since the WiX installer is being built both locally and on a TFS2010 build server, and when it's built on the build server the output is redirected to a different location meaning that if I don't automatically harvest...