Domanda

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?

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top