jcagle
8th November 2003 21:06 UTC
Changes to latest CVS
I haven't downloaded the latest CVS version of NSIS in a couple months. However, I dowloaded it today and am trying to work through the errors that I am getting. Can someone give me a hand?
Here are the errors:
!insertmacro: MUI_LANGUAGE
warning: !warning: The MUI_PRODUCT and MUI_VERSION defines have been removed. Use a normal Name command now.
(macro:MUI_INSERT:7)
!define: "MUI_TEXT_FINISH_INFO_TEXT" already defined!
!include: error in script: "C:\Program Files\NSIS\Contrib\Modern UI\Language files\English.nsh" on line 42
Error in macro MUI_LANGUAGE on macroline 5
Thanks for anyone's help!
jcagle
8th November 2003 21:15 UTC
Ok, I got the "Name" issue figured out. Now, this is the only error left (that is, until I get this corrected and then find other errors later on down my script):
!insertmacro: MUI_LANGUAGE
!define: "MUI_TEXT_FINISH_INFO_TEXT" already defined!
!include: error in script: "C:\Program Files\NSIS\Contrib\Modern UI\Language files\English.nsh" on line 42
Error in macro MUI_LANGUAGE on macroline 5
Thanks again!
jcagle
8th November 2003 21:37 UTC
Ok, I found the issue, but I can't figure out a workaround. I defined MUI_TEXT_FINISH_INFO_TEXT within my script to display on the finish screen. However, it appears that MUI_TEXT_FINISH_INFO_TEXT has now been inserted into English.nsh. But, I don't want to use the MUI_TEXT_FINISH_INFO_TEXT that is defined in English.nsh...I want to use my definition for MUI_TEXT_FINISH_INFO_TEXT. Is there something I can set to override the definition of MUI_TEXT_FINISH_INFO_TEXT in English.nsh? I think I have to include English.nsh because of the other definitions within that file.
Help is greatly appreciated!!!!
Joost Verburg
8th November 2003 21:44 UTC
See the Modern UI Readme for the available text settings.
Define MUI_WELCOMEPAGE_TEXT before inserting the welcome page macro.
jcagle
8th November 2003 21:48 UTC
Joost, do you mean "define MUI_TEXT_FINISH_INFO_TEXT before inserting the MUI_LANGUAGE macro"? I think those are the 2 things I'm having issues with. If that is what you meant...that's what I am doing and getting this error. Any ideas?
Joost Verburg
8th November 2003 21:56 UTC
I'm talking about the welcome page text setting. You are using a wrong old way to change this text.
You should define MUI_WELCOMEPAGE_TEXT before inserting the welcome page macro to change the text.