在安装过程中,可以使用以下代码(How to update the InnoSetup Wizard GUI status text from PascalScript code)从InnoSetup事件处理程序"CurStepChanged(ssPostInstall)“内部更新PascalScript向导状态文本:
WizardForm.StatusLabel.Caption := 'status update';这不适用于卸载。从"CurUninstallStepChanged(usUninstall)“内部访问此属性失败,并显示以下错误:
"Runtime Error: Line 526: Exception: Internal Error: An attempt was made to access WizardForm before it has been created."您知道如何在卸载过程中更改InnoSetup向导状态文本吗?也许"usUninstall“太早了?但是标签已经在那里,并且在卸载程序的GUI中可见...
发布于 2010-08-05 17:08:46
我找到了解决方案:
UninstallProgressForm.StatusLabel.Caption := 'status update';https://stackoverflow.com/questions/3403461
复制相似问题