I am using Inno Setup and I have created a progress page, set progress bar value and extract file:
ProgressPage := CreateOutputProgressPage('Preparing installations', '');
ProgressPage.SetProgress(50, 100);
ProgressPage.Show();
try
ProgressPage.Msg1Label.Caption := 'preparation ....';
ExtractTemporaryFile(C_Myfile);
ProgressPage.SetProgress(100, 100);
finally
ProgressPage.Hide();
end;
But when I start the installation the bar is on 0, when the file start extraction. How should the bar be set to 50?