Skip to content
⌘ NSIS Forum Archive

BMP file not displaying

4 posts

starfighter5#

BMP file not displaying

I am trying to include a BMP in a custom page .ini created using HMNSIS editor.

The field in my ini file looks like.....

[Field 1]
Type=Bitmap
Text=jcsmall.bmp
Left=0
Right=112
Top=0
Bottom=139
When I compile and run everything runs fine, but if I move the setup.exe to another machine there is no image, if I put the BMP file into the same directory as the setup.exe on the new machine it shows up.

Is there a way to compile the BMP in the setup.exe?
MSG#
function .onInit
InitPluginsDir
SetOutPath $PLUGINSDIR
File jcsmall.bmp
functionend

and then reference that file in your ini.
jpderuiter#
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.