Inno Setup 安装退出代码

0 安装程序运行完成。
1 安装程序初始化失败。
2 用户在实际安装开始前单击向导页中的“取消”,或在“这将安装…”消息框中选择了“否”。
3 当准备移到下一个安装页 (例如,从显示的准备安装向导页到实际安装进程) 遇到一个致命错误。这应该不会发生,除非在意外的环境中,就象内存溢出或 Windows 资源溢出。
4 在实际安装进程中发生一个致命错误。
注意: 导致错误时会显示一个“中断、重试、忽略”框的不是致命错误。如果在这种消息框中选择“中断”,将返回退出代码 5。
5 在实际安装进程时单击“取消”,或在“中断、重试、忽略”消息框中选择“中断”。
6 安装进程被调试器强制终止 (运行 | 在 IDE 使用终止)。
7 The Preparing to Install stage determined that Setup cannot proceed with installation. (First introduced in Inno Setup 5.4.1.)
8 The Preparing to Install stage determined that Setup cannot proceed with installation, and that the system needs to be restarted in order to correct the problem. (First introduced in Inno Setup 5.4.1.)
在返回 1、3 4, 7, 或 8 退出代码前,将显示一个说明问题的错误消息。
以后的 Inno Setup 版本可能会返回另外的退出代码,应用程序检查退出代码的用意是能直观地处理意外的退出代码。任何非零值退出代码表示安装程序未完成。

猜你喜欢

转载自blog.csdn.net/qq_26318597/article/details/128349138
今日推荐