使用命令行编译 inno .iss 文件

Compiling inno .iss file with the command line

我正在尝试通过命令行将 Inno .iss 文件转换为安装程序 .exe。

我在 Inno 网站上找到了这个页面,它向您展示了如何执行此操作: http://www.jrsoftware.org/ishelp/index.php?topic=setupcmdline

当我尝试这些命令时,我收到命令未找到错误:

'compil32' is not recognized as an internal or external command,
operable program or batch file.

我在尝试使用 iscc 而不是 compil32 时遇到了同样的错误。我也试过compil64,因为我的电脑是64位的,结果一样。

提前致谢。

这是基本的操作系统功能。您需要将 Inno Setup 二进制文件所在的目录放入您的系统 PATH,或者在 运行 时使用可执行文件的完全限定路径名。