Announcement

Collapse
No announcement yet.

BMP file not displaying

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.....

    code:
    [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?

  • #2
    function .onInit
    InitPluginsDir
    SetOutPath $PLUGINSDIR
    File jcsmall.bmp
    functionend

    and then reference that file in your ini.

    Comment


    • #3
      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.

      Comment


      • #4
        Thanks for that, all working now

        Comment

        Working...
        X