POL_Install_dotnet472

Informations

Créateur Messages
Dadu042

Attention

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

Informations

Plate-formes :
Téléchargements : 38779
Wine: System

Retours d'expérience

Description

Work in progress.

Code source

#!/bin/bash
# Date : (2019-09-27 19:45)
  
# Wine version used : 4.15
# Distribution used to test : Kubuntu 18.04 LTS amd64
# Author : Dadu042
# Licence : GPLv3
# PlayOnLinux: 4.3.4
#
# CHANGELOG
# [Dadu042] (2019-09-27 19:45)
#   First script.
#   I have inspired from 'POL_Install_dotnet461' by LinuxScripter,
#   and from the Winetricks sourcecode at:  https://github.com/Winetricks/winetricks/blob/master/src/winetricks
# [Dadu042] (2019-09-27 20:21)
#   Fix /norestart""
# [Dadu042] (2020-07-08 12:00)
#   Script does not end, so I remove  POL_SetupWindow_Close and exit 0, like in the Dotnet40 script.
#
# To see in Winetricks code:  "Running un-official repacked .NET 4.7.2 setup until the official version is fixed.",

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
POL_Debug_Init
POL_SetupWindow_Init

if [ "$POL_ARCH" == "amd64" ]; then
    # POL_Debug_Fatal "$(eval_gettext '64-bit not supported')"
    POL_SetupWindow_message "This package may not fully work on a 64-bit installation. 32-bit prefixes may work better." 
fi

#remove mono
POL_SetupWindow_message "Removing Mono..."
POL_Call POL_Remove_winemono
  
#cleanup
# POL_Wine --ignore-errors reg delete "HKLM\Software\Microsoft\NET Framework Setup\NDP\v3.5" /f
# POL_Wine --ignore-errors reg delete "HKLM\Software\Microsoft\NET Framework Setup\NDP\v4" /f
# rm "$WINEPREFIX/drive_c/windows/system32/mscoree.dll"
    
# POL_Wine --ignore-errors reg add "HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full" /v Install /t REG_DWORD /d 0001 /f
# POL_Wine --ignore-errors reg add "HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full" /v Version /t REG_SZ /d "4.0.30319" /f


# Dotnet472
POL_SetupWindow_message "Installing .NET 4.7.2"
POL_Download_Resource "https://download.microsoft.com/download/6/E/4/6E48E8AB-DC00-419E-9704-06DD46E5F81D/NDP472-KB4054530-x86-x64-AllOS-ENU.exe" "87450cfa175585b23a76bbd7052ee66b" "dotnet472"
cd "$POL_USER_ROOT/ressources/dotnet472"
POL_Wine --ignore-errors "NDP472-KB4054530-x86-x64-AllOS-ENU.exe" /q /c:"install.exe /sfxlang:1027 /q /norestart"


POL_Wine_OverrideDLL "native" "mscoree"

Contributions

Filters:

Contribuer
Membre Messages
Qrchack Lundi 1 Aoüt 2022 à 19:13
Qrchack Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -1,13 +1,15 @@
 #!/bin/bash
-# Date : (2019-09-27 19:45)
+# Date : (2019-09-27 19:27)
   
-# Wine version used : 4.15
-# Distribution used to test : Kubuntu 18.04 LTS amd64
-# Author : Dadu042
+# Wine version used : 7.11
+# Distribution used to test : macOS 10.14.6 Mojave
+# Author : Dadu042, Qrchack
 # Licence : GPLv3
-# PlayOnLinux: 4.3.4
+# PlayOnLinux: 4.3.3
 #
 # CHANGELOG
+# [Qrchack] (2022-08-01 19:27)
+#   Updated download link due to 404 on Microsoft servers
 # [Dadu042] (2019-09-27 19:45)
 #   First script.
 #   I have inspired from 'POL_Install_dotnet461' by LinuxScripter,
@@ -45,9 +47,8 @@
 
 # Dotnet472
 POL_SetupWindow_message "Installing .NET 4.7.2"
