thanks, will give it a go!!
Newbee needing help
40 posts
ok, next. tryed the BG plugin again, it works fine but I get
!insertmacro: MUI_LANGUAGE
Error: Function named ".onGUIInit" already exists.
Error in macro MUI_FUNCTION_GUIINIT on macroline 2
Error in macro MUI_INSERT on macroline 11
Error in macro MUI_LANGUAGEFILE_BEGIN on macroline 4
!include: error in script: "C:\Program Files\NSIS\Contrib\Modern UI\Language files\English.nsh" on line 9
Error in macro MUI_LANGUAGE on macroline 5
Error in script "C:\Documents and Settings\admin2\Desktop\Simutrans.nsi" on line 61 -- aborting creation process
or a list of text thingys which havent worked and the installer is screwed. any ideas?
!insertmacro: MUI_LANGUAGE
Error: Function named ".onGUIInit" already exists.
Error in macro MUI_FUNCTION_GUIINIT on macroline 2
Error in macro MUI_INSERT on macroline 11
Error in macro MUI_LANGUAGEFILE_BEGIN on macroline 4
!include: error in script: "C:\Program Files\NSIS\Contrib\Modern UI\Language files\English.nsh" on line 9
Error in macro MUI_LANGUAGE on macroline 5
Error in script "C:\Documents and Settings\admin2\Desktop\Simutrans.nsi" on line 61 -- aborting creation process
or a list of text thingys which havent worked and the installer is screwed. any ideas?
same thing, it is not a problem with the rest of the script. HELP anybody???
See the MUI readme about custom functions (or something similar). The MUI uses .onGUIInit.
setting the language is a custom function?
No, "Customize Modern UI Functions".
ok, so how do i make the b/g image function to be called notusing .onguinit??
From the MUI ReadMe:
If you want add your own code to functions inserted by the Modern UI, such as the .onGUIInit function and the Page functions, create your own function and let the Modern UI functions call them. Use the defines to define the name of your functions.
Example:
!define MUI_CUSTOMFUNCTION_GUIINIT myGuiInit
Function myGUIInit
...your own code...
FunctionEnd
If you want add your own code to functions inserted by the Modern UI, such as the .onGUIInit function and the Page functions, create your own function and let the Modern UI functions call them. Use the defines to define the name of your functions.
Example:
!define MUI_CUSTOMFUNCTION_GUIINIT myGuiInit
Function myGUIInit
...your own code...
FunctionEnd
YEs! Thanks, it works!! codn't find that in my readme, sorry.
how do you work the Compare functions? I wnat to get it to compare the current installer with the one on my website and download it if necessary, all i can get it to do is say "you are uptodate" or download it regardless