Mar*_*Wan 2 windows installation wix bootstrapper burn
我正在使用WiX(3.6)Burn bootstrapper将必备组件(Bonjour)与我的程序设置捆绑在一起.它工作得很好,但是:
我想在退出时向我的INSTALLDIR运行可执行文件的末尾添加一个步骤.我有点困难,想出这个.
我试过了:
<CustomAction Id="LaunchApp" Directory="INSTALLDIR"
ExeCommand="[INSTALLDIR]my app name.exe"/>
Run Code Online (Sandbox Code Playgroud)
但是不知道把它放在我的Burn的捆绑wxs文件中的哪个位置.有什么指针吗?谢谢!
编辑:
我也尝试过以下内容:
<CustomAction Id="LaunchApp" Directory="INSTALLDIR"
ExeCommand="[INSTALLDIR]Any Send.exe"/>
Run Code Online (Sandbox Code Playgroud)
在我的应用程序的安装程序MSI的末尾,但当它集成到Burn bootstrapper安装中时,此行似乎没有被执行.
回答:
将以下内容添加到元素中(我BootstrapApplicationRef
之前和之后添加了它Chain
):
<Variable Name="LaunchTarget"
Value="[ProgramFiles64Folder]Folder\Exe Name.exe"/>
Run Code Online (Sandbox Code Playgroud)
完全为我做了诀窍!
归档时间: |
|
查看次数: |
2844 次 |
最近记录: |