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

Posted by Karen Kwong on Stack Overflow See other posts from Stack Overflow or by Karen Kwong
Published on 2009-10-27T00:27:29Z Indexed on 2010/03/13 23:05 UTC
Read the original article Hit count: 805

Filed under:
|

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:> heat dir "c:\projectDir\projectA" -gg -ke -template:Product -out "c:\install\projectA\heatOutput"

heat.exe: warning HEAT5150 : Could not harvest data from a file that was expected to be a SelfReg DLL: c:\projectDir\projectA\plugin1.dll. If this file does not support SelfReg you can ignore this warning. Otherwise, this error detail may be helpful to diagnose the failure: Unable to load file: c:\projectDir\projectA\plugin1.dll, error: 126.

Q: Is it normal for this warning to be reported for every file?

If there's a current "How To create/convert to your first WiX install project with many files" tutorial, please point me to it. The key requirement is "with many files".

Thank-you

-Karen Kwong-

PS. I know that WiX is designed for incremental install project creation but it would be nice to know if there's an automated way to convert existing install projects.

© Stack Overflow or respective owner

Related posts about wix3

Related posts about heat