I am running heat to generate a wxs file. The code are as follows.
I want to add all the files from dir.prompts to the wxs file in the installer. And I added this to be a part of the automated build process ( so that I cant modify the wxs file once it has been generated).
The wxs file is generated, and it looks something like the following. Hoewever, then Light complains it can not find where SourceDir\Valid.wav is. So I guess my question is, is SourceDir the directory that I am reading the files from, or some magic directory that i am not aware of? Many thanks.
<Fragment>
<ComponentGroup Id="COMPONENTS">
<Component Id="dmp120F8C2794******" Directory="dir31A7EE61C56025FE2564A81E28E8C132" Guid="{6D40EBC0-***-***-B972-**********}">
<File Id="fil919100C2******D045EC131" KeyPath="yes" Source="SourceDir\Valid.wav" />
</Component>
<exec program ="${dir.wix}\heat.exe">
<arg value = "dir"/>
<arg line = "${dir.prompts}"/>
<arg value= "-gg"/>
<arg line="-cg "COMPONENTS""/>
<arg line = "-out "${dir.thisinstaller}\\COMPONENTS.wxs""/>
</exec>