![]() |
#1 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,548
|
![]()
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.
|
![]() |
![]() |
![]() |
#2 |
Forum King
Join Date: Jan 2002
Location: AT-DE
Posts: 3,369
|
*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 20:17. Reason: Added some links |
![]() |
![]() |
![]() |
#3 | |
Forum King
Join Date: Jan 2002
Location: AT-DE
Posts: 3,369
|
Quote:
* Debian (Jessie): nsis 3.0-3 (experimental) * MacPorts: nsis 3.0 * Homebrew: makensis 3.0 |
|
![]() |
![]() |
![]() |
#4 |
Major Dude
|
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 installers with custom design: www.graphical-installer.com Create Setup Pages easily: www.install-designer.com Build installers in Visual Studio 2005-2022: www.visual-installer.com or RAD Studio 2009 - 11 Alexandria: www.rad-installer.com |
![]() |
![]() |
![]() |
#5 |
Major Dude
Join Date: May 2005
Location: New Zealand
Posts: 923
|
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 |
![]() |
![]() |
![]() |
#6 | |
Forum King
Join Date: Jan 2002
Location: AT-DE
Posts: 3,369
|
Quote:
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. |
|
![]() |
![]() |
![]() |
#7 |
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.)
|
![]() |
![]() |
![]() |
#8 |
Major Dude
Join Date: May 2005
Location: New Zealand
Posts: 923
|
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 |
![]() |
![]() |
![]() |
#9 |
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-".
|
![]() |
![]() |
![]() |
#10 |
Major Dude
Join Date: May 2005
Location: New Zealand
Posts: 923
|
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 |
![]() |
![]() |
![]() |
#11 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,548
|
"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 |
![]() |
![]() |
![]() |
#12 | |
Forum King
Join Date: Jan 2002
Location: AT-DE
Posts: 3,369
|
Quote:
https://packages.debian.org/experimental/nsis |
|
![]() |
![]() |
![]() |
#13 |
Forum King
Join Date: Jan 2002
Location: AT-DE
Posts: 3,369
|
FYI
It seems that NSIS v3 has finally landed in the stable branch of Debian, with NSIS v3.04-1 being the stable release https://packages.debian.org/stable/nsis |
![]() |
![]() |
![]() |
#14 |
Major Dude
|
Hello @Yathosho
Can you explain how the NSIS on Debian works? I have experiences with Windows only - I suppose it is possible to build the scripts on Debian but not running the installer itself? Cool looking installers with custom design: www.graphical-installer.com Create Setup Pages easily: www.install-designer.com Build installers in Visual Studio 2005-2022: www.visual-installer.com or RAD Studio 2009 - 11 Alexandria: www.rad-installer.com |
![]() |
![]() |
![]() |
#15 |
Major Dude
Join Date: May 2005
Location: New Zealand
Posts: 923
|
The idea is that for cross platform projects, it's easier for them if they are able to compile the windows specific installer without needing windows itself to be present or installed. This is the same reason mingw32 and mingw-w64 exist.
"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me) NSIS 3 POSIX Ninja Wiki Profile |
![]() |
![]() |
![]() |
#16 |
Forum King
Join Date: Jan 2002
Location: AT-DE
Posts: 3,369
|
That is correct
|
![]() |
![]() |
![]() |
|
Tags |
release |
Thread Tools | Search this Thread |
Display Modes | |
|
|