从installshield中的命令行创建.exe

时间:2017-01-12 10:40:55

标签: file text command-line exe installshield

我们可以在installshield中从命令行生成.exe文件,那个.exe文件会打开一个文本文件吗?我知道如何从Install shield UI创建.exe文件,但我没有找到任何使用installshield从命令行创建exe的东西。

1 个答案:

答案 0 :(得分:1)

如果您的InstallShield项目已发布(在我的示例版本中称为“Othello Beta”),它会生成.exe包,并且您希望从命令行构建它,则需要使用自动化。为此,您将使用:

ISCmdBld.exe: Hot to use ISCmdBld.exe,示例如下:

- InputArtifacts: []
      Name: !Join ["",[!Ref GitHubRepository, "-prd-approval"]]
      ActionTypeId:
        Category: Approval
        Owner: AWS
        Version: '1'
        Provider: Manual
      OutputArtifacts: []
      Configuration:
        NotificationArn: !GetAtt ["SNSApprovalNotification", "Outputs.SNSTopicArn"]
        ExternalEntityLink: OutputTestUrl
      RunOrder: 3

IsSABld.exe:这将如下所示:

ISCmdBld.exe -p "C:\InstallShield 2012 Spring Projects\My Othello Project\Othello.ism" -r "Othello Beta" -c COMP -a "Build 245"