POL_Install_mono6.12

Informations

Creator Message
Dadu042

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 15022
Wine: System

Feedbacks

Description

2020. Requires OS Windows Vista or higher.

= Dotnet v4.7 ?

Source code

#!/bin/bash
# PlayOnLinux Function
# Date : see changelog
# Last revision : see changelog
# Author : Dadu042
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [Dadu042] (2022-03-30 13:00)
#   First script. Add 64bits support.


FORCE_MODE=$1
  
# Download Mono
mkdir -p "$POL_USER_ROOT"/ressources/mono6.12.0/
cd "$POL_USER_ROOT"/ressources/mono6.12.0/

if [ "$POL_ARCH" == "x86" ]; then
    POL_Download_Resource "https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-gtksharp-2.12.45-win32-0.msi" "ffe866680cbac4fc9e8e20e52277efa9" "mono6.12.0"
fi
if [ "$POL_ARCH" == "amd64" ]; then
    POL_Download_Resource "https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-x64-0.msi" "27626b057fdeca298cd11f79ee73cf17" "mono6.12.0"
fi

   
# Check if it is already installed
CHECK_MONO481=`find $WINEPREFIX -name "mono-6.12.0.dll"`
if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then

    if [ "$POL_ARCH" == "x86" ]; then
        POL_Wine start msiexec /i "mono-6.12.0-gtksharp-2.12.45-win32-0.msi" /silent
        POL_Wine_WaitExit "Mono"
    fi
    if [ "$POL_ARCH" == "amd64" ]; then
        POL_Wine start msiexec /i "mono-6.12.0-x64-0.msi" /silent
        POL_Wine_WaitExit "Mono"
    fi

fi

Contributions

Filters:

Contribute
Member Message
Dadu042 Sunday 1 May 2022 at 14:06
Dadu042

Information

This update has been approved by the team.

Message


 

Differences

@@ -20,7 +20,7 @@
     POL_Download_Resource "https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-gtksharp-2.12.45-win32-0.msi" "ffe866680cbac4fc9e8e20e52277efa9" "mono6.12.0"
 fi
 if [ "$POL_ARCH" == "amd64" ]; then
-    POL_Download_Resource "https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-x64-0.msi" "bbacd0f561c5ba6a2e5b0befcf84c551" "mono6.12.0"
+    POL_Download_Resource "https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-x64-0.msi" "27626b057fdeca298cd11f79ee73cf17" "mono6.12.0"
 fi
 
    

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : see changelog
# Last revision : see changelog
# Author : Dadu042
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [Dadu042] (2022-03-30 13:00)
#   First script. Add 64bits support.


FORCE_MODE=$1
  
# Download Mono
mkdir -p "$POL_USER_ROOT"/ressources/mono6.12.0/
cd "$POL_USER_ROOT"/ressources/mono6.12.0/

if [ "$POL_ARCH" == "x86" ]; then
    POL_Download_Resource "https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-gtksharp-2.12.45-win32-0.msi" "ffe866680cbac4fc9e8e20e52277efa9" "mono6.12.0"
fi
if [ "$POL_ARCH" == "amd64" ]; then
    POL_Download_Resource "https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-x64-0.msi" "27626b057fdeca298cd11f79ee73cf17" "mono6.12.0"
fi

   
# Check if it is already installed
CHECK_MONO481=`find $WINEPREFIX -name "mono-6.12.0.dll"`
if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then

    if [ "$POL_ARCH" == "x86" ]; then
        POL_Wine start msiexec /i "mono-6.12.0-gtksharp-2.12.45-win32-0.msi" /silent
        POL_Wine_WaitExit "Mono"
    fi
    if [ "$POL_ARCH" == "amd64" ]; then
        POL_Wine start msiexec /i "mono-6.12.0-x64-0.msi" /silent
        POL_Wine_WaitExit "Mono"
    fi

fi

Replies

Anonymous
Tuesday 15 November 2022 at 14:37
Thanks, I will surely try it. 
Dadu042 Wednesday 30 March 2022 at 17:50
Dadu042

Warning

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

Differences

@@ -7,22 +7,34 @@
 #
 # CHANGELOG
 # [Dadu042] (2022-03-30 13:00)
-#   First script.
+#   First script. Add 64bits support.
+
 
-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/mono6.12.0/
 cd "$POL_USER_ROOT"/ressources/mono6.12.0/
-POL_Download_Resource "https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-gtksharp-2.12.45-win32-0.msi" "ffe866680cbac4fc9e8e20e52277efa9" "mono6.12.0"
+
+if [ "$POL_ARCH" == "x86" ]; then
+    POL_Download_Resource "https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-gtksharp-2.12.45-win32-0.msi" "ffe866680cbac4fc9e8e20e52277efa9" "mono6.12.0"
+fi
+if [ "$POL_ARCH" == "amd64" ]; then
+    POL_Download_Resource "https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-x64-0.msi" "bbacd0f561c5ba6a2e5b0befcf84c551" "mono6.12.0"
+fi
+
    
 # Check if it is already installed
 CHECK_MONO481=`find $WINEPREFIX -name "mono-6.12.0.dll"`
 if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then
