Announcement

Collapse
No announcement yet.

NSIS v3.0 Final

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.
    IntOp $PostCount $PostCount + 1

  • #2
    *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; 11 October 2016, 19:17. Reason: Added some links
    NSIS IDE for Atom | NSIS for Visual Studio Code | NSIS for Sublime Text | NSIS.docset

    Comment


    • #3
      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
      NSIS IDE for Atom | NSIS for Visual Studio Code | NSIS for Sublime Text | NSIS.docset

      Comment


      • #4
        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

        Comment


        • #5
          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

          Comment


          • #6
            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.
            NSIS IDE for Atom | NSIS for Visual Studio Code | NSIS for Sublime Text | NSIS.docset

            Comment


            • #7
              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.)

              Comment


              • #8
                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

                Comment


                • #9
                  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-".

                  Comment


                  • #10
                    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

                    Comment


                    • #11
                      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

                      Comment


                      • #12
                        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

                        NSIS IDE for Atom | NSIS for Visual Studio Code | NSIS for Sublime Text | NSIS.docset

                        Comment


                        • #13
                          FYI

                          It seems that NSIS v3 has finally landed in the stable branch of Debian, with NSIS v3.04-1 being the stable release

                          NSIS IDE for Atom | NSIS for Visual Studio Code | NSIS for Sublime Text | NSIS.docset

                          Comment


                          • #14
                            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

                            Comment


                            • #15
                              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

                              Comment

                              Working...
                              X
                              😀
                              🥰
                              🤢
                              😎
                              😡
                              👍
                              👎