开发者

Get [Messages] values in InnoSetup's language file

I know I can easily get messages inside

[CustomMessages]
AdditionalIcons=blablabla

using this code:

ExpandConstant('{cm:AdditionalIcons}');

which gets the AdditionalIcons string message. However, how can I get messages inside this?

[Messages]
ButtonNext=huhu
ButtonInstall=bubu

What I need is to get the ButtonNext, Button开发者_高级运维Install and other values, and it is NOT possible to get those values using code like this:

ExpandConstant('{cm:ButtonNext}');

How can I query those values?

Related links

Inno Setup Script tips


Try

SetupMessage(msgButtonNext);

In general, the name of the constant to use (in this case msgButtonNext) is msg + the name of the message (string concatination).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