POL_Install_dotnet452_beta_test

Informations

Créateur Messages
Dadu042

Information

Cet installateur a été accepté par l'équipe.

Informations

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

Retours d'expérience

Description

Test

Code source

#!/bin/bash
# Date : see changelog
# Wine version used : 5.0.1
# Distribution used to test : Kubuntu 18.04 LTS amd64
# Author : Dadu042
# Licence : GPLv3
# PlayOnLinux: 4.3.4
#
# CHANGELOG
# [Dadu042] (2019-09-27 20:05)
#   First script.
#   I have inspired from  'POL_Install_dotnet480' (insired by 'POL_Install_dotnet461' by LinuxScripter),
#   and from the Winetricks sourcecode at:  https://github.com/Winetricks/winetricks/blob/master/src/winetricks
# [Dadu042] (2020-07-19 20:00)
#   Remove useless code for a function.

# This part does not appear in the Winetricks code
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_OverrideDLL "native" "mscoree"

POL_Wine_OverrideDLL "builtin" "fusion"
export WINEDLLOVERRIDES
wineserver -k
 
# Main part of the script
POL_SetupWindow_message "Installing .NET 4.5.2"
POL_Download_Resource "https://download.microsoft.com/download/E/2/1/E21644B5-2DF2-47C2-91BD-63C560427900/NDP452-KB2901907-x86-x64-AllOS-ENU.exe" "ee01fc4110c73a8e5efc7cabda0f5ff7" "dotnet452"
cd "$POL_USER_ROOT/ressources/dotnet452"
 
POL_Wine --ignore-errors "NDP452-KB2901907-x86-x64-AllOS-ENU.exe" /q /c:"install.exe /q"
POL_Wine_WaitBefore ".NET Framework"

# Registry fix to let softwares know what Dotnet version is installed
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.379893" /f
# Versions are listed at: https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed

POL_SetupWindow_message "Setting Windows version to 2003, otherwise applications using .NET 4.5 will subtly fail."
Set_OS "win2003"

unset WINEDLLOVERRIDES

POL_Wine_OverrideDLL "native" "mscoree"
wineserver -k

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Samedi 25 Juillet 2020 à 23:35
Dadu042

Information

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

Differences

@@ -41,6 +41,7 @@
 cd "$POL_USER_ROOT/ressources/dotnet452"
  
 POL_Wine --ignore-errors "NDP452-KB2901907-x86-x64-AllOS-ENU.exe" /q /c:"install.exe /q"
+POL_Wine_WaitBefore ".NET Framework"
 
 # Registry fix to let softwares know what Dotnet version is installed
 POL_Wine --ignore-errors reg add "HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full" /v Install /t REG_DWORD /d 0001 /f
@@ -51,4 +52,6 @@
 Set_OS "win2003"
 
 unset WINEDLLOVERRIDES
+
+POL_Wine_OverrideDLL "native" "mscoree"
 wineserver -k
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : see changelog
# Wine version used : 5.0.1
# Distribution used to test : Kubuntu 18.04 LTS amd64
# Author : Dadu042
# Licence : GPLv3
# PlayOnLinux: 4.3.4
#
# CHANGELOG
# [Dadu042] (2019-09-27 20:05)
#   First script.
#   I have inspired from  'POL_Install_dotnet480' (insired by 'POL_Install_dotnet461' by LinuxScripter),
#   and from the Winetricks sourcecode at:  https://github.com/Winetricks/winetricks/blob/master/src/winetricks
# [Dadu042] (2020-07-19 20:00)
#   Remove useless code for a function.

# This part does not appear in the Winetricks code
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_OverrideDLL "native" "mscoree"

POL_Wine_OverrideDLL "builtin" "fusion"
export WINEDLLOVERRIDES
wineserver -k
 
# Main part of the script
POL_SetupWindow_message "Installing .NET 4.5.2"
POL_Download_Resource "https://download.microsoft.com/download/E/2/1/E21644B5-2DF2-47C2-91BD-63C560427900/NDP452-KB2901907-x86-x64-AllOS-ENU.exe" "ee01fc4110c73a8e5efc7cabda0f5ff7" "dotnet452"
cd "$POL_USER_ROOT/ressources/dotnet452"
 
