NSIS (Nullsoft Scriptable Install System)

Informations

Créateur Messages
Yaotl Anonymous

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 4037
Wine: 6.0.1

Retours d'expérience

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

Code source

#!/usr/bin/env playonlinux-bash
# Date : (2019-03-18)
# Last revision : (2021-10-09 08-21)
# Wine version used : 5.0.2
# Distribution used to test : Linux Mint 20.1 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 "6.0.1"

# 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.08/nsis-3.08-setup.exe" "20c14273607e02112163a26309694364"
    INSTALLER="$POL_System_TmpDir/nsis-3.08-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:

Contribuer
Membre Messages
Yaotl Mardi 12 Octobre 2021 à 12:43
Yaotl Anonymous

Information

Cette mise à jour a été acceptée par l'équipe

Differences

@@ -1,8 +1,8 @@
 #!/usr/bin/env playonlinux-bash
 # Date : (2019-03-18)
-# Last revision : (2020-09-18 05-21)
+# Last revision : (2021-10-09 08-21)
 # Wine version used : 5.0.2
-# Distribution used to test : Linux Mint 20 Cinnamon
+# Distribution used to test : Linux Mint 20.1 Cinnamon
 # Author : Yaotl
 # PlayOnLinux : 4.3.4
 # Script licence : GPL3
@@ -28,7 +28,7 @@
 # Create Prefix
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "auto"
-POL_Wine_PrefixCreate "5.0.2"
+POL_Wine_PrefixCreate "6.0.1"
 
 # Dependencies
 POL_Call POL_Install_corefonts
@@ -44,8 +44,8 @@
 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"
+    POL_Download "https://netcologne.dl.sourceforge.net/project/nsis/NSIS%203/3.08/nsis-3.08-setup.exe" "20c14273607e02112163a26309694364"
+    INSTALLER="$POL_System_TmpDir/nsis-3.08-setup.exe"
 fi
 
 POL_Wine_WaitBefore "$TITLE"

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2019-03-18)
# Last revision : (2021-10-09 08-21)
# Wine version used : 5.0.2
# Distribution used to test : Linux Mint 20.1 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 "6.0.1"

# 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.08/nsis-3.08-setup.exe" "20c14273607e02112163a26309694364"
    INSTALLER="$POL_System_TmpDir/nsis-3.08-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

Réponses

Mercredi 13 Octobre 2021 à 17:54
Script approved.
Yaotl Jeudi 9 Juillet 2020 à 15:25
Yaotl Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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;"

Nouveau code source

#!/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

Réponses

Samedi 19 September 2020 à 20:16
Script approved.

Edité par Yaotl

Yaotl Mardi 31 Décembre 2019 à 12:40
Yaotl Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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;"

Nouveau code source

#!/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

Réponses

Samedi 19 September 2020 à 20:17
Renamed.

Edité par Yaotl

Yaotl Dimanche 21 Juillet 2019 à 22:56
Yaotl Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

#!/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

Réponses

Lundi 22 Juillet 2019 à 21:25
Approved.

Edité par Yaotl