The Bitmap control only understands BMP and JPEG, and JPEG, being lossy
compression, doesn't work too well with the bitmaps used by WiX.

The bitmaps do seem to be smaller in WiX 3.0 versus WiX 2.0, however.
Looking at the format I see that they're run-length encoded. It works pretty
well for the stock bitmaps as they have large areas of white - the total
goes down to 72KB.

In theory you can stuff a PNG image into a BMP file - it needs a
BITMAPFILEHEADER and a BITMAPINFOHEADER where you set the biCompression
field to BI_PNG (5). This is not supported on Windows 95. I don't know
whether this will work with Windows Installer, though.

-- 
Mike Dimmick

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stefan Webb
Sent: 21 June 2007 00:27
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Replacing stock bitmaps

Hi,

Is it possible to use jpg's or gif images to replace the stock bitmaps
used by the WiXUI? It seems like about 200KB of the MSI file is taken
up by uncompressed bitmaps.

Thanks.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to