Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wix,Heat and Wxi File

Tags:

wix

I am using heat.exe to genrate file listing, I need to replace File/@Source="SourceDir" so I am passing -var and directory name , but those variable are defined in my .wxi file How can I include .wxi file in the heat generated wxs file . as this file will be generated each time i make a build.

like image 383
Avinash Avatar asked Nov 06 '22 19:11

Avinash


1 Answers

Why replace SourceDir?

You can just pass in additional base folders to light with the -b switch and for all references of SourceDir, WiX will look in the base folders you've specified. Makes it easy to move things around between machines and only have to update a parameter in your build system, rather than editing an include file.

like image 156
saschabeaumont Avatar answered Dec 07 '22 03:12

saschabeaumont