如何在Wix中的最终对话框后显示消息框

时间:2017-07-03 09:43:40

标签: wix

我们正在使用Wix V3.10 Toolset为我们的软件构建.msi设置。在卸载时,这是最后一个对话框:

enter image description here

问题:当用户按下“完成”按钮时,我们想要显示一个消息框:

enter image description here

但是消息框将显示在“完成”对话框之前。

代码:

<Custom Action="UninstallConfirmation" OnExit="success">(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")</Custom>

<CustomAction Id="UninstallConfirmation" Script="vbscript">
  <![CDATA[MsgBox("The software was successfully removed from your computer.")]]>
</CustomAction>

问题:如何在“完成”对话框后显示消息框?

1 个答案:

答案 0 :(得分:0)

以下是有关如何trigger a custom action from an UI element的示例。此示例显示如何使用自定义操作在安装完成时启动应用程序。

相关问题