Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 2nd October 2002, 11:38   #1
Swoosh2002
Junior Member
 
Join Date: Oct 2002
Location: France
Posts: 8
Angry 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 !
Swoosh2002 is offline   Reply With Quote
Old 2nd October 2002, 12:14   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 2nd October 2002, 14:20   #3
Swoosh2002
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
"
Swoosh2002 is offline   Reply With Quote
Old 2nd October 2002, 14:27   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 2nd October 2002, 16:36   #5
spanky
Senior Member
 
Join Date: May 2000
Posts: 295
Send a message via ICQ to spanky
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
spanky is offline   Reply With Quote
Old 2nd October 2002, 16:41   #6
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 2nd October 2002, 17:39   #7
spanky
Senior Member
 
Join Date: May 2000
Posts: 295
Send a message via ICQ to spanky
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
spanky is offline   Reply With Quote
Old 2nd October 2002, 17:49   #8
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 2nd October 2002, 17:53   #9
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,338
Please don't double post. I have already answered you:

Quote:
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
kichik is offline   Reply With Quote
Old 2nd October 2002, 17:57   #10
Swoosh2002
Junior Member
 
Join Date: Oct 2002
Location: France
Posts: 8
I don't understand evrything !!!

But Zip2EXE run !
I don't understand !
Swoosh2002 is offline   Reply With Quote
Old 2nd October 2002, 18:00   #11
Swoosh2002
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 | - [...]]
"
Swoosh2002 is offline   Reply With Quote
Old 2nd October 2002, 18:03   #12
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 2nd October 2002, 18:12   #13
Swoosh2002
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".
Swoosh2002 is offline   Reply With Quote
Old 2nd October 2002, 18:20   #14
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 2nd October 2002, 18:20   #15
rainwater
Senior Member
 
Join Date: Aug 2000
Posts: 396
Send a message via ICQ to rainwater
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
rainwater is offline   Reply With Quote
Old 2nd October 2002, 18:24   #16
Swoosh2002
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.
Swoosh2002 is offline   Reply With Quote
Old 2nd October 2002, 18:26   #17
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 2nd October 2002, 18:43   #18
Swoosh2002
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 ?
Swoosh2002 is offline   Reply With Quote
Old 2nd October 2002, 18:51   #19
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 2nd October 2002, 18:53   #20
Swoosh2002
Junior Member
 
Join Date: Oct 2002
Location: France
Posts: 8
So I must load an .nsi file ?
How to make a blank .nsi file ?
Swoosh2002 is offline   Reply With Quote
Old 2nd October 2002, 18:57   #21
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 2nd October 2002, 19:01   #22
rainwater
Senior Member
 
Join Date: Aug 2000
Posts: 396
Send a message via ICQ to rainwater
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.
rainwater is offline   Reply With Quote
Old 2nd October 2002, 19:13   #23
Joost Verburg
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
Joost Verburg is offline   Reply With Quote
Old 2nd October 2002, 21:21   #24
spanky
Senior Member
 
Join Date: May 2000
Posts: 295
Send a message via ICQ to spanky
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
spanky is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump