|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
|
#1 |
|
Junior Member
Join Date: Oct 2006
Posts: 43
|
MessageBox after language selection but before welcome-screen
Hello,
I want to check wheather my software is installed already. is that's the case a message (yesNo) should be displayed that informs the user that he should deinstall first or ignore that. The problem is, when displaying that message in on.Init there has not been any language selection window already. How can I solve that problem ?Thanks in forward. Bye Defcon0 |
|
|
|
|
|
#2 |
|
Forum King
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
|
Move the message into .onGuiInit function.
Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Oct 2006
Posts: 43
|
When I add
Function .onGuiInit ${if} $LANGUAGE == ${LANG_GERMAN} Messagebox MB_ICONSTOP|MB_OK "Text1_GER" Abort ${ElseIf} $LANGUAGE == ${LANG_ENGLISH} MessageBox MB_ICONSTOP|MB_OK "Text1_ENG" Abort ${EndIf} FunctionEnd before my .onInit Function it says: Error: Function named ".onGuiInit" already exists. |
|
|
|
|
|
#4 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
|
you are using the modern ui or something that has taken over that function, read the MUI docs to get the name of the define you need to use
IntOp $PostCount $PostCount + 1 |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|