Change WizardSmallBitmapImage in Inno Setup Uninstaller

In the installer, you can easily change the small raster map in the upper right corner of the wizard using this code:

[Setup]
WizardSmallImageFile=gfx\bitmap.bmp

Hovewer, how do I change the same bitmap in the upper right corner of the uninstall wizard? There are no parameters for this.

I think one solution is to let the installer extract the desired bitmap into {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 do not want {app}this satellite raster image to be installed in mine , I want it to be compiled into an uninstaller. Is there any way to compile this bitmap into an uninstaller? Or is there another way how to change this bitmap in the delete wizard?

+3
1

, .

+4

Source: https://habr.com/ru/post/1760620/


All Articles