NSIS (Nullsoft Scriptable Install System)

Informations

Creator Message
Yaotl Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 1329
Wine: 5.0.2

Feedbacks

Description

NSIS (Nullsoft Scriptable Install System) is a professional open source system to create Windows installers. It is designed to be as small and flexible as possible and is therefore very suitable for internet distribution.

Being a user's first experience with your product, a stable and reliable installer is an important component of successful software. With NSIS you can create such installers that are capable of doing everything that is needed to setup your software.

NSIS is script-based and allows you to create the logic to handle even the most complex installation tasks. Many plug-ins and scripts are already available: you can create web installers, communicate with Windows and other software components, install or update shared components and more.

Plug-ins: https://nsis.sourceforge.io/Category:Plugins

Source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-03-18)
# Last revision : (2020-09-18 05-21)
# Wine version used : 5.0.2
# Distribution used to test : Linux Mint 20 Cinnamon
# Author : Yaotl
# PlayOnLinux : 4.3.4
# Script licence : GPL3
# Program licence : https://nsis.sourceforge.io/License


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Nullsoft Scriptable Install System"
PREFIX="NSIS"

# Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 3570
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Nullsoft" "https://nsis.sourceforge.io/" "Yaotl" "$PREFIX"

POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "auto"
POL_Wine_PrefixCreate "5.0.2"

# Dependencies
POL_Call POL_Install_corefonts

Set_OS "win10"

# Installation
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    POL_Download "https://netcologne.dl.sourceforge.net/project/nsis/NSIS%203/3.06.1/nsis-3.06.1-setup.exe" "9c99f0938332a1ca7e4cbee09fe25d29"
    INSTALLER="$POL_System_TmpDir/nsis-3.06.1-setup.exe"
fi

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER"

# Create Shortcut
POL_Shortcut "NSIS.exe" "$PREFIX" "" "" "Development;"

# Cleanup
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Yaotl Thursday 9 July 2020 at 15:25
Yaotl Anonymous

Information

This update has been approved by the team.

Differences

@@ -1,12 +1,12 @@
 #!/usr/bin/env playonlinux-bash
 # Date : (2019-03-18)
-# Last revision : (2019-07-21 22-46)
-# Wine version used : 4.0.1
-# Distribution used to test : Linux Mint 19.1 Cinnamon
+# Last revision : (2020-09-18 05-21)
+# Wine version used : 5.0.2
+# Distribution used to test : Linux Mint 20 Cinnamon
 # Author : Yaotl
 # PlayOnLinux : 4.3.4
 # Script licence : GPL3
-# Program licence : zlib/libpng-Lizenz
+# Program licence : https://nsis.sourceforge.io/License
 
 
 [ "$PLAYONLINUX" = "" ] && exit 0
@@ -21,14 +21,14 @@
 POL_Debug_Init
 
 # Presentation
-POL_SetupWindow_presentation "$TITLE" "Nullsoft" "https://sourceforge.net/projects/nsis/" "Yaotl" "$PREFIX"
+POL_SetupWindow_presentation "$TITLE" "Nullsoft" "https://nsis.sourceforge.io/" "Yaotl" "$PREFIX"
 
 POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
 
 # Create Prefix
 POL_Wine_SelectPrefix "$PREFIX"
-POL_System_SetArch "x86"
-POL_Wine_PrefixCreate "4.0.1"
+POL_System_SetArch "auto"
+POL_Wine_PrefixCreate "5.0.2"
 
 # Dependencies
 POL_Call POL_Install_corefonts
@@ -36,12 +36,20 @@
 Set_OS "win10"
 
 # Installation
