如何使用 Zipdll 插件在 NSIS 中编写异常或类似内容? [英] How to write exceptions or something like that in NSIS with the Zipdll plugin?
本文介绍了如何使用 Zipdll 插件在 NSIS 中编写异常或类似内容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
也许有人知道如何为 Zipdll 插件编写 IfErrors
或类似的东西.
May somebody knows how to write IfErrors
or something like that for Zipdll plugin.
ZipDLL::extractall "c:\test.zip" "c:\output"
例如,当您没有足够的空间或没有获得许可时,zipdll 是否具有退出代码或某种检查错误的方法?
ZipDLL::extractall "c:\test.zip" "c:\output"
when for example you don't have enough space, or haven't got permission, does zipdll have a exit code or some way of checking for errors?
推荐答案
来自其 wiki 页面:
成功时,字符串success"在栈顶,否则报错留言.
On Success, the string "success" is on top of the stack, else an error message.
ZipDLL::extractall "c:\test.zip" "c:\output"
Pop $0
;$0 is now "success" or a error message...
这篇关于如何使用 Zipdll 插件在 NSIS 中编写异常或类似内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文