-POL_Download_Resource "https://download.microsoft.com/download/6/E/4/6E48E8AB-DC00-419E-9704-06DD46E5F81D/NDP472-KB4054530-x86-x64-AllOS-ENU.exe" "87450cfa175585b23a76bbd7052ee66b" "dotnet472"
+POL_Download_Resource "https://download.visualstudio.microsoft.com/download/pr/1f5af042-d0e4-4002-9c59-9ba66bcf15f6/089f837de42708daacaae7c04b7494db/NDP472-KB4054530-x86-x64-AllOS-ENU.exe" "4037bdde26bf72e2ce5108cb30387bcd" "dotnet472"
 cd "$POL_USER_ROOT/ressources/dotnet472"
 POL_Wine --ignore-errors "NDP472-KB4054530-x86-x64-AllOS-ENU.exe" /q /c:"install.exe /sfxlang:1027 /q /norestart"
 
-
 POL_Wine_OverrideDLL "native" "mscoree"
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2019-09-27 19:27)
  
# Wine version used : 7.11
# Distribution used to test : macOS 10.14.6 Mojave
# Author : Dadu042, Qrchack
# Licence : GPLv3
# PlayOnLinux: 4.3.3
#
# CHANGELOG
# [Qrchack] (2022-08-01 19:27)
#   Updated download link due to 404 on Microsoft servers
# [Dadu042] (2019-09-27 19:45)
#   First script.
#   I have inspired from 'POL_Install_dotnet461' by LinuxScripter,
#   and from the Winetricks sourcecode at:  https://github.com/Winetricks/winetricks/blob/master/src/winetricks
# [Dadu042] (2019-09-27 20:21)
#   Fix /norestart""
# [Dadu042] (2020-07-08 12:00)
#   Script does not end, so I remove  POL_SetupWindow_Close and exit 0, like in the Dotnet40 script.
#
# To see in Winetricks code:  "Running un-official repacked .NET 4.7.2 setup until the official version is fixed.",

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
POL_Debug_Init
POL_SetupWindow_Init

if [ "$POL_ARCH" == "amd64" ]; then
    # POL_Debug_Fatal "$(eval_gettext '64-bit not supported')"
    POL_SetupWindow_message "This package may not fully work on a 64-bit installation. 32-bit prefixes may work better." 
fi

#remove mono
POL_SetupWindow_message "Removing Mono..."
POL_Call POL_Remove_winemono
  
#cleanup
# POL_Wine --ignore-errors reg delete "HKLM\Software\Microsoft\NET Framework Setup\NDP\v3.5" /f
# POL_Wine --ignore-errors reg delete "HKLM\Software\Microsoft\NET Framework Setup\NDP\v4" /f
# rm "$WINEPREFIX/drive_c/windows/system32/mscoree.dll"
    
# POL_Wine --ignore-errors reg add "HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full" /v Install /t REG_DWORD /d 0001 /f
# POL_Wine --ignore-errors reg add "HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full" /v Version /t REG_SZ /d "4.0.30319" /f


# Dotnet472
POL_SetupWindow_message "Installing .NET 4.7.2"
POL_Download_Resource "https://download.visualstudio.microsoft.com/download/pr/1f5af042-d0e4-4002-9c59-9ba66bcf15f6/089f837de42708daacaae7c04b7494db/NDP472-KB4054530-x86-x64-AllOS-ENU.exe" "4037bdde26bf72e2ce5108cb30387bcd" "dotnet472"
cd "$POL_USER_ROOT/ressources/dotnet472"
POL_Wine --ignore-errors "NDP472-KB4054530-x86-x64-AllOS-ENU.exe" /q /c:"install.exe /sfxlang:1027 /q /norestart"

POL_Wine_OverrideDLL "native" "mscoree"

Réponses

