Is it possible to accept custom command line parameters with Inno Setup

前端 未结 10 1175
梦谈多话
梦谈多话 2020-12-02 15:33

I am preparing an installer with Inno Setup. But I\'d like to add an additional custom (none of the available parameters) command line parameters and would like to get the v

10条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-02 16:24

    In response to:

    "With InnoSetup 5.5.5 (and perhaps other versions), just pass whatever you want as a parameter, prefixed by a /" "@NickG, yes, every constant you can expand by the ExpandConstant function"

    • This is not the case. Trying to use a command line parameter in ExpandConstant in InnoSetup 5.5.6 results in a runtime error.

    PS: I would have added a comment directly but apparently I dont have enough "reputation"

提交回复
热议问题