卸载后执行命令 [英] Execute a command after uninstall
本文介绍了卸载后执行命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要卸载后才能运行命令 ,该命令已删除已安装的文件. [UninstallRun]没有用,因为据我了解它可以在删除文件之前运行. 我有点需要"postuninstall"标志.
I need my uninstall to run a command after it's removed the files it has installed. [UninstallRun] is no use as I understand it runs BEFORE files are removed. I kind of need a "postuninstall" flag.
关于如何实现上述目标的任何建议?
Any suggestions as to how I can accomplish the above?
推荐答案
请参见"卸载文档中的事件函数".例如,当'CurUninstallStep时,您可以使用 CurUninstallStepChanged
'是'usPostUninstall'.
See "Uninstall Event Functions" in the documentation. You can use for instance CurUninstallStepChanged
when 'CurUninstallStep' is 'usPostUninstall'.
这篇关于卸载后执行命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文