2017-07-03 61 views
0

我們正在使用Wix V3.10工具集爲我們的軟件構建.msi設置。在卸載這是最後一個對話框:如何在Wix中的最終對話框後顯示消息框

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> 

問:我們如何可以顯示消息框 「完成」 對話框後?

回答