|
|
#1 |
|
Junior Member
Join Date: Dec 2006
Posts: 2
|
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 |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
|
My first guess would be: Change LoadImageA to LoadImage
IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#3 |
|
Major Dude
|
"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? Cool looking installers with custom design: www.graphical-installer.com Create Setup Pages easily: www.install-designer.com Build installers in Visual Studio 2005-2022: www.visual-installer.com or RAD Studio 2009 - 11 Alexandria: www.rad-installer.com |
|
|
|
|
|
#4 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
|
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...
IntOp $PostCount $PostCount + 1 |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|