我使用 InstallShield 2011(许可版本)构建.ism和.uip InstallShield 项目并从中创建.exe和.bin文件。由于我使用命令行参数(IsCmdBld.exe、InstallShieldUniversalCommandLineBuild.exe)和上述.ism和.uip项目来构建,因此我们很容易从它们创建 setup.exe 和 setup.bin。
我们的示例语法:
exec executable="${installShield.home}/IsCmdBld.exe" dir="."
arg line=' -p "../ISScript/setup.ism" -r "${release}" '
exec executable="${installShield.universal.home}/InstallShieldUniversalCommandLineBuild.exe" dir="."
arg line='"../universal/setup.uip" -build ${release}'
当我们考虑将InstallShield升级到最新版本时出现了这个问题,我们在最新的包中找不到构建工具(InstallShieldUniversalCommandLineBuild.exe)。因此,为基于 UNIX 的平台创建的安装程序 ( .bin ) 将停止。
仅供参考:当我们使用 InstallShield 11(许可版本)使用“InstallShieldUniversalCommandLineBuild.exe”作为可执行文件创建通用安装程序(.uip)时,我们的 InstallShield 11 中有一个名为“Universal”的包,其中包含上述命令行也。
如果您能在这方面帮助我们,我们将很高兴。