POL_Wine --ignore-errors "NDP452-KB2901907-x86-x64-AllOS-ENU.exe" /q /c:"install.exe /q"
POL_Wine_WaitBefore ".NET Framework"

# Registry fix to let softwares know what Dotnet version is installed
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.379893" /f
# Versions are listed at: https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed

POL_SetupWindow_message "Setting Windows version to 2003, otherwise applications using .NET 4.5 will subtly fail."
Set_OS "win2003"

unset WINEDLLOVERRIDES

POL_Wine_OverrideDLL "native" "mscoree"
wineserver -k

Réponses

Edité par Dadu042

Dadu042 Dimanche 19 Juillet 2020 à 20:33
Dadu042

Warning

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

Differences

@@ -51,5 +51,4 @@
 Set_OS "win2003"
 
 unset WINEDLLOVERRIDES
-POL_Wine_OverrideDLL "builtin" "fusion"
 wineserver -k
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : see changelog
# Wine version used : 5.0.1
# Distribution used to test : Kubuntu 18.04 LTS amd64
# Author : Dadu042
# Licence : GPLv3
# PlayOnLinux: 4.3.4
#
# CHANGELOG
# [Dadu042] (2019-09-27 20:05)
#   First script.
#   I have inspired from  'POL_Install_dotnet480' (insired by 'POL_Install_dotnet461' by LinuxScripter),
#   and from the Winetricks sourcecode at:  https://github.com/Winetricks/winetricks/blob/master/src/winetricks
# [Dadu042] (2020-07-19 20:00)
#   Remove useless code for a function.

# This part does not appear in the Winetricks code
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_OverrideDLL "native" "mscoree"

POL_Wine_OverrideDLL "builtin" "fusion"
export WINEDLLOVERRIDES
wineserver -k
 
# Main part of the script
POL_SetupWindow_message "Installing .NET 4.5.2"
POL_Download_Resource "https://download.microsoft.com/download/E/2/1/E21644B5-2DF2-47C2-91BD-63C560427900/NDP452-KB2901907-x86-x64-AllOS-ENU.exe" "ee01fc4110c73a8e5efc7cabda0f5ff7" "dotnet452"
cd "$POL_USER_ROOT/ressources/dotnet452"
 
POL_Wine --ignore-errors "NDP452-KB2901907-x86-x64-AllOS-ENU.exe" /q /c:"install.exe /q"

# Registry fix to let softwares know what Dotnet version is installed
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.379893" /f
# Versions are listed at: https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed

POL_SetupWindow_message "Setting Windows version to 2003, otherwise applications using .NET 4.5 will subtly fail."
Set_OS "win2003"

unset WINEDLLOVERRIDES
wineserver -k

Réponses

Dadu042 Dimanche 19 Juillet 2020 à 20:26
Dadu042

Warning

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

Differences

@@ -11,14 +11,9 @@
 #   First script.
 #   I have inspired from  'POL_Install_dotnet480' (insired by 'POL_Install_dotnet461' by LinuxScripter),
 #   and from the Winetricks sourcecode at:  https://github.com/Winetricks/winetricks/blob/master/src/winetricks
+# [Dadu042] (2020-07-19 20:00)
+#   Remove useless code for a function.
 
- 
-[ "$PLAYONLINUX" = "" ] && exit 0
-source "$PLAYONLINUX/lib/sources"
-  
-POL_Debug_Init
-POL_SetupWindow_Init
- 
 # This part does not appear in the Winetricks code
 if [ "$POL_ARCH" == "amd64" ]; then
     # POL_Debug_Fatal "$(eval_gettext '64-bit not supported')"

Nouveau code source

