2009-01-13 67 views

回答

1

我正在使用CruiseControl.NET--如果需要,它可以适用于Nant-only解决方案。我打电话给wfwi.exe,它包含在Wise安装中,用于命令行访问(here's the Wise installer manual which contains instructions for wfwi.exe)。下面是从我的ccnet.config片段:

<!-- build installers --> 

<exec> 
<executable>C:\Path\To\WiseWrapper.bat</executable> 
<buildArgs>"C:\Path\To\wfwi.exe" "C:\Path\To\Output.wsi" /c /p /s</buildArgs> 
</exec> 

<!-- build installer exes --> 

<exec> 
<executable>C:\Path\To\Wise32.exe</executable> 
<buildArgs>/c /s C:\Path\To\Your.wse</buildArgs> 
</exec> 

而且WiseWrapper.bat允许安装的ProductVersion使用CC.NET构建标签更新。 WiseWrapper.bat的全部内容是:

%1 %2 %3 %4 ProductVersion=%CCNetLabel% %5