Archive: MakeNSIS doesn't run !!!!!


MakeNSIS doesn't run !!!!!
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 !


Please try the latest CVS version from five minutes ago.


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::Disable
- 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
"


Run SetCVSShellCommands.exe


kichik, Last I checked this fix does not seem to work with the ModernUI. (the banner and some text are missing)


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...


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.


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 :)


Please don't double post. I have already answered you:

Run SetCVSShellCommands.exe

I don't understand evrything !!!
But Zip2EXE run !
I don't understand !


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 | - [...]]
"


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.


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::Disable
- 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::Disable
- 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".


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.


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 :)


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.


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.


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 ?


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.


So I must load an .nsi file ?
How to make a blank .nsi file ?


A .nsi file is a script file, just like in older versions...


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.


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


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!