#!/bin/bash
# Date : see changelog
# Wine version used : 5.0.1
# Distribution used to test : Kubuntu 18.04 LTS amd64
# Author : Dadu042
# Licence : GPLv3
# PlayOnLinux: 4.3.4
#
# CHANGELOG
# [Dadu042] (2019-09-27 20:05)
#   First script.
#   I have inspired from  'POL_Install_dotnet480' (insired by 'POL_Install_dotnet461' by LinuxScripter),
#   and from the Winetricks sourcecode at:  https://github.com/Winetricks/winetricks/blob/master/src/winetricks
# [Dadu042] (2020-07-19 20:00)
#   Remove useless code for a function.

# This part does not appear in the Winetricks code
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_OverrideDLL "native" "mscoree"

POL_Wine_OverrideDLL "builtin" "fusion"
export WINEDLLOVERRIDES
wineserver -k
 
# Main part of the script
POL_SetupWindow_message "Installing .NET 4.5.2"
POL_Download_Resource "https://download.microsoft.com/download/E/2/1/E21644B5-2DF2-47C2-91BD-63C560427900/NDP452-KB2901907-x86-x64-AllOS-ENU.exe" "ee01fc4110c73a8e5efc7cabda0f5ff7" "dotnet452"
cd "$POL_USER_ROOT/ressources/dotnet452"
 
POL_Wine --ignore-errors "NDP452-KB2901907-x86-x64-AllOS-ENU.exe" /q /c:"install.exe /q"

# Registry fix to let softwares know what Dotnet version is installed
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.379893" /f
# Versions are listed at: https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed

POL_SetupWindow_message "Setting Windows version to 2003, otherwise applications using .NET 4.5 will subtly fail."
Set_OS "win2003"

unset WINEDLLOVERRIDES
POL_Wine_OverrideDLL "builtin" "fusion"
wineserver -k

Réponses

Dadu042 Dimanche 19 Juillet 2020 à 20:15
Dadu042

Warning

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

Messages

Remove POL_Call POL_Install_dotnet40, I think that it should be call before this function.

Differences

@@ -29,8 +29,6 @@
 POL_SetupWindow_message "Removing Mono..."
 POL_Call POL_Remove_winemono
 
-POL_Call POL_Install_dotnet40
-
 #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

Nouveau code source

#!/bin/bash
# Date : see changelog
# Wine version used : 5.0.1
# Distribution used to test : Kubuntu 18.04 LTS amd64
# Author : Dadu042
# Licence : GPLv3
# PlayOnLinux: 4.3.4
#
# CHANGELOG
# [Dadu042] (2019-09-27 20:05)
#   First script.
#   I have inspired from  'POL_Install_dotnet480' (insired by 'POL_Install_dotnet461' by LinuxScripter),
#   and from the Winetricks sourcecode at:  https://github.com/Winetricks/winetricks/blob/master/src/winetricks

 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
POL_Debug_Init
POL_SetupWindow_Init
 
# This part does not appear in the Winetricks code
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_OverrideDLL "native" "mscoree"

POL_Wine_OverrideDLL "builtin" "fusion"
export WINEDLLOVERRIDES
wineserver -k
 
# Main part of the script
POL_SetupWindow_message "Installing .NET 4.5.2"
POL_Download_Resource "https://download.microsoft.com/download/E/2/1/E21644B5-2DF2-47C2-91BD-63C560427900/NDP452-KB2901907-x86-x64-AllOS-ENU.exe" "ee01fc4110c73a8e5efc7cabda0f5ff7" "dotnet452"
cd "$POL_USER_ROOT/ressources/dotnet452"
 
POL_Wine --ignore-errors "NDP452-KB2901907-x86-x64-AllOS-ENU.exe" /q /c:"install.exe /q"

# Registry fix to let softwares know what Dotnet version is installed
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.379893" /f
# Versions are listed at: https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed

POL_SetupWindow_message "Setting Windows version to 2003, otherwise applications using .NET 4.5 will subtly fail."
Set_OS "win2003"

unset WINEDLLOVERRIDES
POL_Wine_OverrideDLL "builtin" "fusion"
wineserver -k

Réponses

Dadu042 Mercredi 8 Juillet 2020 à 15:49
Dadu042

Warning

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

Differences

