我正在研究能够安装2个工具的MSI文件。这两个工具都是从exe文件安装的,但可以通过 这样的参数静默启动,例如/ SI 我可以在没有任何问题的情况下构建项目,而不会发出警告......解除安装也可以正常工作。 如果我双击我的MSI文件,这两个软件都是没有问题....安装然后 我可以毫无问题卸载......通过msiexec/i ..安装MSI/qn
,但如果我用我的启动MSI文件MSIEXEC/I mymsi.msi/QN这次只安装了第一个软件TOOL-A ...然后没有别的。 你可以看到我下面的配置: 工具 - 自定义操作
Tool-A Custom Actions:
Executable Filekey: setup.exe
Command Line: /SI
Return Processiong: Synchronous (check exit code)
In-Script Execution: Immediate Execution
Execution Scheduling: Execute only once
Install UI Sequence: After ExecuteAction
Install UI Condition: Not Installed
Install Exec Sequence: After InstallFinalize
Install Exec Condition: Not Installed
Advertise Exec Sequence: Absent from sequence
Admin UI Sequence: <Absent from sequence>
Admin Exec Sequence: <Absent from sequence>
MSI Type Number 274
而对于第二个工具(使用MSIEXEC从未安装)
Tool-B custom action
Executable Filekey: setup.exe1
Command Line: /q
Return Processiong: Synchronous (check exit code)
In-Script Execution: Immediate Execution
Execution Scheduling: Execute only once
Install UI Sequence: After tool-A
Install UI Condition: Not Installed
Install Exec Sequence: After tool-A
Install Exec Condition: Not Installed
Advertise Exec Sequence: <Absent from sequence>
Admin UI Sequence: <Absent from sequence>
Admin Exec Sequence: <Absent from sequence>
MSI Type Number 274
所以,如果有人能帮助我吗?取消:如果MSI通过双击启动没有问题:安装了tool-A和tool-B! 如果我使用Msiexec/i mymsi.msi/qn只是安装工具-A!