如何检测 WiX 中正在运行的进程?
我正在使用 WiX 3 构建安装文件。我想知道安装过程中 Outlook 是否正在运行。如果 Outlook 仍在运行,安装程序应通知用户将其关闭或必须在安装后重新启动。
我注意到有一个功能 util:CloseApplication 可以直接发送消息关闭 Outlook,但这不是很友好。我想知道在这种情况下是否可以调用FileInUse对话框?
I'm using WiX 3 to build a setup file. I would like to know whether Outlook is running during the installation. If Outlook is still running, the setup should notify the users to close it or have to reboot after the installation.
I noticed that there is a feature util:CloseApplication can send a message to close Outlook directly, but that's not very friendly. I would like to know whether the FileInUse dialog can be called in such situation?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论