commitmonitor Code
Monitor your SVN repositories and notifies you on new commits
Brought to you by:
steveking
<?xml version="1.0"?>
<project name="setup" default="setup">
<target name="setup">
<property name="verstring" value="${environment::get-variable('MajorVersion')}.${environment::get-variable('MinorVersion')}.${environment::get-variable('MicroVersion')}.${environment::get-variable('WCREV')}" />
<property name="msifilename" value="CommitMonitor-${verstring}" />
<!-- sign all binaries -->
<if test="${file::exists('..\..\signinfo.txt')}">
<foreach item="File" property="filename">
<in>
<items>
<include name="..\..\bin\${configuration}\*.dll" />
<include name="..\..\bin\${configuration}\*.exe" />
</items>
</in>
<do>
<exec program="signtool">
<arg value="sign" />
<arg value="${signinfo}" />
<arg value="${filename}" />
</exec>
</do>
</foreach>
</if>
<exec program="candle">
<arg value="-nologo" />
<arg value="-out" />
<arg value="..\..\bin\" />
<arg value="Setup.wxs" />
<arg value="WixUI_Custom.wxs" />
</exec>
<exec program="light">
<arg value="-nologo" />
<arg value="-out" />
<arg value="..\..\bin\${msifilename}.msi" />
<arg value="..\..\bin\Setup.wixobj" />
<arg value="..\..\bin\WixUI_Custom.wixobj" />
<arg value="${environment::get-variable('WIXUI')}\WixUI.wixlib" />
<arg value="-loc" />
<arg value="${environment::get-variable('WIXUI')}\WixUI_en-us.wxl" />
</exec>
<delete>
<fileset>
<include name="..\..\bin\*.wixobj" />
<include name="..\..\bin\*.wixpdb" />
</fileset>
</delete>
<if test="${file::exists('..\..\signinfo.txt')}">
<exec program="signtool">
<arg value="sign" />
<arg value="${signinfo}" />
<arg value="..\..\bin\${msifilename}.msi" />
</exec>
</if>
</target>
</project>