最新消息:

NSIS 检测文件存在

nsis 永恒心锁 1753浏览 0评论
!define MUI_PAGE_CUSTOMFUNCTION_LEAVE DirectoryLeave

!insertmacro MUI_PAGE_DIRECTORY

Function DirectoryLeave

IfFileExists "$INSTDIR\*.*" 0 +3

 MessageBox MB_OKCANCEL|MB_ICONEXCLAMATION \

 "The destination folder already exists. $\r$\n \

Would you like to use it anyway?" MB_OK +2

 Abort

FunctionEnd
永恒心锁,版权所有丨如未注明,均为转载丨本网站采用BY-NC-SA协议进行授权

转载请注明:永恒心锁-分享互联网 » NSIS 检测文件存在

您必须 登录 才能发表评论!