Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 NSIS 创建安装程序。但是我想在安装过程中发生错误。由于脚本的长度等原因,在每一行或函数上使用 iferrors 会很困难。那么在 NSIS 中有什么方法可以让我至少通过行号或日志找到安装过程中发生的错误或其他任何东西。
你所拥有的只是IfErrors. 您通常只在Exec/ExecWait等之后检查。
IfErrors
Exec
ExecWait
如果您想在每条File指令后检查或您的目标是什么,请创建一个宏......
File