Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change WizardSmallBitmapImage in Inno Setup Uninstaller

In installer, you can easily change the small bitmap in wizard's top right corner using this code:

[Setup]
WizardSmallImageFile=gfx\bitmap.bmp

Hovewer, how to change that same bitmap in uninstaller's wizard's top right corner? There doesn't seem to be any parameter for this.

I think one of the solution is to let the installer extract the required bitmap into the {app} and then use this code:

procedure InitializeUninstallProgressForm;
var bitmap : string;
begin
    bitmap := ExpandConstant('{app}\uninst.bmp');
    uninstallProgressForm.WizardSmallBitmapImage.Bitmap.LoadFromFile(bitmap);
end;

However, I don't want to have that satelite bitmap hanging in my {app}, I want it to be compiled into the uninstaller. Is it possible to somehow compile that bitmap into the uninstaller? Or is there some other way how to change that bitmap in the uninstaller's wizard?

like image 548
Paya Avatar asked Aug 19 '10 18:08

Paya


1 Answers

No, there is no way to compile additional files into the uninstaller.

like image 80
Miral Avatar answered Sep 19 '22 10:09

Miral