-POL_System_TmpCreate "$PREFIX"
-cd "$POL_System_TmpDir"
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+if [ "$INSTALL_METHOD" == "LOCAL" ]; then
+    cd "$HOME"
+    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+    INSTALLER="$APP_ANSWER"
+elif [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then
+    POL_System_TmpCreate "$PREFIX"
+    cd "$POL_System_TmpDir"
+    POL_Download "https://netcologne.dl.sourceforge.net/project/nsis/NSIS%203/3.06.1/nsis-3.06.1-setup.exe" "9c99f0938332a1ca7e4cbee09fe25d29"
+    INSTALLER="$POL_System_TmpDir/nsis-3.06.1-setup.exe"
+fi
 
-POL_Download "https://netcologne.dl.sourceforge.net/project/nsis/NSIS%203/3.04/nsis-3.04-setup.exe" "3c93427c56714478bb5a7a4bbaab934f"
 POL_Wine_WaitBefore "$TITLE"
-POL_Wine "nsis-3.04-setup.exe"
+POL_Wine "$INSTALLER"
 
 # Create Shortcut
 POL_Shortcut "NSIS.exe" "$PREFIX" "" "" "Development;"

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-03-18)
# Last revision : (2020-09-18 05-21)
# Wine version used : 5.0.2
# Distribution used to test : Linux Mint 20 Cinnamon
# Author : Yaotl
# PlayOnLinux : 4.3.4
# Script licence : GPL3
# Program licence : https://nsis.sourceforge.io/License


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Nullsoft Scriptable Install System"
PREFIX="NSIS"

# Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 3570
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Nullsoft" "https://nsis.sourceforge.io/" "Yaotl" "$PREFIX"

POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "auto"
POL_Wine_PrefixCreate "5.0.2"

# Dependencies
POL_Call POL_Install_corefonts

Set_OS "win10"

# Installation
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    POL_Download "https://netcologne.dl.sourceforge.net/project/nsis/NSIS%203/3.06.1/nsis-3.06.1-setup.exe" "9c99f0938332a1ca7e4cbee09fe25d29"
    INSTALLER="$POL_System_TmpDir/nsis-3.06.1-setup.exe"
fi

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$INSTALLER"

# Create Shortcut
POL_Shortcut "NSIS.exe" "$PREFIX" "" "" "Development;"

# Cleanup
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Saturday 19 September 2020 at 20:16
Script approved.

Edited by Yaotl

Yaotl Tuesday 31 December 2019 at 12:40
Yaotl Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Please rename the title from "Nullsoft Scriptable Install System" to "NSIS (Nullsoft Scriptable Install System)".

Differences

@@ -1,8 +1,8 @@
 #!/usr/bin/env playonlinux-bash
 # Date : (2019-03-18)
-# Last revision : (2019-07-21 22-46)
-# Wine version used : 4.0.1
-# Distribution used to test : Linux Mint 19.1 Cinnamon
+# Last revision : (2020-05-03 15-09)
+# Wine version used : 4.0.4
+# Distribution used to test : Linux Mint 19.3 Cinnamon
 # Author : Yaotl
 # PlayOnLinux : 4.3.4
 # Script licence : GPL3
@@ -21,27 +21,26 @@
 POL_Debug_Init
 
 # Presentation
-POL_SetupWindow_presentation "$TITLE" "Nullsoft" "https://sourceforge.net/projects/nsis/" "Yaotl" "$PREFIX"
+POL_SetupWindow_presentation "$TITLE" "Nullsoft" "https://nsis.sourceforge.io/" "Yaotl" "$PREFIX"
 
 POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
 
 # Create Prefix
 POL_Wine_SelectPrefix "$PREFIX"
-POL_System_SetArch "x86"
-POL_Wine_PrefixCreate "4.0.1"
+POL_Wine_PrefixCreate "4.0.4"
 
 # Dependencies
 POL_Call POL_Install_corefonts
 
 Set_OS "win10"
 
-# Installation
+# Download & Installation
 POL_System_TmpCreate "$PREFIX"
 cd "$POL_System_TmpDir"
 
-POL_Download "https://netcologne.dl.sourceforge.net/project/nsis/NSIS%203/3.04/nsis-3.04-setup.exe" "3c93427c56714478bb5a7a4bbaab934f"
+POL_Download "https://netcologne.dl.sourceforge.net/project/nsis/NSIS%203/3.05/nsis-3.05-setup.exe" "71e3372e0a0a110715b1e7d6c4bbdb22"
 POL_Wine_WaitBefore "$TITLE"
