【发布时间】:2013-03-29 12:40:08
【问题描述】:
我添加了一个自定义操作,使用 WixShellExec 在完成对话框后打开日志文件。一切似乎都很好,但日志文件显示在后台。有没有办法将日志文件带到顶部?
自定义操作是:
<Property Id="WixShellExecTarget" Value="[MsiLogFileLocation]" />
<CustomAction Id="LaunchApplication" BinaryKey="WixCA"
DllEntry="WixShellExec" Impersonate="yes" Return="check" />
我还尝试在帖子I can use WiX to launch my app at the end of install, but I can't get my app to run in the foreground 中使用自定义操作,但我找不到日志文件的 FileKey 属性值。有人知道它的价值吗?提前致谢。
【问题讨论】:
-
抱歉,自定义操作是