0
我写了一个带有!define MUI_CUSTOMFUNCTION_ABORT _onUserAbort
中止调用的NSIS脚本。在_onUserAbort
函数里我想删除一些文件。NSIS:如何清理中止安装的文件?
这里是我的功能:
Function _onUserAbort
MessageBox MB_YESNO "Are you sure you want to abort the installation?" IDYES true IDNO false
true:
;cleanup function
Abort
false:
FunctionEnd
如果我“是”什么都不做点击,但如果我点击“否”就中止安装。请帮助我。
谢谢你,它正在工作。 –