Tobias Leupold
Tobias Leupold

Reputation: 1722

NSIS MUI_WELCOMEFINISHPAGE_BITMAP not shown on Windows 10

I use NSIS to create a Windows installer for one of my projects. The script can be viewed on GitLab.

I just noticed that the MUI_WELCOMEFINISHPAGE_BITMAP image is shown as expected on Windows 7, but not on Windows 10, using the latest version NSIS 3.06.1.

Here's the installer started on Windows 7:

NSIS installer started on Windows 7

and the very same installer started on Windows 10:

NSIS installer started on Windows 10

I create the image from an SVG file in the following way:

inkscape --export-filename=image.png image.svg
convert image.png BMP2:image.bmp

Is this a bug? Or what do I have to change to make the image also appear on Windows 10?

Upvotes: 1

Views: 1342

Answers (1)

Tobias Leupold
Tobias Leupold

Reputation: 1722

Okay, after some further investigation, I can answer the question myself.

The problem is apparently the convert step. It messes up the image dimensions. Actually, the image has to be (and is) 164 x 314 px. The convert output seems to report a size of 20578468 x 1572865 px.

Seems like Windows 7 doesn't care, but Windows 10 does.

Saving the image using the GIMP made it work, using the correct settings: Either an indexed image, with or without RLE encoding or an 8-bit-RGB one. In each case, one has to check "Compatibility Options" → "Do not write color space information".

That's it ;-)

Upvotes: 1

Related Questions