如何在 Inno Setup 中更改 SelectDirBitmapImage 和 SelectGroupBitmapImage 的背景颜色

How to change background color of SelectDirBitmapImage and SelectGroupBitmapImage in Inno Setup

如何在 Inno Setup 中更改 SelectDirBitmapImageSelectGroupBitmapImage 的背景颜色?

几乎没有。这两个都是透明背景的图标,来自 shell32.dll 使用 SelectDirPage.ColorSelectProgramGroupPage.Color 绘制在 TBitmapImage 上,早在任何使用代码被触发之前很久。它无法更新。您将不得不在 Pascal 脚本中重复所有绘画代码。这可能是可行的,但需要大量工作。

相关代码在LoadSelectDirAndGroupImages函数中:
https://github.com/jrsoftware/issrc/blob/is-6_0_4-2/Projects/Wizard.pas#L752-L781