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 : 1134
Wine: 4.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 : (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

Contributions

Filters:

Contribuer
Membre Messages
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,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-07-26 09-40)
+# Wine version used : 5.0.1
+# Distribution used to test : Linux Mint 20 Cinnamon
 # Author : Yaotl
 # PlayOnLinux : 4.3.4
 # Script licence : GPL3
@@ -17,18 +17,20 @@
 
 # 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_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"
+
+# Determine Architecture
+POL_System_SetArch "auto"
+
+POL_Wine_PrefixCreate "5.0.1"
 
 # Dependencies
 POL_Call POL_Install_corefonts
@@ -36,12 +38,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 "Please select the installation file to run." "$TITLE installation"
+    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.05/nsis-3.05-setup.exe" "71e3372e0a0a110715b1e7d6c4bbdb22"
+    INSTALLER="$POL_System_TmpDir/nsis-3.05-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_SetupWindow_wait "Please wait" "$TITLE Installation in progress"
+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-07-26 09-40)
# Wine version used : 5.0.1
# Distribution used to test : Linux Mint 20 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_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"

# Determine Architecture
POL_System_SetArch "auto"

POL_Wine_PrefixCreate "5.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 "Please select the installation file to run." "$TITLE installation"
    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.05/nsis-3.05-setup.exe" "71e3372e0a0a110715b1e7d6c4bbdb22"
    INSTALLER="$POL_System_TmpDir/nsis-3.05-setup.exe"
fi

POL_SetupWindow_wait "Please wait" "$TITLE Installation in progress"
POL_Wine "$INSTALLER"

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

# Cleanup
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Réponses

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

Edité par Yaotl

Yaotl Dimanche 21 Juillet 2019 à 22:56
Yaotl Anonymous

Information

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

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