Inno Setup parameter with quotes in [Run] section

前端 未结 2 1205
执念已碎
执念已碎 2021-01-01 11:36

I use [Run] section to modify the merit value of some codecs with commandmerit.exe that supports command-line.

So the syntax is:

         


        
2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-01 12:31

    To add quotes to a parameter, you must double up each quote, and then put quotes around the entire value.

    Your second attempt was close but you forgot the middle ones.

    Filename: "{app}\Commandmerit.exe"; Parameters: """{F8FC6C1F-DE81-41A8-90FF-0316FDD439FD}"" ""0x10000000"""; WorkingDir: "{app}"
    

提交回复
热议问题