POL_Install_mono5.20

Informations

Creator Message
Dadu042
Moderator

Warning

This installer is a beta script. It means that it might not work as expected

Informations

Platforms:
Downloads: 9896
Wine: System

Feedbacks

Description

2019. Requires OS Windows Vista or higher. Wikipedia.

= Dotnet v4.6 ?

Source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2020-01-09 13:01)
# Last revision : see changelog
# Author : Dadu042
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [Dadu042] (2020-01-09 13:01)
#   First script.
# [Dadu042] (2020-07-05 14:00)
#   Fix POL_Wine_WaitExit

if [ "$POL_ARCH" == "amd64" ]; then
        POL_Debug_Fatal "$(eval_gettext '64-bit not supported.')"
fi

FORCE_MODE=$1
 
# Download Mono
mkdir -p "$POL_USER_ROOT"/ressources/mono5.20/
cd "$POL_USER_ROOT"/ressources/mono5.20/
POL_Download_Resource "https://download.mono-project.com/archive/5.20.1/windows-installer/mono-5.20.1.34-gtksharp-2.12.45-win32-0.msi" "4b86ba73fe7f7bd2db74777c4e9d44f2" "mono4.81"
  
# Check if it is already installed
CHECK_MONO481=`find $WINEPREFIX -name "mono-5.20.1.dll"`
if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then
        POL_Wine start msiexec /i "mono-5.20.1.34-gtksharp-2.12.45-win32-0.msi" /silent
        POL_Wine_WaitExit "Mono"
fi

Contributions

Filters:

Contribute
Member Message
Dadu042 Sunday 5 July 2020 at 18:45
Dadu042
Moderator

Information

This update has been approved by the team.

Differences

@@ -8,6 +8,8 @@
 # CHANGELOG
 # [Dadu042] (2020-01-09 13:01)
 #   First script.
+# [Dadu042] (2020-07-05 14:00)
+#   Fix POL_Wine_WaitExit
 
 if [ "$POL_ARCH" == "amd64" ]; then
         POL_Debug_Fatal "$(eval_gettext '64-bit not supported.')"
@@ -24,5 +26,5 @@
 CHECK_MONO481=`find $WINEPREFIX -name "mono-5.20.1.dll"`
 if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then
         POL_Wine start msiexec /i "mono-5.20.1.34-gtksharp-2.12.45-win32-0.msi" /silent
-        POL_Wine_WaitEx
+        POL_Wine_WaitExit "Mono"
 fi
\ No newline at end of file

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2020-01-09 13:01)
# Last revision : see changelog
# Author : Dadu042
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [Dadu042] (2020-01-09 13:01)
#   First script.
# [Dadu042] (2020-07-05 14:00)
#   Fix POL_Wine_WaitExit

if [ "$POL_ARCH" == "amd64" ]; then
        POL_Debug_Fatal "$(eval_gettext '64-bit not supported.')"
fi

FORCE_MODE=$1
 
# Download Mono
mkdir -p "$POL_USER_ROOT"/ressources/mono5.20/
cd "$POL_USER_ROOT"/ressources/mono5.20/
POL_Download_Resource "https://download.mono-project.com/archive/5.20.1/windows-installer/mono-5.20.1.34-gtksharp-2.12.45-win32-0.msi" "4b86ba73fe7f7bd2db74777c4e9d44f2" "mono4.81"
  
# Check if it is already installed
CHECK_MONO481=`find $WINEPREFIX -name "mono-5.20.1.dll"`
if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then
        POL_Wine start msiexec /i "mono-5.20.1.34-gtksharp-2.12.45-win32-0.msi" /silent
        POL_Wine_WaitExit "Mono"
fi

Replies

Dadu042 Thursday 9 January 2020 at 13:04
Dadu042
Moderator

Warning

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

Differences

@@ -0,0 +1,28 @@
+#!/bin/bash
+# PlayOnLinux Function
+# Date : (2020-01-09 13:01)
+# Last revision : see changelog
+# Author : Dadu042
+# Only For : http://www.playonlinux.com
+#
+# CHANGELOG
+# [Dadu042] (2020-01-09 13:01)
+#   First script.
+
+if [ "$POL_ARCH" == "amd64" ]; then
+        POL_Debug_Fatal "$(eval_gettext '64-bit not supported.')"
+fi
+
+FORCE_MODE=$1
+ 
+# Download Mono
+mkdir -p "$POL_USER_ROOT"/ressources/mono5.20/
+cd "$POL_USER_ROOT"/ressources/mono5.20/
+POL_Download_Resource "https://download.mono-project.com/archive/5.20.1/windows-installer/mono-5.20.1.34-gtksharp-2.12.45-win32-0.msi" "4b86ba73fe7f7bd2db74777c4e9d44f2" "mono4.81"
+  
+# Check if it is already installed
+CHECK_MONO481=`find $WINEPREFIX -name "mono-5.20.1.dll"`
+if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then
+        POL_Wine start msiexec /i "mono-5.20.1.34-gtksharp-2.12.45-win32-0.msi" /silent
+        POL_Wine_WaitEx
+fi
\ No newline at end of file

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2020-01-09 13:01)
# Last revision : see changelog
# Author : Dadu042
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [Dadu042] (2020-01-09 13:01)
#   First script.

if [ "$POL_ARCH" == "amd64" ]; then
        POL_Debug_Fatal "$(eval_gettext '64-bit not supported.')"
fi

FORCE_MODE=$1
 
# Download Mono
mkdir -p "$POL_USER_ROOT"/ressources/mono5.20/
cd "$POL_USER_ROOT"/ressources/mono5.20/
POL_Download_Resource "https://download.mono-project.com/archive/5.20.1/windows-installer/mono-5.20.1.34-gtksharp-2.12.45-win32-0.msi" "4b86ba73fe7f7bd2db74777c4e9d44f2" "mono4.81"
  
# Check if it is already installed
CHECK_MONO481=`find $WINEPREFIX -name "mono-5.20.1.dll"`
if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then
        POL_Wine start msiexec /i "mono-5.20.1.34-gtksharp-2.12.45-win32-0.msi" /silent
        POL_Wine_WaitEx
fi

Replies