Reputation: 772
I want to show a loading image when user click on next button in installer made using Innosetup deployment script..Is there any way to do this.
Upvotes: 1
Views: 1705
Reputation: 2018
You have to create a custom wizard page. In this page you can put an image
There are example in inno setup examples directory about creating custom wizard page. Basically your script section page would look like this
[Code]
Var
MyPage: TWizardPage;
Procedure CreateMyPage;
Var
MyImageDisplay: TBitmapImage;
MyImage: TBitmap;
Begin
MyPage := CreateCustomPage(wpSelectDir, 'Licence checking', 'The setup will now verify your licence');
//
MyImageDisplay := TBitmapImage.Create(MyPage.Surface);
// set the props... do something with it
MyImage := TBitmap.Create;
// set the props, load a file
MyImageDisplay.Bitmap.Assign(MyImage)
End;
procedure InitializeWizard;
Begin
CreateMyPage;
End;
Upvotes: 2