RobeN
RobeN

Reputation: 5456

How to call MinimumSpace or Space value in Inno Setup

In Inno Setup we have WizardForm.DiskSpaceLabel.Caption which calls Space (MinimumSpace) via [mb] StringChange function. How to call Space or [mb] for custom TLabel?

Upvotes: 1

Views: 236

Answers (1)

TLama
TLama

Reputation: 76693

It is the ExpandSetupMessage function that internally calls ExpandSetupMessageEx, which expands message arguments like [kb] or [mb]. Unfortunately, it is not published for Inno Setup Pascal Script.

So, your manual evaluating of these arguments is the only possible way to have at this time.

Upvotes: 1

Related Questions