Archive: BMP file not displaying with Unicode NSIS


BMP file not displaying with Unicode NSIS
I used the following script, but it did not appear BMP file

http://nsis.sourceforge.net/ModernUI_Mod_to_Display_Images_while_installing_files


My first guess would be: Change LoadImageA to LoadImage


"user32::LoadImageA(i, t, i, i, i, i) i" should be "user32::LoadImageW(i, t, i, i, i, i) i" for Unicode NSIS as Anders said.
Are you sure your .bmp file is fine - it exists, it is not corrupted and it path is correct?
What directory do you extract the .bmp file into?


Originally posted by T.Slappy
"user32::LoadImageA(i, t, i, i, i, i) i" should be "user32::LoadImageW(i, t, i, i, i, i) i" for Unicode NSIS as Anders said.
This is incorrect, you are making the same mistake as the original script, if you are explicitly using the A/W version of a function then you MUST use the m or w type. Only functions without A/W suffix can use the t type since the system plugin just converts t to m or w based on the functions name...