@@ -36,10 +36,6 @@
 # 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
- 
- 
 POL_Wine_OverrideDLL "native" "mscoree"
 
 POL_Wine_OverrideDLL "builtin" "fusion"
@@ -53,6 +49,11 @@
  
 POL_Wine --ignore-errors "NDP452-KB2901907-x86-x64-AllOS-ENU.exe" /q /c:"install.exe /q"
 
+# Registry fix to let softwares know what Dotnet version is installed
+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.379893" /f
+# Versions are listed at: https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed
+
 POL_SetupWindow_message "Setting Windows version to 2003, otherwise applications using .NET 4.5 will subtly fail."
 Set_OS "win2003"
 

Nouveau code source

#!/bin/bash
# Date : see changelog
# Wine version used : 5.0.1
# Distribution used to test : Kubuntu 18.04 LTS amd64
# Author : Dadu042
# Licence : GPLv3
# PlayOnLinux: 4.3.4
#
# CHANGELOG
# [Dadu042] (2019-09-27 20:05)
#   First script.
#   I have inspired from  'POL_Install_dotnet480' (insired by 'POL_Install_dotnet461' by LinuxScripter),
#   and from the Winetricks sourcecode at:  https://github.com/Winetricks/winetricks/blob/master/src/winetricks

 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
POL_Debug_Init
POL_SetupWindow_Init
 
# This part does not appear in the Winetricks code
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

POL_Call POL_Install_dotnet40

#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_OverrideDLL "native" "mscoree"

POL_Wine_OverrideDLL "builtin" "fusion"
export WINEDLLOVERRIDES
wineserver -k
 
# Main part of the script
POL_SetupWindow_message "Installing .NET 4.5.2"
POL_Download_Resource "https://download.microsoft.com/download/E/2/1/E21644B5-2DF2-47C2-91BD-63C560427900/NDP452-KB2901907-x86-x64-AllOS-ENU.exe" "ee01fc4110c73a8e5efc7cabda0f5ff7" "dotnet452"
cd "$POL_USER_ROOT/ressources/dotnet452"
 
POL_Wine --ignore-errors "NDP452-KB2901907-x86-x64-AllOS-ENU.exe" /q /c:"install.exe /q"

# Registry fix to let softwares know what Dotnet version is installed
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.379893" /f
# Versions are listed at: https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed

POL_SetupWindow_message "Setting Windows version to 2003, otherwise applications using .NET 4.5 will subtly fail."
Set_OS "win2003"

unset WINEDLLOVERRIDES
POL_Wine_OverrideDLL "builtin" "fusion"
wineserver -k

Réponses

Dadu042 Mercredi 8 Juillet 2020 à 15:15
Dadu042

Warning

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

Differences

@@ -42,7 +42,7 @@
  
 POL_Wine_OverrideDLL "native" "mscoree"
 
-WINEDLLOVERRIDES="fusion=b"
+POL_Wine_OverrideDLL "builtin" "fusion"
 export WINEDLLOVERRIDES
 wineserver -k
  
@@ -54,4 +54,8 @@
 POL_Wine --ignore-errors "NDP452-KB2901907-x86-x64-AllOS-ENU.exe" /q /c:"install.exe /q"
 
 POL_SetupWindow_message "Setting Windows version to 2003, otherwise applications using .NET 4.5 will subtly fail."
-Set_OS "win2003"
\ No newline at end of file
+Set_OS "win2003"
+
+unset WINEDLLOVERRIDES
+POL_Wine_OverrideDLL "builtin" "fusion"
+wineserver -k
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : see changelog
# Wine version used : 5.0.1
# Distribution used to test : Kubuntu 18.04 LTS amd64
# Author : Dadu042
# Licence : GPLv3
# PlayOnLinux: 4.3.4
#
# CHANGELOG
# [Dadu042] (2019-09-27 20:05)
#   First script.
#   I have inspired from  'POL_Install_dotnet480' (insired by 'POL_Install_dotnet461' by LinuxScripter),
#   and from the Winetricks sourcecode at:  https://github.com/Winetricks/winetricks/blob/master/src/winetricks

 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
POL_Debug_Init
POL_SetupWindow_Init
 
# This part does not appear in the Winetricks code
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

POL_Call POL_Install_dotnet40

#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
 
 
POL_Wine_OverrideDLL "native" "mscoree"

POL_Wine_OverrideDLL "builtin" "fusion"
export WINEDLLOVERRIDES
wineserver -k
 
# Main part of the script
POL_SetupWindow_message "Installing .NET 4.5.2"
POL_Download_Resource "https://download.microsoft.com/download/E/2/1/E21644B5-2DF2-47C2-91BD-63C560427900/NDP452-KB2901907-x86-x64-AllOS-ENU.exe" "ee01fc4110c73a8e5efc7cabda0f5ff7" "dotnet452"
cd "$POL_USER_ROOT/ressources/dotnet452"
 
POL_Wine --ignore-errors "NDP452-KB2901907-x86-x64-AllOS-ENU.exe" /q /c:"install.exe /q"

POL_SetupWindow_message "Setting Windows version to 2003, otherwise applications using .NET 4.5 will subtly fail."
Set_OS "win2003"

unset WINEDLLOVERRIDES
POL_Wine_OverrideDLL "builtin" "fusion"
wineserver -k

Réponses

Edité par Dadu042

Dadu042 Mercredi 8 Juillet 2020 à 15:06
Dadu042

Warning

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

Messages

Imports from Dotnet40.

Differences

@@ -41,13 +41,17 @@
  
  
 POL_Wine_OverrideDLL "native" "mscoree"
+
+WINEDLLOVERRIDES="fusion=b"
+export WINEDLLOVERRIDES
+wineserver -k
  
 # Main part of the script
 POL_SetupWindow_message "Installing .NET 4.5.2"
 POL_Download_Resource "https://download.microsoft.com/download/E/2/1/E21644B5-2DF2-47C2-91BD-63C560427900/NDP452-KB2901907-x86-x64-AllOS-ENU.exe" "ee01fc4110c73a8e5efc7cabda0f5ff7" "dotnet452"
 cd "$POL_USER_ROOT/ressources/dotnet452"
  
-POL_Wine --ignore-errors "NDP452-KB2901907-x86-x64-AllOS-ENU.exe" /q /c:"install.exe /sfxlang:1027 /q /norestart"
+POL_Wine --ignore-errors "NDP452-KB2901907-x86-x64-AllOS-ENU.exe" /q /c:"install.exe /q"
 
 POL_SetupWindow_message "Setting Windows version to 2003, otherwise applications using .NET 4.5 will subtly fail."
-Set_OS "win2003"
+Set_OS "win2003"
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : see changelog
# Wine version used : 5.0.1
# Distribution used to test : Kubuntu 18.04 LTS amd64
# Author : Dadu042
# Licence : GPLv3
# PlayOnLinux: 4.3.4
#
# CHANGELOG
# [Dadu042] (2019-09-27 20:05)
#   First script.
#   I have inspired from  'POL_Install_dotnet480' (insired by 'POL_Install_dotnet461' by LinuxScripter),
#   and from the Winetricks sourcecode at:  https://github.com/Winetricks/winetricks/blob/master/src/winetricks

 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
POL_Debug_Init
POL_SetupWindow_Init
 
# This part does not appear in the Winetricks code
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

POL_Call POL_Install_dotnet40

#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
 
 
POL_Wine_OverrideDLL "native" "mscoree"

WINEDLLOVERRIDES="fusion=b"
export WINEDLLOVERRIDES
wineserver -k
 
# Main part of the script
POL_SetupWindow_message "Installing .NET 4.5.2"
POL_Download_Resource "https://download.microsoft.com/download/E/2/1/E21644B5-2DF2-47C2-91BD-63C560427900/NDP452-KB2901907-x86-x64-AllOS-ENU.exe" "ee01fc4110c73a8e5efc7cabda0f5ff7" "dotnet452"
cd "$POL_USER_ROOT/ressources/dotnet452"
 
POL_Wine --ignore-errors "NDP452-KB2901907-x86-x64-AllOS-ENU.exe" /q /c:"install.exe /q"

POL_SetupWindow_message "Setting Windows version to 2003, otherwise applications using .NET 4.5 will subtly fail."
Set_OS "win2003"

Réponses

Dadu042 Mercredi 8 Juillet 2020 à 14:40
Dadu042

Warning

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

Differences

@@ -29,7 +29,7 @@
 POL_SetupWindow_message "Removing Mono..."
 POL_Call POL_Remove_winemono
 
-POL_Call POL_Remove_dotnet40
+POL_Call POL_Install_dotnet40
 
 #cleanup
 # POL_Wine --ignore-errors reg delete "HKLM\Software\Microsoft\NET Framework Setup\NDP\v3.5" /f

Nouveau code source

#!/bin/bash
# Date : see changelog
# Wine version used : 5.0.1
# Distribution used to test : Kubuntu 18.04 LTS amd64
# Author : Dadu042
# Licence : GPLv3
# PlayOnLinux: 4.3.4
#
# CHANGELOG
# [Dadu042] (2019-09-27 20:05)
#   First script.
#   I have inspired from  'POL_Install_dotnet480' (insired by 'POL_Install_dotnet461' by LinuxScripter),
#   and from the Winetricks sourcecode at:  https://github.com/Winetricks/winetricks/blob/master/src/winetricks

 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
POL_Debug_Init
POL_SetupWindow_Init
 
# This part does not appear in the Winetricks code
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

POL_Call POL_Install_dotnet40

#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
 
 
POL_Wine_OverrideDLL "native" "mscoree"
 
# Main part of the script
POL_SetupWindow_message "Installing .NET 4.5.2"
POL_Download_Resource "https://download.microsoft.com/download/E/2/1/E21644B5-2DF2-47C2-91BD-63C560427900/NDP452-KB2901907-x86-x64-AllOS-ENU.exe" "ee01fc4110c73a8e5efc7cabda0f5ff7" "dotnet452"
cd "$POL_USER_ROOT/ressources/dotnet452"
 
POL_Wine --ignore-errors "NDP452-KB2901907-x86-x64-AllOS-ENU.exe" /q /c:"install.exe /sfxlang:1027 /q /norestart"

POL_SetupWindow_message "Setting Windows version to 2003, otherwise applications using .NET 4.5 will subtly fail."
Set_OS "win2003"

Réponses

Dadu042 Mercredi 8 Juillet 2020 à 14:27
Dadu042

Warning

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

Messages

Change because the app (Ragnorok online) does not see Dotnet 4.5.2 installed.

Differences

@@ -28,7 +28,9 @@
 #remove mono
 POL_SetupWindow_message "Removing Mono..."
 POL_Call POL_Remove_winemono
-   
+
+POL_Call POL_Remove_dotnet40
+
 #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
@@ -46,4 +48,6 @@
 cd "$POL_USER_ROOT/ressources/dotnet452"
  
 POL_Wine --ignore-errors "NDP452-KB2901907-x86-x64-AllOS-ENU.exe" /q /c:"install.exe /sfxlang:1027 /q /norestart"
- 
\ No newline at end of file
+
+POL_SetupWindow_message "Setting Windows version to 2003, otherwise applications using .NET 4.5 will subtly fail."
+Set_OS "win2003"

Nouveau code source

#!/bin/bash
# Date : see changelog
# Wine version used : 5.0.1
# Distribution used to test : Kubuntu 18.04 LTS amd64
# Author : Dadu042
# Licence : GPLv3
# PlayOnLinux: 4.3.4
#
# CHANGELOG
# [Dadu042] (2019-09-27 20:05)
#   First script.
#   I have inspired from  'POL_Install_dotnet480' (insired by 'POL_Install_dotnet461' by LinuxScripter),
#   and from the Winetricks sourcecode at:  https://github.com/Winetricks/winetricks/blob/master/src/winetricks

 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
POL_Debug_Init
POL_SetupWindow_Init
 
