windows - 在 Inno Setup 卸载程序中更改 WizardSmallBitmapImage

标签 windows inno-setup

在安装程序中,您可以使用以下代码轻松更改向导右上角的小位图:

[Setup]
WizardSmallImageFile=gfx\bitmap.bmp

但是,如何更改卸载程序向导右上角的相同位图? 这似乎没有任何参数。

我认为解决方案之一是让安装程序将所需的位图提取到 {app} 中,然后使用此代码:

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

但是,我不想让那个卫星位图卡在我的 {app} 中,我希望它被编译到卸载程序中。是否有可能以某种方式将该位图编译到卸载程序中?或者是否有其他方法可以在卸载程序的向导中更改该位图?

最佳答案

不,无法将其他文件编译到卸载程序中。

关于windows - 在 Inno Setup 卸载程序中更改 WizardSmallBitmapImage,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3525182/

相关文章:

inno-setup - Inno Setup 中的 DiskSpaceLabel 和 ComponentsDiskSpaceLabel 有什么区别?

windows - 快速启动栏和 Inno Setup v6

windows - SDK windows丛林

c - 如何插值 HSV 颜色?

c - sleep() 函数不起作用?

c++ - 使用 MinGW/MSYS 和 CMake 对 `libintl_gettext' 的 undefined reference

inno-setup - 设置完成后将变量写入 .txt

windows - 在 Windows 7 中,是否可以在用户未登录的情况下获取 GUI 应用程序主窗口的标题?我知道,立即回答是否定的

windows - 使用 Inno Setup 安装程序安装 Windows shell 扩展 DLL

windows-installer - Inno Setup 中的 msi 返回码