Launch dialog on uninstall using WiX

孤街醉人 提交于 2019-12-24 09:27:45

问题


I have created a WiX installer and would like to launch a custom action dialog on uninstall. From this dialog I would like to gather information on why the user is uninstalling my application (well, this means just launching the web-browser).

I have seen some people using the On="uninstall" property, but I am not sure if this is the one to use, and how to use it, for the above action.


回答1:


Windows doesn't show UI when a product is uninstalled from Add/Remove Programs or Programs and Features.




回答2:


JakobJ: I wouldn't mess with this uninstall sequence. Any modal dialog that pops up when the installation is run in silent mode (which it is from add/remove) could cause your entire product to be axed in a corporate environment. If your uninstall is invoked from a management system such as SCCM and the uninstall on a lot of machines fails because the uninstall gets stuck on a dialog, this will not soon be forgotten. Trust me.



来源:https://stackoverflow.com/questions/4838526/launch-dialog-on-uninstall-using-wix

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!