Old 25th July 2016, 07:15   #1
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,700
Lightbulb NSIS v3.0 Final

Long-awaited version 3 of NSIS is finally ready. It comes with optional Unicode support, still works on all the same versions of Windows, supports Windows 10, and adds a lot of other small features and fixes. Huge thanks goes out to Anders and Wizou for making this happen and Jim Park for the original patch.
Anders is offline   Reply With Quote
Old 25th July 2016, 15:33   #2
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,354
*champagne*

Are here any maintainers of package repositories for Debian, Fedora, Slackware, MacPorts and the likes? I noticed several of these are outdated, and I think the big 3 is worth changing this.

Current Status:

- Debian (Jessie): nsis 2.46-6
- Debian (Wheezy): nsis 2.46-10
- Fedora 24: mingw-nsis 2.50-1.fc24
- Slackware: nsis 2.46
- Chocolatey: nsis 3.02.0.20160720 (that's RC2, I think)
- MacPorts: nsis 2.45
- Homebrew: nsis 3.0rc2
- NetBSD/OpenBSD: nsis 2.12nb5 (ouch!)

I have already submitted a PR for Homebrew and try to work out a solution for MacPorts.

Last edited by Anders; 11th October 2016 at 19:17. Reason: Added some links
Yathosho is offline   Reply With Quote
Old 10th October 2016, 13:48   #3
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,354
Quote:
Originally Posted by Yathosho View Post
Current Status:
- Debian (Jessie): nsis 2.46-6
- MacPorts: nsis 2.45
- Homebrew: nsis 3.0rc2
As I've just notified the Fedora maintainer, I wanted to give you an update on the status since last time:

* Debian (Jessie): nsis 3.0-3 (experimental)
* MacPorts: nsis 3.0
* Homebrew: makensis 3.0
Yathosho is offline   Reply With Quote
Old 12th October 2016, 15:19   #4
T.Slappy
Major Dude
 
T.Slappy's Avatar
 
Join Date: Jan 2006
Location: Slovakia
Posts: 512
Send a message via ICQ to T.Slappy
What is going on in these Linux versions? I think the installers are Windows only so why is it important to have so many Linux machines? Is this because of the build?

Cool looking skinned Graphical Installers: www.graphical-installer.com
I offer NSIS scripting, C/C++/C#/Delphi programming: www.unsignedsw.com
Develop NSIS projects in Visual Studio 2005-2017: www.visual-installer.com
or RAD Studio 2009, 2010, XE-10.2 Tokyo: www.rad-installer.com
T.Slappy is offline   Reply With Quote
Old 13th October 2016, 07:58   #5
JasonFriday13
Major Dude
 
JasonFriday13's Avatar
 
Join Date: May 2005
Location: New Zealand
Posts: 858
The compiler is cross-platform. It's easier for the other cross-platform projects to build installers the same way as they build the windows ports on linux (using a linux cross-compiler to output windows binaries).

"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me)
NSIS 3 POSIX Ninja
Wiki Profile
JasonFriday13 is offline   Reply With Quote
Old 16th October 2016, 12:33   #6
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,354
Quote:
Originally Posted by T.Slappy View Post
What is going on in these Linux versions? I think the installers are Windows only so why is it important to have so many Linux machines? Is this because of the build?
The installers are still Windows-only. The cross-plattform compiler can be useful, for instance, to build an installer on your (web)server – where Unix/Linux is dominant.

Personally, whenever I have to update my old installer scripts, I do it on a non-Windows platform. For me, that's more comfortable than working in a Windows VM.
Yathosho is offline   Reply With Quote
Old 2nd December 2016, 10:42   #7
Roberto.Bagnara
Junior Member
 
Join Date: Dec 2016
Posts: 2
Hi there. Does anybody know where I can download a precompiled package of nsis-3.0 for Ubuntu? (I am having problems compiling it from source.)
Roberto.Bagnara is offline   Reply With Quote
Old 2nd December 2016, 12:10   #8
JasonFriday13
Major Dude
 
JasonFriday13's Avatar
 
Join Date: May 2005
Location: New Zealand
Posts: 858
What kind of problems compiling?

First off, you need the zlib1g-dev package installed (the name might vary depending on the version, ubuntu 12.04 uses this name).

If you have a cross-compiler installed, you can build most of the package using: scons SKIPMISC="zip2exe","NSIS Menu"

If you don't have a cross-compiler, you can use the windows package for all the data files, and replace the windows makensis binary with the linux binary, compile using: scons SKIPSTUBS=all SKIPPLUGINS=all SKIPUTILS=all SKIPMISC=all NSIS_CONFIG_CONST_DATA_PATH=no

This is covered in the NSIS help files as well: http://nsis.sourceforge.net/Docs/AppendixG.html.

"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me)
NSIS 3 POSIX Ninja
Wiki Profile
JasonFriday13 is offline   Reply With Quote
Old 2nd December 2016, 15:48   #9
Roberto.Bagnara
Junior Member
 
Join Date: Dec 2016
Posts: 2
Thanks Jason. I was following the NSIS help files. The problem I had was due to a missing trailing dash in the document you linked: "XGCC_W32_PREFIX=i686-w64-mingw32" should be "XGCC_W32_PREFIX=i686-w64-mingw32-".
Roberto.Bagnara is offline   Reply With Quote
Old 3rd December 2016, 08:56   #10
JasonFriday13
Major Dude
 
JasonFriday13's Avatar
 
Join Date: May 2005
Location: New Zealand
Posts: 858
Oh OK. I don't use XGCC_W32_PREFIX because scons picks up the cross-compiler automatically for me.

"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me)
NSIS 3 POSIX Ninja
Wiki Profile
JasonFriday13 is offline   Reply With Quote
Old 3rd December 2016, 14:10   #11
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,700
Quote:
Originally Posted by Roberto.Bagnara View Post
The problem I had was due to a missing trailing dash in the document you linked: "XGCC_W32_PREFIX=i686-w64-mingw32" should be "XGCC_W32_PREFIX=i686-w64-mingw32-".
"i686-w64-mingw32-" is already on the list of things searched by crossmingw.py so I'm not sure why it was not picked up automatically. Did you try it without setting XGCC_W32_PREFIX?

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 4th December 2016, 17:38   #12
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,354
Quote:
Originally Posted by Roberto.Bagnara View Post
Hi there. Does anybody know where I can download a precompiled package of nsis-3.0 for Ubuntu? (I am having problems compiling it from source.)
Have a look at the experimental Debian package

https://packages.debian.org/experimental/nsis
Yathosho is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Tags
release

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