Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top