Carlos, хоть музыку ставьте - как на WizardForm. код...
Код:
[Setup]
AppName=My Application
AppVersion=1.5
DefaultDirName={pf}\My Application
BitmapResource=test:compiler:WizModernImage.bmp
[Files]
Source: {fonts}\*; DestDir: {app}; Flags: external recursesubdirs
[B][[/B]Code]
procedure TestClick(Sender: TObject);
begin
MsgBox('test', mbInformation, MB_OK);
end;
procedure InitializeUninstallProgressForm;
begin
with UninstallProgressForm do begin
Width := ScaleX(757);
Height := ScaleY(500);
Position := poScreenCenter;
CancelButton.SetBounds(ScaleX(650), ScaleY(420), ScaleX(75), ScaleY(25));
CancelButton.Enabled := True;
CancelButton.OnClick := @TestClick;
with ProgressBar do begin
Parent := UninstallProgressForm;
SetBounds(ScaleX(10), ScaleY(370), ScaleX(727), ScaleY(25));
end;
with WizardSmallBitmapImage do begin
Parent := UninstallProgressForm;
SetBounds(ScaleX(0), ScaleY(0), ScaleX(600), ScaleY(300));
Bitmap.LoadFromResourceName(HInstance, '_IS_TEST');
end;
OuterNotebook.Hide;
MainPanel.Hide;
Bevel1.Hide;
StatusLabel.Hide;
BeveledLabel.Hide;
end;
end;