Inno-Setup ISS 脚本可以包含外部 ISS 脚本文件吗?
我正在创建一个安装脚本,我想将其分解为更小、更易于管理的部分。有没有办法让 Inno 脚本文件具有 INCLUDE 或对另一个 ISS 脚本文件的引用,该脚本文件是独立的,并且在安装过程中总体上具有不同的功能,但成为完整安装本身的集成部分?
考虑: 程序安装.iss SQL安装程序 SOAPInstall.iss
ProgramInstall 将包含其他脚本并返回一个完整的 EXE,该 EXE 完成这项工作,就好像它们都在一个大文件中一样。
这不仅有助于管理目的,而且允许我重用经过测试并与其他主要应用程序安装项目一起使用的脚本。感谢您的任何帮助。
I'm creating an installation script that I'd like to break up into smaller, more manageable pieces. Is there a way for an Inno Script file to have an INCLUDE or a reference to another ISS script file that is separate and has a different function overall to play during installation but becomes an integrated part of the full installation itself?
Consider:
ProgramInstall.iss
SQLInstall.iss
SOAPInstall.iss
ProgramInstall would have an include to the other scripts and return one full EXE that did the job as if they were all in one large file.
Not only would this be helpful for management purposes but would allow me to reuse scripts that are tested and working with other main application installation projects. Thanks for any assistance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧 - 我想找到 CHM 文件的正确部分总是有帮助的:
http: //www.jrsoftware.org/ishelp/index.php?topic=scriptformatoverview
Inno-Setup 似乎包含一个类似 C 的
#include
指令。Well - I guess finding the right section of the CHM file is always helpful:
http://www.jrsoftware.org/ishelp/index.php?topic=scriptformatoverview
Inno-Setup seems to include an C-like
#include
directive.