Anonymous
Lundi 1 Aoüt 2022 à 19:14
Updated download link due to 404 on MIcrosoft servers
Anonymous
Jeudi 21 Mars 2024 à 14:55
Old : 87450cfa175585b23a76bbd7052ee66b and New : 21701848c9559c48db9bf49ac06ba383 please fix this
Anonymous
Jeudi 21 Mars 2024 à 14:56
Thanks my friend 472 is for the progdvb
Anonymous
Jeudi 21 Mars 2024 à 14:56
Or can Change self ? What Folder is the Files Skripts

Edité par Qrchack

Dadu042 Mercredi 8 Juillet 2020 à 13:55
Dadu042

Information

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

Messages

Tried with Wine 5.0.1 32bits.

Differences

@@ -14,6 +14,8 @@
 #   and from the Winetricks sourcecode at:  https://github.com/Winetricks/winetricks/blob/master/src/winetricks
 # [Dadu042] (2019-09-27 20:21)
 #   Fix /norestart""
+# [Dadu042] (2020-07-08 12:00)
+#   Script does not end, so I remove  POL_SetupWindow_Close and exit 0, like in the Dotnet40 script.
 #
 # To see in Winetricks code:  "Running un-official repacked .NET 4.7.2 setup until the official version is fixed.",
 
@@ -48,7 +50,4 @@
 POL_Wine --ignore-errors "NDP472-KB4054530-x86-x64-AllOS-ENU.exe" /q /c:"install.exe /sfxlang:1027 /q /norestart"
 
 
-POL_Wine_OverrideDLL "native" "mscoree"
-  
-POL_SetupWindow_Close
-exit 0
\ No newline at end of file
+POL_Wine_OverrideDLL "native" "mscoree"
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2019-09-27 19:45)
  
# Wine version used : 4.15
# Distribution used to test : Kubuntu 18.04 LTS amd64
# Author : Dadu042
# Licence : GPLv3
# PlayOnLinux: 4.3.4
#
# CHANGELOG
# [Dadu042] (2019-09-27 19:45)
#   First script.
#   I have inspired from 'POL_Install_dotnet461' by LinuxScripter,
#   and from the Winetricks sourcecode at:  https://github.com/Winetricks/winetricks/blob/master/src/winetricks
# [Dadu042] (2019-09-27 20:21)
#   Fix /norestart""
# [Dadu042] (2020-07-08 12:00)
#   Script does not end, so I remove  POL_SetupWindow_Close and exit 0, like in the Dotnet40 script.
#
# To see in Winetricks code:  "Running un-official repacked .NET 4.7.2 setup until the official version is fixed.",

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
POL_Debug_Init
POL_SetupWindow_Init

if [ "$POL_ARCH" == "amd64" ]; then
    # POL_Debug_Fatal "$(eval_gettext '64-bit not supported')"
    POL_SetupWindow_message "This package may not fully work on a 64-bit installation. 32-bit prefixes may work better." 
fi

#remove mono
POL_SetupWindow_message "Removing Mono..."
POL_Call POL_Remove_winemono
  
#cleanup
# POL_Wine --ignore-errors reg delete "HKLM\Software\Microsoft\NET Framework Setup\NDP\v3.5" /f
# POL_Wine --ignore-errors reg delete "HKLM\Software\Microsoft\NET Framework Setup\NDP\v4" /f
# rm "$WINEPREFIX/drive_c/windows/system32/mscoree.dll"
    
# POL_Wine --ignore-errors reg add "HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full" /v Install /t REG_DWORD /d 0001 /f
# POL_Wine --ignore-errors reg add "HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full" /v Version /t REG_SZ /d "4.0.30319" /f


# Dotnet472
POL_SetupWindow_message "Installing .NET 4.7.2"
POL_Download_Resource "https://download.microsoft.com/download/6/E/4/6E48E8AB-DC00-419E-9704-06DD46E5F81D/NDP472-KB4054530-x86-x64-AllOS-ENU.exe" "87450cfa175585b23a76bbd7052ee66b" "dotnet472"
cd "$POL_USER_ROOT/ressources/dotnet472"
POL_Wine --ignore-errors "NDP472-KB4054530-x86-x64-AllOS-ENU.exe" /q /c:"install.exe /sfxlang:1027 /q /norestart"


