Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WiX Heat tool, create Component with Win64 attribute

Tags:

wix

wix3.6

Is there a way to generate file using heat tool which will have Win64 attribute in Component sections?

The problem is, in my 64-bit installer most of the files are 32-bit components, which must be marked as Win64="no" in Component entries. I use heat tool to generate them, so additional manual step is since required, and this brokes our automated build.

UPDATE: The short answer is "no" (which is marked as answer), I suppose I will just go with some additinal tool which will do the job.

like image 201
Petr Abdulin Avatar asked Dec 03 '22 02:12

Petr Abdulin


1 Answers

Heat.exe doesn't have a switch for this, but candle.exe does. Feed -arch x64 to the command line of candle.exe, and it will set platform defaults for package, components, etc.

BTW, the question was originally asked here.

like image 109
Yan Sklyarenko Avatar answered May 03 '23 04:05

Yan Sklyarenko