- NSIS Discussion
- Could someone please tell me what this means?
Archive: Could someone please tell me what this means?
beeferoni
3rd April 2005 18:53 UTC
Could someone please tell me what this means?
!define: "MUI_INNERTEXT_COMPONENTS_DESCRIPTION_INFO" already defined!
!include: error in script: "C:\PROGRAM FILES\NSIS\Contrib\Modern UI\Language files\Russian.nsh" on line 28
Error in macro MUI_LANGUAGE on macroline 5
!include: error in script: "include\lang_russian.nsh" on line 1
Error in script "C:\WINDOWS\TEMP\yipb.tmp\default.nsi" on line 54 -- aborting creation process
---------------------------------------------------------------
I am trying to bundle my avs presets into a Pimpbot installer, and it keeps saying 'creation failed' then giving me this log.
I uninstalled and re-installed nsis and pimpbot, but it still happens. I can't make heads or tails of .nis scripting.:mad:
Comperio
3rd April 2005 19:49 UTC
It means that you have "MUI_INNERTEXT_COMPONENTS_DESCRIPTION_INFO"
Defined twice.
Becuase it's referencing the MUI_LANGUAGE, I'd say that either you have the macro in the wrong place (review the MUI docs for more info) or you are calling the macro more than one time (either in your main script or in one of your !include files).
(Keep in minder that NSIS's compiler simply reads scripts from the top down. Each time you reference another NSH file, it merges the file into the script. This way, the compiler only sees one big script file.)
beeferoni
3rd April 2005 23:28 UTC
erm, I'm afraid I am a complete and utter noob with these file extensions. In layman's terms, does it basically mean I have the same file twice somewhere? (Because Pimpbot writes all the nis script itself. I couldn't write one line to save my life.) So I don't even know what MUI or NSH files are. Sorry to be such a noob...:|
Comperio
5th April 2005 00:57 UTC
Not the same file defined twice, but the same !define was used twice. Since MUI_INNERTEXT_COMPONENTS_DESCRIPTION_INFO is used in the macro MUI_LANGUAGE, I'd say your script is probably calling this more than once (or you simply have the MUI_LANGUAGE macro in the wrong place.)
!define or !include statements are explained in the help manual. As for the MUI, take the time to look at the readme document installed along with NSIS (${NSISDIR/Contrib/Modern UI/Readme.html). This is where you'll find the proper usage of the MUI_LANGUAGE command.
You might also want to look at some of the example scripts included with the NSIS installation.
beeferoni
5th April 2005 05:40 UTC
Ok, thank you very much.
Yathosho
5th April 2005 10:14 UTC
are you using the latest version of pimpbot?
kichik
5th April 2005 18:47 UTC
The problem is with a bad Russian translation that was included in 2.05. A fixed version is included with 2.06.
beeferoni
10th May 2005 22:45 UTC
I should have had the latest version of pimpbot (2.06) loaded; I believe I loaded it directly from your deviant adress, Yathosho. In any case, I will re-dl it and try again. Thanks for all your help.
Yathosho
11th May 2005 10:53 UTC
the latest version of pimpbot is 2.15, but as kichik said before, upgrading to nsis 2.06 will fix the issue
beeferoni
12th May 2005 16:50 UTC
ah, ok. I see now. I may have had my versions mixed up. Thanks, guys.:up: