POL_Install_mono5.20

Informations

Creator Message
Dadu042

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 31885
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
# [Dadu042] (2022-03-30 14:00)
#   Fix download path.

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" "mono5.20"
  
# 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 Wednesday 30 March 2022 at 17:37
Dadu042

Information

This update has been approved by the team.

Message

Fix path.

Differences

@@ -10,6 +10,8 @@
 #   First script.
 # [Dadu042] (2020-07-05 14:00)
 #   Fix POL_Wine_WaitExit
+# [Dadu042] (2022-03-30 14:00)
+#   Fix download path.
 
 if [ "$POL_ARCH" == "amd64" ]; then
         POL_Debug_Fatal "$(eval_gettext '64-bit not supported.')"
@@ -20,7 +22,7 @@
 # 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"
+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" "mono5.20"
   
 # Check if it is already installed
 CHECK_MONO481=`find $WINEPREFIX -name "mono-5.20.1.dll"`

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
# [Dadu042] (2022-03-30 14:00)
#   Fix download path.

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" "mono5.20"
  
# 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 Sunday 5 July 2020 at 18:45
Dadu042

Warning

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

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

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

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com