lars1106
2nd June 2004 10:49 UTC
Upgrade to 2.0
Hello all
I just upgraded to version 2 of NSIS, unfortunately without backup from previous version :(
Now it won´t compile - and I need to get the version out fast.
Can someone help please, then in the weekend I will dig deeper into the chances made in the versions. I enclose the small nsi file
Thanks in advance for any assistance
Wbr
Lars
deguix
2nd June 2004 12:02 UTC
I made a convertion to 2.0 for you, but I cannot garantee if will totally work as you wanted, because it had already some wrong parts, like two WriteUninstaller commands using same folder. That's why I commented the old "Section Selection" stuff as I'm not certain if the new code will do the work (I never used Sections.nsh).
Try it.
lars1106
2nd June 2004 16:53 UTC
Thanks for prompt assistance - however it still is teasing me :-) I get these messages:
File: "F:\Program Files\NSIS\Contrib\Icons\modern-wizard.bmp" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] filespec [...]|/oname=outfile one_file_only)
Error in macro MUI_WELCOMEFINISHPAGE_INIT on macroline 5
Error in macro MUI_GUIINIT on macroline 2
Error in macro MUI_FUNCTION_GUIINIT on macroline 4
Error in macro MUI_INSERT on macroline 11
Error in macro MUI_LANGUAGEFILE_BEGIN on macroline 4
!include: error in script: "F:\Program Files\NSIS\Contrib\Modern UI\Language files\English.nsh" on line 9
Error in macro MUI_LANGUAGE on macroline 5
Error in script "F:\Program Files\NSIS\Force\force3.nsi" on line 55 -- aborting creation process
Joost Verburg
2nd June 2004 17:01 UTC
Remove that ReserveFile line.
lars1106
2nd June 2004 17:08 UTC
Thanks Joost - I got so far in the mean time, however it is the other error which is botherering me:
!insertmacro: MUI_LANGUAGE
!define: "MUI_TEXT_WELCOME_INFO_TEXT" already defined!
!include: error in script: "F:\Program Files\NSIS\Contrib\Modern UI\Language files\English.nsh" on line 14
Error in macro MUI_LANGUAGE on macroline 5
Error in script "F:\Program Files\NSIS\Force\force3.nsi" on line 55 -- aborting creation process
I do not understand the diffs. of language files in the "new" version..
Joost Verburg
2nd June 2004 17:51 UTC
You should define MUI_WELCOMEPAGE_TEXT.
Remember thst this forum is not a script fixing service, please read the Modern UI documentation before asking.
lars1106
2nd June 2004 18:10 UTC
Hi Joost
I know this - I also know that finding the chances in your versions and become proficient in them always takes time - and I was in bit of a timeconstraint this time. Guess I will have to make do with the old version of NSIS a while yet.
Thanks anyway