POL_Wine_OverrideDLL "native" "mscoree"

Réponses

Anonymous
Jeudi 21 Mars 2024 à 13:32
Please fix the Download Link thanks but can Change self in the Folder?
Anonymous
Jeudi 21 Mars 2024 à 14:53
Old
Anonymous
Jeudi 21 Mars 2024 à 15:02
Alt: 87450cfa175585b23a76bbd7052ee66b und Neu: 21701848c9559c48db9bf49ac06ba383 Bitte beheben Sie das Problem

Edité par Dadu042

Dadu042 Vendredi 27 September 2019 à 20:22
Dadu042

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -1,7 +1,7 @@
 #!/bin/bash
 # Date : (2019-09-27 19:45)
   
-# Wine version used : 4.0.2
+# Wine version used : 4.15
 # Distribution used to test : Kubuntu 18.04 LTS amd64
 # Author : Dadu042
 # Licence : GPLv3
@@ -12,6 +12,8 @@
 #   First script.
 #   I have inspired from 'POL_Install_dotnet461' by LinuxScripter,
 #   and from the Winetricks sourcecode at:  https://github.com/Winetricks/winetricks/blob/master/src/winetricks
+# [Dadu042] (2019-09-27 20:21)
+#   Fix /norestart""
 #
 # To see in Winetricks code:  "Running un-official repacked .NET 4.7.2 setup until the official version is fixed.",
 
@@ -43,7 +45,7 @@
 POL_SetupWindow_message "Installing .NET 4.7.2"
 POL_Download_Resource "https://download.microsoft.com/download/6/E/4/6E48E8AB-DC00-419E-9704-06DD46E5F81D/NDP472-KB4054530-x86-x64-AllOS-ENU.exe" "87450cfa175585b23a76bbd7052ee66b" "dotnet472"
 cd "$POL_USER_ROOT/ressources/dotnet472"
-POL_Wine --ignore-errors "NDP472-KB4054530-x86-x64-AllOS-ENU.exe" /q /c:"install.exe /sfxlang:1027 /q /norestart""
+POL_Wine --ignore-errors "NDP472-KB4054530-x86-x64-AllOS-ENU.exe" /q /c:"install.exe /sfxlang:1027 /q /norestart"
 
 
 POL_Wine_OverrideDLL "native" "mscoree"

Nouveau code source

#!/bin/bash
# Date : (2019-09-27 19:45)
  
# Wine version used : 4.15
# Distribution used to test : Kubuntu 18.04 LTS amd64
# Author : Dadu042
# Licence : GPLv3
# PlayOnLinux: 4.3.4
#
# CHANGELOG
# [Dadu042] (2019-09-27 19:45)
#   First script.
#   I have inspired from 'POL_Install_dotnet461' by LinuxScripter,
#   and from the Winetricks sourcecode at:  https://github.com/Winetricks/winetricks/blob/master/src/winetricks
# [Dadu042] (2019-09-27 20:21)
#   Fix /norestart""
#
# To see in Winetricks code:  "Running un-official repacked .NET 4.7.2 setup until the official version is fixed.",

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
POL_Debug_Init
POL_SetupWindow_Init

if [ "$POL_ARCH" == "amd64" ]; then
    # POL_Debug_Fatal "$(eval_gettext '64-bit not supported')"
    POL_SetupWindow_message "This package may not fully work on a 64-bit installation. 32-bit prefixes may work better." 
fi

#remove mono
POL_SetupWindow_message "Removing Mono..."
POL_Call POL_Remove_winemono
  
#cleanup
# POL_Wine --ignore-errors reg delete "HKLM\Software\Microsoft\NET Framework Setup\NDP\v3.5" /f
# POL_Wine --ignore-errors reg delete "HKLM\Software\Microsoft\NET Framework Setup\NDP\v4" /f
# rm "$WINEPREFIX/drive_c/windows/system32/mscoree.dll"
    
