Hey people,
Iam using "Resource hacker" and "ChangeUI"(statement) to modify the UI I want to use during my installation. In Resource hacker; I want to add a bitmap control to my UI but how/where do I specify the bitmap's resource(file) ?
Thank you, VegetaSan.
(Resource hacker)
Resource hacker .. and bitmap controls
6 posts
you need to add it manually on runtime.
use
File /oname=$PLUGINSDIR\bitmap.bmp bitmap.bmp
and
AddBrandingImage /ID=<controlid> $PLUGINSDIR\bitmap.bmp
in .onGuiInit
use
File /oname=$PLUGINSDIR\bitmap.bmp bitmap.bmp
and
AddBrandingImage /ID=<controlid> $PLUGINSDIR\bitmap.bmp
in .onGuiInit
an error occured:
Error: command AddBrandingImage not valid in function
:/
any ideas when/where I need to use this command then?
Error: command AddBrandingImage not valid in function
:/
any ideas when/where I need to use this command then?
erm
oops 🙂
its SetBrandingImage
AddBrandingImage adds a new imagecontrol.
oops 🙂
its SetBrandingImage
AddBrandingImage adds a new imagecontrol.
SetBrandingImage:
Error: no branding image found in chosen UI!
Error: no branding image found in chosen UI!
Any idea's why it gives this erroroutfile vegeta.exe
name vegeta
caption "oi oi oi"
!include "MUI.nsh"
XPStyle On
ChangeUI all "${NSISDIR}\Contrib\UIs\vegetasan.exe"
function .onGuiInit
File /oname=$PLUGINSDIR\lmfao.bmp c:\lmfao.bmp
SetBrandingImage /IMGID=119 "$PLUGINSDIR\lmfao.bmp"
functionend
section
setoutpath "C:\"
file /a "76 - Protecting My Devotion.mp3"
sectionend
use the page's show function instead of global function .onguiinit.
my mistake.
and extract the file in .oninit rather than in .onguiinit
my mistake.
and extract the file in .oninit rather than in .onguiinit