-POL_Wine "nsis-3.04-setup.exe"
+POL_Wine "nsis-3.05-setup.exe"
 
 # Create Shortcut
 POL_Shortcut "NSIS.exe" "$PREFIX" "" "" "Development;"

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-03-18)
# Last revision : (2020-05-03 15-09)
# Wine version used : 4.0.4
# Distribution used to test : Linux Mint 19.3 Cinnamon
# Author : Yaotl
# PlayOnLinux : 4.3.4
# Script licence : GPL3
# Program licence : zlib/libpng-Lizenz


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Nullsoft Scriptable Install System"
PREFIX="NSIS"

# Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 3570
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Nullsoft" "https://nsis.sourceforge.io/" "Yaotl" "$PREFIX"

POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "4.0.4"

# Dependencies
POL_Call POL_Install_corefonts

Set_OS "win10"

# Download & Installation
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"

POL_Download "https://netcologne.dl.sourceforge.net/project/nsis/NSIS%203/3.05/nsis-3.05-setup.exe" "71e3372e0a0a110715b1e7d6c4bbdb22"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "nsis-3.05-setup.exe"

# Create Shortcut
POL_Shortcut "NSIS.exe" "$PREFIX" "" "" "Development;"

# Cleanup
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Saturday 19 September 2020 at 20:17
Renamed.

Edited by Yaotl

Yaotl Sunday 21 July 2019 at 22:56
Yaotl Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,52 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2019-03-18)
+# Last revision : (2019-07-21 22-46)
+# Wine version used : 4.0.1
+# Distribution used to test : Linux Mint 19.1 Cinnamon
+# Author : Yaotl
+# PlayOnLinux : 4.3.4
+# Script licence : GPL3
+# Program licence : zlib/libpng-Lizenz
+
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Nullsoft Scriptable Install System"
+PREFIX="NSIS"
+
+# Initialization
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 3570
+POL_Debug_Init
+
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "Nullsoft" "https://sourceforge.net/projects/nsis/" "Yaotl" "$PREFIX"
+
+POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
+
+# Create Prefix
+POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "x86"
+POL_Wine_PrefixCreate "4.0.1"
+
+# Dependencies
+POL_Call POL_Install_corefonts
+
+Set_OS "win10"
+
+# Installation
+POL_System_TmpCreate "$PREFIX"
+cd "$POL_System_TmpDir"
+
+POL_Download "https://netcologne.dl.sourceforge.net/project/nsis/NSIS%203/3.04/nsis-3.04-setup.exe" "3c93427c56714478bb5a7a4bbaab934f"
+POL_Wine_WaitBefore "$TITLE"
+POL_Wine "nsis-3.04-setup.exe"
+
+# Create Shortcut
+POL_Shortcut "NSIS.exe" "$PREFIX" "" "" "Development;"
+
+# Cleanup
+POL_System_TmpDelete
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-03-18)
# Last revision : (2019-07-21 22-46)
# Wine version used : 4.0.1
# Distribution used to test : Linux Mint 19.1 Cinnamon
# Author : Yaotl
# PlayOnLinux : 4.3.4
# Script licence : GPL3
# Program licence : zlib/libpng-Lizenz


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Nullsoft Scriptable Install System"
PREFIX="NSIS"

# Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 3570
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Nullsoft" "https://sourceforge.net/projects/nsis/" "Yaotl" "$PREFIX"

POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "4.0.1"

# Dependencies
POL_Call POL_Install_corefonts

Set_OS "win10"

# Installation
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"

POL_Download "https://netcologne.dl.sourceforge.net/project/nsis/NSIS%203/3.04/nsis-3.04-setup.exe" "3c93427c56714478bb5a7a4bbaab934f"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "nsis-3.04-setup.exe"

# Create Shortcut
POL_Shortcut "NSIS.exe" "$PREFIX" "" "" "Development;"

# Cleanup
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Monday 22 July 2019 at 21:25
Approved.

Edited by Yaotl