# POL_Wine --ignore-errors reg add "HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full" /v Install /t REG_DWORD /d 0001 /f
# POL_Wine --ignore-errors reg add "HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full" /v Version /t REG_SZ /d "4.0.30319" /f


# Dotnet472
POL_SetupWindow_message "Installing .NET 4.7.2"
POL_Download_Resource "https://download.microsoft.com/download/6/E/4/6E48E8AB-DC00-419E-9704-06DD46E5F81D/NDP472-KB4054530-x86-x64-AllOS-ENU.exe" "87450cfa175585b23a76bbd7052ee66b" "dotnet472"
cd "$POL_USER_ROOT/ressources/dotnet472"
POL_Wine --ignore-errors "NDP472-KB4054530-x86-x64-AllOS-ENU.exe" /q /c:"install.exe /sfxlang:1027 /q /norestart"


POL_Wine_OverrideDLL "native" "mscoree"
  
POL_SetupWindow_Close
exit 0

Réponses

Dadu042 Vendredi 27 September 2019 à 19:39
Dadu042

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -12,6 +12,8 @@
 #   First script.
 #   I have inspired from 'POL_Install_dotnet461' by LinuxScripter,
 #   and from the Winetricks sourcecode at:  https://github.com/Winetricks/winetricks/blob/master/src/winetricks
+#
+# To see in Winetricks code:  "Running un-official repacked .NET 4.7.2 setup until the official version is fixed.",
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"

Nouveau code source

#!/bin/bash
# Date : (2019-09-27 19:45)
  
# Wine version used : 4.0.2
# Distribution used to test : Kubuntu 18.04 LTS amd64
# Author : Dadu042
# Licence : GPLv3
# PlayOnLinux: 4.3.4
#
# CHANGELOG
# [Dadu042] (2019-09-27 19:45)
#   First script.
#   I have inspired from 'POL_Install_dotnet461' by LinuxScripter,
#   and from the Winetricks sourcecode at:  https://github.com/Winetricks/winetricks/blob/master/src/winetricks
#
# To see in Winetricks code:  "Running un-official repacked .NET 4.7.2 setup until the official version is fixed.",

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
POL_Debug_Init
POL_SetupWindow_Init

if [ "$POL_ARCH" == "amd64" ]; then
    # POL_Debug_Fatal "$(eval_gettext '64-bit not supported')"
    POL_SetupWindow_message "This package may not fully work on a 64-bit installation. 32-bit prefixes may work better." 
fi

#remove mono
POL_SetupWindow_message "Removing Mono..."
POL_Call POL_Remove_winemono
  
#cleanup
# POL_Wine --ignore-errors reg delete "HKLM\Software\Microsoft\NET Framework Setup\NDP\v3.5" /f
# POL_Wine --ignore-errors reg delete "HKLM\Software\Microsoft\NET Framework Setup\NDP\v4" /f
# rm "$WINEPREFIX/drive_c/windows/system32/mscoree.dll"
    
# POL_Wine --ignore-errors reg add "HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full" /v Install /t REG_DWORD /d 0001 /f
# POL_Wine --ignore-errors reg add "HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full" /v Version /t REG_SZ /d "4.0.30319" /f


# Dotnet472
POL_SetupWindow_message "Installing .NET 4.7.2"
POL_Download_Resource "https://download.microsoft.com/download/6/E/4/6E48E8AB-DC00-419E-9704-06DD46E5F81D/NDP472-KB4054530-x86-x64-AllOS-ENU.exe" "87450cfa175585b23a76bbd7052ee66b" "dotnet472"
cd "$POL_USER_ROOT/ressources/dotnet472"
POL_Wine --ignore-errors "NDP472-KB4054530-x86-x64-AllOS-ENU.exe" /q /c:"install.exe /sfxlang:1027 /q /norestart""


POL_Wine_OverrideDLL "native" "mscoree"
  
POL_SetupWindow_Close
exit 0

Réponses

Edité par 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