|
@@ -1885,12 +1885,12 @@ begin
|
|
end;
|
|
end;
|
|
WizardForm.Update;
|
|
WizardForm.Update;
|
|
try
|
|
try
|
|
- DownloadTemporaryFileAllowProcessMessages := True;
|
|
|
|
|
|
+ DownloadTemporaryFileProcessMessages := True;
|
|
CodeNeedsRestart := False;
|
|
CodeNeedsRestart := False;
|
|
Result := CodeRunner.RunStringFunctions('PrepareToInstall', [@CodeNeedsRestart], bcNonEmpty, True, '');
|
|
Result := CodeRunner.RunStringFunctions('PrepareToInstall', [@CodeNeedsRestart], bcNonEmpty, True, '');
|
|
PrepareToInstallNeedsRestart := (Result <> '') and CodeNeedsRestart;
|
|
PrepareToInstallNeedsRestart := (Result <> '') and CodeNeedsRestart;
|
|
finally
|
|
finally
|
|
- DownloadTemporaryFileAllowProcessMessages := False;
|
|
|
|
|
|
+ DownloadTemporaryFileProcessMessages := False;
|
|
UpdateCurPageButtonState;
|
|
UpdateCurPageButtonState;
|
|
end;
|
|
end;
|
|
Application.BringToFront;
|
|
Application.BringToFront;
|