|
|
|
|
#1 |
|
Junior Member
Join Date: Oct 2002
Location: France
Posts: 8
|
Hi i'm french and I want to use NSIS but when I run it I have this message :
" Make NSIS : comile error:see log for details MakeNSIS v2.0b0 - Copyright 1999-2002 Nullsoft, Inc. Portions Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler (zlib). Includes portions derived from bzip2 (see documentation for details). Contributors: nnop@newmail.ru, Ryan Geiss, Andras Varga, Drew Davidson, Peter Windridge, Dave Laundon, Robert Rainwater, Yaroslav Faybishenko, Jeff Doozan, Amir Szekely, Ximon Eighteen, et al. Can't open script " " " This is the same problem for all versions of NSIS 2.xx Thx for your help ! |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,338
|
Please try the latest CVS version from five minutes ago.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Oct 2002
Location: France
Posts: 8
|
Shit
I have again a problem :
" MakeNSIS v2.0b0 - Copyright 1999-2002 Nullsoft, Inc. Portions Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler (zlib). Includes portions derived from bzip2 (see documentation for details). Contributors: nnop@newmail.ru, Ryan Geiss, Andras Varga, Drew Davidson, Peter Windridge, Dave Laundon, Robert Rainwater, Yaroslav Faybishenko, Jeff Doozan, Amir Szekely, Ximon Eighteen, et al. Processing config: Processing plugin dlls: "C:\Program Files\NSIS\plugins\*.dll" - LangDLL::LangDialog - InstallOptions::dialog - nsisdl::download - nsisdl::download_quiet - ShowWin: isable- ShowWin::Enable - ShowWin::Hide - ShowWin::Show - System::Alloc - System::AllocCopy - System::Call - System::Free - System::FullAddr - System::FullCall - System::PartAddr - System::ShortAddr - System::ShortCall - nsExec::Exec - nsExec::ExecToLog - splash::show Processing script file: "C:\Program Files\NSIS\makensis.exe" Invalid command: MZ Error in script "C:\Program Files\NSIS\makensis.exe" on line 1 -- aborting creation process " |
|
|
|
|
|
#4 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,338
|
Run SetCVSShellCommands.exe
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#5 |
|
Senior Member
|
kichik, Last I checked this fix does not seem to work with the ModernUI. (the banner and some text are missing)
all work and no play makes jack a dull boy |
|
|
|
|
|
#6 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,338
|
What fix? SetCVSShellCommands.exe? What does it has to do with the modern UI? Are you sure you have downloaded the entire CVS tree? Makensis.exe isn't the only thing that changed...
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#7 |
|
Senior Member
|
I grabbed the nightly snapshot from http://nsis.sourceforge.net/nightly/nsis.zip
Then I extracted all included files to my NSIS folder. Then I right-clicked on my script, chose "Compile NSI using CVS NSIS" and it compiled okay.. but when I open the installer I notice some text is missing. (the problem goes away when I install NSIS b7) The text which is missing is: License page: Top text is missing. ("please review the license terms.. etc") and lower text "I you accept all the terms of the agreement.. etc") is also missing Choose components page: Hover description text is empty. Top text is missing ("Choose the components you want to install.") Chose install location page: Yop text is missing. ("Choose the folder in which to install.. etc") Installing page: Top text is missing ("Please wait while.." and "Setup was completed successfully") Have I overlooked something really stupid or am I just not able to use a CVS release with the ModernUI? If it helps to know.. my installer works fine if I install beta 7 but once I replace makensis.exe I begin to have problems. all work and no play makes jack a dull boy |
|
|
|
|
|
#8 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,338
|
Modern UI is working perfectly fine here for me...
The latest CVS snapshot requires you to recompile makensis.exe. It is always a good idea to recompile it after getting the latest CVS version. The macros in the modern UI header file have also changed. If all else fails attach your script and I will have a look at it. BTW, The last release was alpha 7 not beta
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#9 | |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,338
|
Please don't double post. I have already answered you:
Quote:
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
|
#10 |
|
Junior Member
Join Date: Oct 2002
Location: France
Posts: 8
|
I don't understand evrything !!!
But Zip2EXE run !
I don't understand ! |
|
|
|
|
|
#11 |
|
Junior Member
Join Date: Oct 2002
Location: France
Posts: 8
|
I have run "SetCVSShellCommands".
When I clique on the speed dials, I have this message now : " Usage: makensisw rep_de_makensis.exe [options] [script.nsi | - [...]] " |
|
|
|
|
|
#12 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,338
|
Where did you get this version from? Please go and download the latest CVS version, recompile makensis.exe, run SetCVSShellCommands.exe and use "Compile NSI Using CVS NSIS" from the right click menu.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#13 |
|
Junior Member
Join Date: Oct 2002
Location: France
Posts: 8
|
Right click on what ????
I have some icon where i can recompil. When I recompil NSISconf I have this message : " MakeNSIS v2.0b0 - Copyright 1999-2002 Nullsoft, Inc. Portions Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler (zlib). Includes portions derived from bzip2 (see documentation for details). Contributors: nnop@newmail.ru, Ryan Geiss, Andras Varga, Drew Davidson, Peter Windridge, Dave Laundon, Robert Rainwater, Yaroslav Faybishenko, Jeff Doozan, Amir Szekely, Ximon Eighteen, et al. Processing config: Changing directory to: "C:\Program Files\NSIS" Processing plugin dlls: "C:\Program Files\NSIS\plugins\*.dll" - InstallOptions::dialog - LangDLL::LangDialog - ShowWin: isable- ShowWin::Enable - ShowWin::Hide - ShowWin::Show - System::Alloc - System::AllocCopy - System::Call - System::Free - System::FullAddr - System::FullCall - System::PartAddr - System::ShortAddr - System::ShortCall - nsExec::Exec - nsExec::ExecToLog - nsisdl::download - nsisdl::download_quiet - splash::show Processing script file: "C:\Program Files\NSIS\nsisconf.nsi" Processed 1 file, writing output: Error: invalid script: never had OutFile command Error - aborting creation process " ...and when I recompil SetCVSShellCommands it's OK ! Is it good ? When I run Makensis I have this message : " MakeNSIS v2.0b0 - Copyright 1999-2002 Nullsoft, Inc. Portions Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler (zlib). Includes portions derived from bzip2 (see documentation for details). Contributors: nnop@newmail.ru, Ryan Geiss, Andras Varga, Drew Davidson, Peter Windridge, Dave Laundon, Robert Rainwater, Yaroslav Faybishenko, Jeff Doozan, Amir Szekely, Ximon Eighteen, et al. Processing config: Processing plugin dlls: "C:\Program Files\NSIS\plugins\*.dll" - InstallOptions::dialog - LangDLL::LangDialog - ShowWin: isable- ShowWin::Enable - ShowWin::Hide - ShowWin::Show - System::Alloc - System::AllocCopy - System::Call - System::Free - System::FullAddr - System::FullCall - System::PartAddr - System::ShortAddr - System::ShortCall - nsExec::Exec - nsExec::ExecToLog - nsisdl::download - nsisdl::download_quiet - splash::show Processing script file: "C:\Program Files\NSIS\makensis.exe" Invalid command: MZ Error in script "C:\Program Files\NSIS\makensis.exe" on line 1 -- aborting creation process " ...but now I can use the option "tools-recompil" and "tools-edit script". |
|
|
|
|
|
#14 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,338
|
As long as you can compile by right clicking on a NSI file and choose "Compile NSI Using CVS NSIS" you are good to go.
What do you mean by "I run makensis"? You don't get a window when you run makensis, you get a DOS window... If anything it is makensisw that you are running. How do you execute it? With a shortcut? If it's a shortcut, delete it, it's invalid. NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#15 |
|
Senior Member
|
Again, you can't just replace the files. The registry settings have changed. Why would you want to compile nsisconf.nsi? That is a config file. Btw, it no longer exists anyways in the lastest snapshot. The second log is because you do not have the correct registry settings. I would tell you what to do but Kichik already told you twice
|
|
|
|
|
|
#16 |
|
Junior Member
Join Date: Oct 2002
Location: France
Posts: 8
|
yes it was the shorcut of the last version.
But if I delete it, how I run NSIS ? When I click on Makensis I have a dos windows which open and close immediately. |
|
|
|
|
|
#17 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,338
|
So open makensisw.exe. Besides, it is far more comfortable to right a click a script and use compile nsi inmho.
If you want the shortcut back, compile the new makensis.nsi and install it. NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#18 |
|
Junior Member
Join Date: Oct 2002
Location: France
Posts: 8
|
When I click on Makensisw I have this :
" Usage: - File | Load Script... - Drag the .nsi file into this window - Right click the .nsi file and choose "Compile NSI" " What I must do to begin a new NSIS installation ? |
|
|
|
|
|
#19 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,338
|
It says it in the usage you just copied...
![]() - File | Load Script... - Drag the .nsi file into this window - Right click the .nsi file and choose "Compile NSI" You can do either one of those to start compiling. NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#20 |
|
Junior Member
Join Date: Oct 2002
Location: France
Posts: 8
|
So I must load an .nsi file ?
How to make a blank .nsi file ? |
|
|
|
|
|
#21 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,338
|
A .nsi file is a script file, just like in older versions...
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#22 |
|
Senior Member
|
You make the nsi file yourself. It is just a text file. NSIS doesnt have anything to do with how you create the file, it just knows how to compile it.
|
|
|
|
|
|
#23 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
You should also update your script to make it compatible with the new Modern UI version.
The macro system has changed since alpha 7, which included a very early version of Modern UI. Please have a look at the new Examples\Modern UI\Example.nsi |
|
|
|
|
|
#24 |
|
Senior Member
|
Sorry for posting my question in someone else's thread.. I thought our problems were related. It turns out they're not.
I updated my script to work with the new changes to the ModernUI. Everything works great now. yay. Thanks, kichik! all work and no play makes jack a dull boy |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|