> Date: Wed, 14 May 2008 09:08:01 -0500
> From: "Eric Latendresse" <[EMAIL PROTECTED]>
> Subject: [WiX-users] Build Automation with NAnt
>
> Does anyone have any documentation on this?
I use ANT, but the concepts are probably the same.
My task just calls candle.exe and light.exe with exec. Look up the
candle/light command line options in the WiX help.
My build file looks like this. You'll need to create properties that
are appropriate for you.
<target name="build" depends="clean" >
<sequential>
<!-- "Compile" the WiX project -->
<delete file="${wix.object}"/>
<exec executable="${wix.dir}/candle.exe"
failonerror="true" >
<arg value="${ant.project.name}.wxs"/>
</exec>
<!-- "Link" the WiX project -->
<delete file="${msi.file}"/>
<exec executable="${wix.dir}/light.exe"
failonerror="true" >
<arg value="-ext"/>
<arg value="WixUIExtension"/>
<arg value="-ext"/>
<arg value="WixUtilExtension"/>
<arg value="-cultures:en-us"/>
<!-- Suppress validation to avoid exception -->
<arg value="-sval"/>
<arg value="-out"/>
<arg value="${msi.file}"/>
<arg value="${wix.object}"/>
</exec>
</sequential>
Nothing too fancy here.
Dale
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users