Branding Images not in modern.exes included with NSIS?
I'm trying to add a branding image. On the left side would be preferable. I just can't seem to figure out how to make this happen. The closest I have gotten is:
!define MUI_UI "${NSISDIR}\Contrib\UIs\modern.exe"
!define MUI_CUSTOMFUNCTION_ONGUIINIT .ownGuiInit
Function .ownGUIInit
File logo.bmp
SetBrandingImage logo.bmp
!insertmacro MUI_GUIINIT
FunctionEnd
The error i get when compiling is:
Function: ".ownGUIInit"
File: "logo.bmp" [compress] 35231/107576 bytes
SetBrandingImage:
Error: no branding image found in chosen UI!
Can someone tell me what I'm doing wrong? It seems that maybe the modern.exe doesnt have ability to use a branding image?! If so, can someone show me where to get ones that do?
Thanks