在更新应用程序时,我正在尝试关闭“托盘应用程序”。从"Windows服务“关闭托盘的功能如下所示:
<util:CloseApplication
Id="CloseTrayAgent"
Target="$(var.TrayAgentBinName).exe"
RebootPrompt="no"
CloseMessage="yes"
Description="Tray application is still running"/>
<InstallExecuteSequence>
<Custom Action="WixCloseApplications" Before="RemoveFiles" />
</InstallExecuteSequence>
如果从“用户”(仅从用户控制台)调用更新,则该方案有效,但如果从"Windows服务“调用更新,则该方案不起作用。我检查了msi日志,但在我看来没有错误。
我的错误在哪里?谢谢。
https://stackoverflow.com/questions/50760660
复制相似问题