Search code examples
wix

How do you change the red-cd icon on WiX?


In the Wix wizard there's a red CD icon here:

enter image description here

and here:

enter image description here

How do you change it?

I tried adding:

<WixVariable Id="WixUIInfoIco" Value="Dashman-setup-icon.bmp" />
<WixVariable Id="WixUIExclamationIco" Value="Dashman-setup-icon.bmp" />

but it had no effect.


Solution

  • The red CD icons are part of the bitmaps used in the WixUIExtension. In the source code for WixUIExtension, you can view the bitmaps it uses. From UI Wizardy:

    <!-- WixUIBannerBmp 493 by 58 pixels,
         this bitmap will appear at the top of all
         but the first page of the installer-->
    <WixVariable Id="WixUIBannerBmp" Value="path\banner.bmp" />
    
    <!-- WixUIDialogBmp 493 by 312 pixels,
         this bitmap will appear on
         the first page of the installer.-->
    <WixVariable Id="WixUIDialogBmp" Value="path\dialog.bmp" />