Installation 如何在Inno安装脚本的[Code]部分设置状态消息?

Installation 如何在Inno安装脚本的[Code]部分设置状态消息?,installation,inno-setup,uninstallation,Installation,Inno Setup,Uninstallation,我知道StatusMsg只能在[Run]选择中使用。 我想在[code]选择中使用相同的代码, 请帮我解决这个问题 提前感谢,您可以在运行时使用以下方法更改状态标签内容: WizardForm.StatusLabel.Caption := 'Intalling WibbleTech Widget' 有关可以更改的控件和属性的完整列表,请参阅。的可能重复项如果要在preparetoall功能中执行此操作,则有点不同:

我知道
StatusMsg
只能在[Run]选择中使用。 我想在
[code]
选择中使用相同的代码, 请帮我解决这个问题


提前感谢,您可以在运行时使用以下方法更改状态标签内容:

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

有关可以更改的控件和属性的完整列表,请参阅。

的可能重复项如果要在
preparetoall
功能中执行此操作,则有点不同: