POL_Install_mono481_64b

Informations

Creator Message
Dadu042

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 15608
Wine: System

Feedbacks

Description

2017. Requires OS Windows Vista or higher.

Wikipedia.

Source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2019-12-24 18:25)
# Last revision : see changelog
# Author : Dadu042
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [Dadu042] (2019-12-24 18:25)
#   First script.
# [Dadu042] (2020-01-09 12:50)
#   Fix comment.
#   Warn 64bits NOK.
# [Dadu042] (2020-05-19 16:00)
#   64 bits compatible.
# [Dadu042] (2020-07-05 14:00)
#   Fix POL_Wine_WaitExit

if [ "$POL_ARCH" == "x32" ]; then
        POL_Debug_Fatal "$(eval_gettext '32-bit not supported')"
fi
 
FORCE_MODE=$1
 
# Downloading Mono 4.81
mkdir -p "$POL_USER_ROOT"/ressources/mono481_64b/
cd "$POL_USER_ROOT"/ressources/mono481_64b/
POL_Download_Resource "https://download.mono-project.com/archive/4.8.1/windows-installer/mono-4.8.1.0-x64-0.msi" "4f9b2e6ed0d1b3ab3d799f8cf34587d6" "mono481"
  
# Check if it is already installed
CHECK_MONO481=`find $WINEPREFIX -name "mono-4.8.1.dll"`
if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then
        POL_Wine start msiexec /i "mono-4.8.1.0-x64-0.msi" /silent
        POL_Wine_WaitExit "Mono"
fi

Contributions

Filters:

Contribute
Member Message
Dadu042 Sunday 5 July 2020 at 18:48
Dadu042

Information

This update has been approved by the team.

Differences

@@ -13,7 +13,9 @@
 #   Warn 64bits NOK.
 # [Dadu042] (2020-05-19 16:00)
 #   64 bits compatible.
- 
+# [Dadu042] (2020-07-05 14:00)
+#   Fix POL_Wine_WaitExit
+
 if [ "$POL_ARCH" == "x32" ]; then
         POL_Debug_Fatal "$(eval_gettext '32-bit not supported')"
 fi
@@ -29,5 +31,5 @@
 CHECK_MONO481=`find $WINEPREFIX -name "mono-4.8.1.dll"`
 if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then
         POL_Wine start msiexec /i "mono-4.8.1.0-x64-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 : (2019-12-24 18:25)
# Last revision : see changelog
# Author : Dadu042
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [Dadu042] (2019-12-24 18:25)
#   First script.
# [Dadu042] (2020-01-09 12:50)
#   Fix comment.
#   Warn 64bits NOK.
# [Dadu042] (2020-05-19 16:00)
#   64 bits compatible.
# [Dadu042] (2020-07-05 14:00)
#   Fix POL_Wine_WaitExit

if [ "$POL_ARCH" == "x32" ]; then
        POL_Debug_Fatal "$(eval_gettext '32-bit not supported')"
fi
 
FORCE_MODE=$1
 
# Downloading Mono 4.81
mkdir -p "$POL_USER_ROOT"/ressources/mono481_64b/
cd "$POL_USER_ROOT"/ressources/mono481_64b/
POL_Download_Resource "https://download.mono-project.com/archive/4.8.1/windows-installer/mono-4.8.1.0-x64-0.msi" "4f9b2e6ed0d1b3ab3d799f8cf34587d6" "mono481"
  
# Check if it is already installed
CHECK_MONO481=`find $WINEPREFIX -name "mono-4.8.1.dll"`
if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then
        POL_Wine start msiexec /i "mono-4.8.1.0-x64-0.msi" /silent
        POL_Wine_WaitExit "Mono"
fi

Replies

Dadu042 Tuesday 19 May 2020 at 16:27
Dadu042

Warning

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

Differences

@@ -21,8 +21,8 @@
 FORCE_MODE=$1
  
 # Downloading Mono 4.81
-mkdir -p "$POL_USER_ROOT"/ressources/mono481/
-cd "$POL_USER_ROOT"/ressources/mono481/
+mkdir -p "$POL_USER_ROOT"/ressources/mono481_64b/
+cd "$POL_USER_ROOT"/ressources/mono481_64b/
 POL_Download_Resource "https://download.mono-project.com/archive/4.8.1/windows-installer/mono-4.8.1.0-x64-0.msi" "4f9b2e6ed0d1b3ab3d799f8cf34587d6" "mono481"
   
 # Check if it is already installed

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2019-12-24 18:25)
# Last revision : see changelog
# Author : Dadu042
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [Dadu042] (2019-12-24 18:25)
#   First script.
# [Dadu042] (2020-01-09 12:50)
#   Fix comment.
#   Warn 64bits NOK.
# [Dadu042] (2020-05-19 16:00)
#   64 bits compatible.
 
if [ "$POL_ARCH" == "x32" ]; then
        POL_Debug_Fatal "$(eval_gettext '32-bit not supported')"
fi
 
FORCE_MODE=$1
 
# Downloading Mono 4.81
mkdir -p "$POL_USER_ROOT"/ressources/mono481_64b/
cd "$POL_USER_ROOT"/ressources/mono481_64b/
POL_Download_Resource "https://download.mono-project.com/archive/4.8.1/windows-installer/mono-4.8.1.0-x64-0.msi" "4f9b2e6ed0d1b3ab3d799f8cf34587d6" "mono481"
  
# Check if it is already installed
CHECK_MONO481=`find $WINEPREFIX -name "mono-4.8.1.dll"`
if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then
        POL_Wine start msiexec /i "mono-4.8.1.0-x64-0.msi" /silent
        POL_Wine_WaitEx
fi

Replies

Edited by Dadu042

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