How escape a “{” and a “}” in Inno Setup

前端 未结 2 1515
深忆病人
深忆病人 2020-12-11 17:57

How can I escape the characters { and } in Inno Setup, the characters are used in the [Registry] section?

{,

2条回答
  •  遥遥无期
    2020-12-11 18:39

    I wanted to escape a quotation mark ("). Doubling it does not escape this,

    I was able to force the hex-code by using {%|%22}.

    On http://www.jrsoftware.org/ishelp/index.php?topic=consts this escaping is show as {%NAME|DefaultValue}. Leaving NAME empty makes it use the hex code.

提交回复
热议问题