Skip to content

Commit 0dc216e

Browse files
joeyaielloTravisEz13
authored andcommitted
Switch from BMP to PNG for graphical MSI installer assets (#9606)
This breaks rendering of images for Windows 7 and Server 2008R2, but it's required for accessibility purposes so that the High Contrast Black theme renders text correctly for accessibility. (Unfortunately, BMP does not support transparency.)
1 parent a39d985 commit 0dc216e

File tree

7 files changed

+3
-3
lines changed

7 files changed

+3
-3
lines changed

assets/Product.wxs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
<!-- Set properties for add/remove programs -->
4242
<Property Id="ARPHELPLINK" Value="$(var.InfoURL)" />
4343
<!-- custom images -->
44-
<WixVariable Id="WixUIBannerBmp" Value="assets\WixUIBannerBmp.bmp" />
45-
<WixVariable Id="WixUIDialogBmp" Value="assets\WixUIDialogBmp.bmp" />
46-
<WixVariable Id="WixUIExclamationIco" Value="assets\WixUIInfoIco.bmp" />
44+
<WixVariable Id="WixUIBannerBmp" Value="assets\WixUIBannerBmp.png" />
45+
<WixVariable Id="WixUIDialogBmp" Value="assets\WixUIDialogBmp.png" />
46+
<WixVariable Id="WixUIExclamationIco" Value="assets\WixUIInfoIco.png" />
4747
<WixVariable Id="WixUIInfoIco" Value="assets\ps_black_32x32.ico" />
4848
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Open $(env.ProductName)" />
4949
<!-- Default value of Checkbox of starting PowerShell after installation -->

assets/WixUIBannerBmp.bmp

-83.9 KB
Binary file not shown.

assets/WixUIBannerBmp.png

3.76 KB
Loading

assets/WixUIDialogBmp.bmp

-451 KB
Binary file not shown.

assets/WixUIDialogBmp.png

30.1 KB
Loading

assets/WixUIInfoIco.bmp

-3.15 KB
Binary file not shown.

assets/WixUIInfoIco.png

1.6 KB
Loading

0 commit comments

Comments
 (0)