如何在Inno Setup中转义字符{和},这些字符在[Registry]部分中使用?
{,“{”不编译.
},“}”,{}}所有编译,但不起作用,它们导致注册表中的错误值.
最好的祝福.
你可以通过加倍来逃避它.没有必要转义},因为它仅在常量内使用.
从help file:
A “{” character is treated as the start of the constant. If you want to use that actual character in a place where constants are supported,you must use two consecutive “{” characters. (You do not need to double “}” characters.)