|
|
|
|
#1 |
|
Junior Member
Join Date: Nov 2004
Location: Oslo, Norway
Posts: 12
|
Hi
I am new here and almost new to the NSIS installer.First of all, I wonder if there is a way to change the title of a message box: MessageBox MB_OK "This is a test :P" I am a skilled VB programmer, and in VB I use: MsgBox "This is a test :P", vbInformation, "This is the title I wonder excist in NSIS ;P" ---------------------------- Question nr. 2: I have seen some msgbox examples (in NSIS) where it is possible to make a default icon (instead of a Question or a Exclamation icon)... If it's possible, how can I change this icon? Thank you! BTW: NSIS is a very nice install system tnx! |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Nov 2004
Location: Oslo, Norway
Posts: 12
|
Thank you Afrow UK! You are the man!
|
|
|
|
|
|
#4 |
|
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
Or just call it from the system plugin API
code:
* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE. |
|
|
|
|
|
#5 |
|
Major Dude
|
to the devs:
what about adding another optional param to the messagebox command? so, if the last param (the title) is empty, default title will be used. hand by comm@nder21 ---------- WiKi pages:CreateInternetShortcut|Enhanced FindWindow|Parse CSV-Data|Open/Close CD-Drive|Installer without Icon|Vista application compatibility |
|
|
|
|
|
#6 | |
|
Senior Member
Join Date: Sep 2004
Location: Wisconsin, US
Posts: 258
|
Quote:
|
|
|
|
|
|
|
#7 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
It can't be the last paramater as the last paramaters are the jump-to's for the MessageBox buttons. It can't be a paramater before those though because that would mean all the current NSIS scripts would have to be changed ("" added).
It could be added to the actual text string, so you'd put Title:my title at the end of the string (or something). -Stu |
|
|
|
|
|
#8 |
|
Major Dude
|
ahyeah, that's a solution.
didn't think of the jumps
hand by comm@nder21 ---------- WiKi pages:CreateInternetShortcut|Enhanced FindWindow|Parse CSV-Data|Open/Close CD-Drive|Installer without Icon|Vista application compatibility |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|