View Single Post
Old 2nd September 2002, 10:18   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
1) Just !define it, and then you can use it where ever you want in the script.

Example:
!define NAME blabla
Section asd
MessageBox MB_OK "You are about to install ${NAME}"
SectionEnd
...
Section uninstall
MessageBox MB_OK "You are about to uninstall ${NAME}"
SectionEnd

2) Not currently.

3) Every time you get .onNextPage or .onPrevPage you need to use SetBrandingImage to change to current image according to the page you are currently in. That is unless you want to show just one image. If one image is the case, just set it once from .onNextPage.

4) Installation types are specified using the InstType command. You can specify up to 8 installation types, unlessed you have recompiled NSIS with other settings. To specify which section is in which installation type use SectionIn. Have a look at makensis.nsi, it is a good example for this.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote