che*_*tan 4 installation wix wix3.7
<CustomAction Id="RegisterEXE" Directory="INSTALLDIR" ExeCommand=""INSTALLDIR]MyApp.exe" /Register" Execute="immediate" Return="ignore" />
<InstallExecuteSequence>
<Custom Action='RegisterEXE' After='InstallFinalize' />
</InstallExecuteSequence>
Run Code Online (Sandbox Code Playgroud)
我已经使用了这段代码,但它不执行 exe。Exe 将自己注册为 ole 服务器并执行一些其他任务。
用这个
<CustomAction Id="RegisterEXE"
Directory="INSTALLDIR"
ExeCommand=""[INSTALLDIR]TKW5.exe" /Register"
Execute="deferred"
Return="ignore"
Impersonate="no"
/>
<InstallExecuteSequence>
<Custom Action='RegisterEXE' After='InstallFiles' />
</InstallExecuteSequence>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
6988 次 |
| 最近记录: |