# This part does not appear in the Winetricks code
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

POL_Call POL_Remove_dotnet40

#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
 
 
POL_Wine_OverrideDLL "native" "mscoree"
 
# Main part of the script
POL_SetupWindow_message "Installing .NET 4.5.2"
POL_Download_Resource "https://download.microsoft.com/download/E/2/1/E21644B5-2DF2-47C2-91BD-63C560427900/NDP452-KB2901907-x86-x64-AllOS-ENU.exe" "ee01fc4110c73a8e5efc7cabda0f5ff7" "dotnet452"
cd "$POL_USER_ROOT/ressources/dotnet452"
 
POL_Wine --ignore-errors "NDP452-KB2901907-x86-x64-AllOS-ENU.exe" /q /c:"install.exe /sfxlang:1027 /q /norestart"

POL_SetupWindow_message "Setting Windows version to 2003, otherwise applications using .NET 4.5 will subtly fail."
Set_OS "win2003"

Réponses

Edité par Dadu042

Dadu042 Mercredi 8 Juillet 2020 à 14:12
Dadu042

Warning

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

Differences

@@ -0,0 +1,49 @@
+#!/bin/bash
+# Date : see changelog
+# Wine version used : 5.0.1
+# Distribution used to test : Kubuntu 18.04 LTS amd64
+# Author : Dadu042
+# Licence : GPLv3
+# PlayOnLinux: 4.3.4
+#
+# CHANGELOG
+# [Dadu042] (2019-09-27 20:05)
+#   First script.
+#   I have inspired from  'POL_Install_dotnet480' (insired by 'POL_Install_dotnet461' by LinuxScripter),
+#   and from the Winetricks sourcecode at:  https://github.com/Winetricks/winetricks/blob/master/src/winetricks
+
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+  
+POL_Debug_Init
+POL_SetupWindow_Init
+ 
+# This part does not appear in the Winetricks code
+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
+ 
+ 
+POL_Wine_OverrideDLL "native" "mscoree"
+ 
+# Main part of the script
+POL_SetupWindow_message "Installing .NET 4.5.2"
+POL_Download_Resource "https://download.microsoft.com/download/E/2/1/E21644B5-2DF2-47C2-91BD-63C560427900/NDP452-KB2901907-x86-x64-AllOS-ENU.exe" "ee01fc4110c73a8e5efc7cabda0f5ff7" "dotnet452"
+cd "$POL_USER_ROOT/ressources/dotnet452"
+ 
+POL_Wine --ignore-errors "NDP452-KB2901907-x86-x64-AllOS-ENU.exe" /q /c:"install.exe /sfxlang:1027 /q /norestart"
+ 
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : see changelog
# Wine version used : 5.0.1
# Distribution used to test : Kubuntu 18.04 LTS amd64
# Author : Dadu042
# Licence : GPLv3
# PlayOnLinux: 4.3.4
#
# CHANGELOG
# [Dadu042] (2019-09-27 20:05)
#   First script.
#   I have inspired from  'POL_Install_dotnet480' (insired by 'POL_Install_dotnet461' by LinuxScripter),
#   and from the Winetricks sourcecode at:  https://github.com/Winetricks/winetricks/blob/master/src/winetricks

 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
POL_Debug_Init
POL_SetupWindow_Init
 
# This part does not appear in the Winetricks code
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
 
 
POL_Wine_OverrideDLL "native" "mscoree"
 
# Main part of the script
POL_SetupWindow_message "Installing .NET 4.5.2"
POL_Download_Resource "https://download.microsoft.com/download/E/2/1/E21644B5-2DF2-47C2-91BD-63C560427900/NDP452-KB2901907-x86-x64-AllOS-ENU.exe" "ee01fc4110c73a8e5efc7cabda0f5ff7" "dotnet452"
cd "$POL_USER_ROOT/ressources/dotnet452"
 
POL_Wine --ignore-errors "NDP452-KB2901907-x86-x64-AllOS-ENU.exe" /q /c:"install.exe /sfxlang:1027 /q /norestart"
 

Réponses