10

I know that StatusMsgcan only be used in the [Run] selection. I want to use the same in the [Code] Selection, Please Help me to solve this,

Thanks in advance, Regards Samuel J

az01
  • 1,988
  • 13
  • 27
SamuelJames84
  • 277
  • 4
  • 10
  • possible duplicate of [How to update the InnoSetup Wizard GUI status text from PascalScript code](http://stackoverflow.com/questions/2514107/how-to-update-the-innosetup-wizard-gui-status-text-from-pascalscript-code) – jachguate Jan 05 '15 at 13:07

1 Answers1

16

You can change the status label contents at runtime using:

WizardForm.StatusLabel.Caption := 'Intalling WibbleTech Widget'

See the Support classes reference for the full list of controls and properties you can change.

Deanna
  • 23,876
  • 7
  • 71
  • 156
  • 1
    If you want to do this in the `PrepareToInstall` function, it's a bit different: https://stackoverflow.com/a/23633694/2534880 – Sébastien Oct 17 '17 at 11:11