1
有谁知道用于控制Wise Installation Studio的任何MSBuild或NAnt任务吗?Wise Installation Studio的MSBuild或NAnt或Rake任务
我知道,我应该只是使用WiX,但我目前的项目已经在Wise中,我需要自动化的是更新产品代码,升级部分和一些文本。
有谁知道用于控制Wise Installation Studio的任何MSBuild或NAnt任务吗?Wise Installation Studio的MSBuild或NAnt或Rake任务
我知道,我应该只是使用WiX,但我目前的项目已经在Wise中,我需要自动化的是更新产品代码,升级部分和一些文本。
我正在使用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