luke signh
luke signh

Reputation: 139

Escape ; (semicolon) in Inno Setup

How do I escape the semicolon in C:\;D:\;?

Filename: "configFile.ini"; Section: General; Key: Ignore Drives; \
    String: C:\;D:\; Flags: createkeyifdoesntexist

Upvotes: 1

Views: 503

Answers (1)

Martin Prikryl
Martin Prikryl

Reputation: 202292

You should quote all strings (even if they do not contain semicolon):

String: "C:\;D:\;"

Read documentation on section parameters.

Upvotes: 1

Related Questions