POL_Install_dotnet452_beta_test

Informations

Creator Message
Dadu042

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 15872
Wine: System

Feedbacks

Description

Test

Source code

#!/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:

Contribute
Member Message
Dadu042 Saturday 25 July 2020 at 23:35
Dadu042

Information

This update has been approved by the team.

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

New source code

#!/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

Replies

Edited by Dadu042

Dadu042 Sunday 19 July 2020 at 20:33
Dadu042

Warning

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

Differences

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

New source code

#!/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

Replies

Dadu042 Sunday 19 July 2020 at 20:26
Dadu042

Warning

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

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')"

New source code

#!/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

Replies

Dadu042 Sunday 19 July 2020 at 20:15
Dadu042

Warning

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

Message

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

New source code

#!/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

Replies

Dadu042 Wednesday 8 July 2020 at 15:49
Dadu042

Warning

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

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"
 

New source code

#!/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

Replies

Dadu042 Wednesday 8 July 2020 at 15:15
Dadu042

Warning

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

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

New source code

#!/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

Replies

Edited by Dadu042

Dadu042 Wednesday 8 July 2020 at 15:06
Dadu042

Warning

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

Message

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

New source code

#!/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"

Replies

Dadu042 Wednesday 8 July 2020 at 14:40
Dadu042

Warning

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

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

New source code

#!/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"

Replies

Dadu042 Wednesday 8 July 2020 at 14:27
Dadu042

Warning

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

Message

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"

New source code

#!/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"

Replies

Edited by Dadu042

Dadu042 Wednesday 8 July 2020 at 14:12
Dadu042

Warning

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

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

New source code

#!/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"
 

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