WiX工具集操作序列
项目团队已使main.exe文件可用于管理其Windows服务。.bat中的调用参数如下所示:WiX工具集操作序列,wix,Wix,项目团队已使main.exe文件可用于管理其Windows服务。.bat中的调用参数如下所示: main.exe (un)install ProjectSolution | ```+ MainProject | ```SetupMergeModule | | | SetupMergeModule.wxs | SetupMergeModuleCustom.wxs ```[Others] | `
main.exe (un)install
ProjectSolution
|
```+ MainProject
|
```SetupMergeModule
| |
| SetupMergeModule.wxs
| SetupMergeModuleCustom.wxs
```[Others]
|
```MSISetup
|
```Code
| |
| Feature.wxs
| Product.wxs
``` [Others]
我是WiX工具集的新手,我设法使用IsWiX扩展名将必要的文件添加到feature.wxs中。现在我想改变顺序如下:
main.exe (un)install
ProjectSolution
|
```+ MainProject
|
```SetupMergeModule
| |
| SetupMergeModule.wxs
| SetupMergeModuleCustom.wxs
```[Others]
|
```MSISetup
|
```Code
| |
| Feature.wxs
| Product.wxs
``` [Others]
main.exe卸载
,并确定其是否成功main.exe安装
,并确定其成功main.exe uninstall
我真的不想让WiX自己管理服务(un)安装。我应该如何改变XML中的序列?顺便说一下,我没有任何C#技能,但我知道我团队中的人可以
仅供参考,WiX项目的结构如下:
main.exe (un)install
ProjectSolution
|
```+ MainProject
|
```SetupMergeModule
| |
| SetupMergeModule.wxs
| SetupMergeModuleCustom.wxs
```[Others]
|
```MSISetup
|
```Code
| |
| Feature.wxs
| Product.wxs
``` [Others]
我使用的是最新的稳定版本3.8。使用安装服务。嗨,我的问题是,在安装过程中复制文件时,如何调用一系列指定命令。“我真的不希望WiX本身管理服务(un)安装”-实际上,这将是Windows Installer,因为这是标准功能。因此,自己动手操作超出了Windows Installer的预期用途。也许您不想使用Windows Installer。@TomBlodget,因为项目团队已经通过命令行
main.exe安装
和main.exe卸载
提供了它。我不想做额外的工作。我做了一些研究,并尝试了CustomAction,它成功了(由于VS问题,没有预期的效果,但这是一个进步)。复制标准Windows Installer功能是额外的工作,而且容易出错。我鼓励你学习它。