+
+    if [ "$POL_ARCH" == "x86" ]; then
         POL_Wine start msiexec /i "mono-6.12.0-gtksharp-2.12.45-win32-0.msi" /silent
         POL_Wine_WaitExit "Mono"
+    fi
+    if [ "$POL_ARCH" == "amd64" ]; then
+        POL_Wine start msiexec /i "mono-6.12.0-x64-0.msi" /silent
+        POL_Wine_WaitExit "Mono"
+    fi
+
 fi
\ No newline at end of file

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : see changelog
# Last revision : see changelog
# Author : Dadu042
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [Dadu042] (2022-03-30 13:00)
#   First script. Add 64bits support.


FORCE_MODE=$1
  
# Download Mono
mkdir -p "$POL_USER_ROOT"/ressources/mono6.12.0/
cd "$POL_USER_ROOT"/ressources/mono6.12.0/

if [ "$POL_ARCH" == "x86" ]; then
    POL_Download_Resource "https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-gtksharp-2.12.45-win32-0.msi" "ffe866680cbac4fc9e8e20e52277efa9" "mono6.12.0"
fi
if [ "$POL_ARCH" == "amd64" ]; then
    POL_Download_Resource "https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-x64-0.msi" "bbacd0f561c5ba6a2e5b0befcf84c551" "mono6.12.0"
fi

   
# Check if it is already installed
CHECK_MONO481=`find $WINEPREFIX -name "mono-6.12.0.dll"`
if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then

    if [ "$POL_ARCH" == "x86" ]; then
        POL_Wine start msiexec /i "mono-6.12.0-gtksharp-2.12.45-win32-0.msi" /silent
        POL_Wine_WaitExit "Mono"
    fi
    if [ "$POL_ARCH" == "amd64" ]; then
        POL_Wine start msiexec /i "mono-6.12.0-x64-0.msi" /silent
        POL_Wine_WaitExit "Mono"
    fi

fi

Replies

Dadu042 Wednesday 30 March 2022 at 17:42
Dadu042

Warning

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

Differences

@@ -18,7 +18,7 @@
 # Download Mono
 mkdir -p "$POL_USER_ROOT"/ressources/mono6.12.0/
 cd "$POL_USER_ROOT"/ressources/mono6.12.0/
-POL_Download_Resource https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-gtksharp-2.12.45-win32-0.msi" "ffe866680cbac4fc9e8e20e52277efa9" "mono6.12.0"
+POL_Download_Resource "https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-gtksharp-2.12.45-win32-0.msi" "ffe866680cbac4fc9e8e20e52277efa9" "mono6.12.0"
    
 # Check if it is already installed
 CHECK_MONO481=`find $WINEPREFIX -name "mono-6.12.0.dll"`

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : see changelog
# Last revision : see changelog
# Author : Dadu042
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [Dadu042] (2022-03-30 13:00)
#   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/mono6.12.0/
cd "$POL_USER_ROOT"/ressources/mono6.12.0/
POL_Download_Resource "https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-gtksharp-2.12.45-win32-0.msi" "ffe866680cbac4fc9e8e20e52277efa9" "mono6.12.0"
   
# Check if it is already installed
CHECK_MONO481=`find $WINEPREFIX -name "mono-6.12.0.dll"`
if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then
        POL_Wine start msiexec /i "mono-6.12.0-gtksharp-2.12.45-win32-0.msi" /silent
        POL_Wine_WaitExit "Mono"
fi

Replies

Dadu042 Wednesday 30 March 2022 at 16:58
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 : see changelog
+# Last revision : see changelog
+# Author : Dadu042
+# Only For : http://www.playonlinux.com
+#
+# CHANGELOG
+# [Dadu042] (2022-03-30 13:00)
+#   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/mono6.12.0/
+cd "$POL_USER_ROOT"/ressources/mono6.12.0/
+POL_Download_Resource https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-gtksharp-2.12.45-win32-0.msi" "ffe866680cbac4fc9e8e20e52277efa9" "mono6.12.0"
+   
+# Check if it is already installed
+CHECK_MONO481=`find $WINEPREFIX -name "mono-6.12.0.dll"`
+if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then
+        POL_Wine start msiexec /i "mono-6.12.0-gtksharp-2.12.45-win32-0.msi" /silent
+        POL_Wine_WaitExit "Mono"
+fi
\ No newline at end of file

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : see changelog
# Last revision : see changelog
# Author : Dadu042
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [Dadu042] (2022-03-30 13:00)
#   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/mono6.12.0/
cd "$POL_USER_ROOT"/ressources/mono6.12.0/
POL_Download_Resource https://download.mono-project.com/archive/6.12.0/windows-installer/mono-6.12.0-gtksharp-2.12.45-win32-0.msi" "ffe866680cbac4fc9e8e20e52277efa9" "mono6.12.0"
   
# Check if it is already installed
CHECK_MONO481=`find $WINEPREFIX -name "mono-6.12.0.dll"`
if [ "$CHECK_MONO481" == "" ] || [ "$FORCE_MODE" == "--force" ]; then
        POL_Wine start msiexec /i "mono-6.12.0-gtksharp-2.12.45-win32-0.msi" /silent
        POL_Wine_WaitExit "Mono"
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