POL_Install_dotnet30
Informations
| Créateur | Messages | 
|---|---|
| 
                GNU_Raziel
                 
  | 
            
                                        InformationCet installateur a été accepté par l'équipe. InformationsPlate-formes :   Retours d'expérience0 3 DescriptionInstall .Net Framework 3.0 This component does not work in 64-bit virtual drives Code source#!/bin/bash
# PlayOnLinux Function
# Date : (2009-11-21 16:00)
# Last revision : (2013-04-12 21:00)
# Author : Berillions
# Updated by : GNU_Raziel
# Only For : http://www.playonlinux.com
# Check Kernel ptrace
if [ -e "/proc/sys/kernel/yama/ptrace_scope" ]; then
        PTRACE_CHECK=`cat /proc/sys/kernel/yama/ptrace_scope`
        if [ "$PTRACE_CHECK" != 0 ]; then
                MSG="$(eval_gettext 'Package installation will fail until you set /proc/sys/kernel/yama/ptrace_scope to 0')"
                URL="http://www.playonlinux.com/en/topic-10534-Regarding_ptrace_scope_fatal_error.html"
                POL_SetupWindow_question "$MSG\n$(eval_gettext 'Open $URL now?')"
                [ "$APP_ANSWER" = "TRUE" ] && POL_Browser "$URL"
                NOBUGREPORT="YES" POL_Debug_Fatal "$MSG"
        fi
fi
# Checking wine arch
if [ "$POL_ARCH" == "amd64" ]; then
        POL_Debug_Fatal "$(eval_gettext 'This package does not work on a 64-bit installation')"
fi
# Remove wine-mono if present
POL_Wine uninstaller --remove '{E45D8920-A758-4088-B6C6-31DBB276992E}' || true
# Install dotnet20sp1 if needed
if [ ! -e "$WINEPREFIX/drive_c/windows/winsxs/manifests/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca.cat" ]; then
        POL_Call POL_Install_dotnet20sp2
fi
# Setting OS check Fix
Set_OS "winxp" "sp3"
cat << EOF > "dotnet30_fix.reg"
[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion]
"ProductName"="Microsoft Windows XP"
"CSDVersion"="Service Pack 3"
"CurrentVersion"="5.3"
"CurrentBuildNumber"="2600"
[HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Windows]
"CSDVersion"=dword:00000300
EOF
POL_Wine regedit "dotnet30_fix.reg"
# Ignore errors message
if VersionLower $(POL_Config_PrefixRead VERSION) 1.4.2; then
        POL_SetupWindow_message "$(eval_gettext 'If you see error messages during DotNet 3.0 installation, you can ignore them without issues')" "$TITLE"
fi
# Setting Fix 1
POL_Wine_WaitBefore ".NET Framework 3.0 fix"
if [ ! -e "$WINEPREFIX/drive_c/windows/SYSMSICache/Framework/v3.0" ]; then
        mkdir -p "$WINEPREFIX/drive_c/windows/SYSMSICache/Framework/v3.0"
fi
for lang in ar cs da de el es fi fr he it jp ko nb nl pl pt-BR pt-PT ru sv tr zh-CHS zh-CHT
do
ln -sf "$WINEPREFIX/drive_c/windows/system32/spupdsvc.exe" "$WINEPREFIX/drive_c/windows/SYSMSICache/Framework/v3.0/dotnetfx3langpack${lang}.exe"
done
mkdir "$POL_USER_ROOT/ressources/dotnet30"
cd "$POL_USER_ROOT/ressources/dotnet30"
POL_Download_Resource "https://web.archive.org/web/20061130220825if_/http://download.microsoft.com/download/3/F/0/3F0A922C-F239-4B9B-9CB0-DF53621C57D9/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30"
# Setting Fix 2
POL_Wine --ignore-errors sc delete "FontCache3.0.0.0"
# Setting Fix 3
if [ "$(POL_Config_PrefixRead VERSION)" = "1.5.6" ]; then
        WINEDLLOVERRIDES="ngen.exe,mscorsvw.exe=b"
        WINEDLLOVERRIDES="mscoree,fusion=n":$WINEDLLOVERRIDES
else
        WINEDLLOVERRIDES="ngen.exe,mscorsvw.exe=b"
fi
export WINEDLLOVERRIDES
wineserver -k
POL_Wine reg add "HKLM\\Software\\Microsoft\\.NETFramework" /v InstallRoot /d "C:\Windows\Microsoft.NET\Framework\\" /f
# Installing dotnet30
POL_Wine_WaitBefore ".NET Framework 3.0"
POL_Wine --ignore-errors dotnetfx3.exe /q /c:"install.exe /q"
# Restoring wine version
unset WINEDLLOVERRIDES
wineserver -k                 | 
        
Contributions
Filters:
Contribuer| Membre | Messages | 
| LinuxScripter | Jeudi 23 Novembre 2017 à 12:13 | 
                    LinuxScripter
                                             
  | 
                
                    InformationCette mise à jour a été acceptée par l'équipe MessagesChanged the link. Differences@@ -62,9 +62,7 @@ mkdir "$POL_USER_ROOT/ressources/dotnet30" cd "$POL_USER_ROOT/ressources/dotnet30" -# Downloading dotnet30 - official "Microsoft Download Center" link removed, using alternative Russian University link -POL_Download_Resource "http://uni-smr.ac.ru/archive/win/MS%20.NET%20Framework/3.0/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30" -# POL_Download_Resource "http://fs33.filehippo.com/4725/244e3c429e2c454d8e99b5bb2ee0e176/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30" +POL_Download_Resource "https://web.archive.org/web/20061130220825if_/http://download.microsoft.com/download/3/F/0/3F0A922C-F239-4B9B-9CB0-DF53621C57D9/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30" # Setting Fix 2 POL_Wine --ignore-errors sc delete "FontCache3.0.0.0" Nouveau code source#!/bin/bash
# PlayOnLinux Function
# Date : (2009-11-21 16:00)
# Last revision : (2013-04-12 21:00)
# Author : Berillions
# Updated by : GNU_Raziel
# Only For : http://www.playonlinux.com
# Check Kernel ptrace
if [ -e "/proc/sys/kernel/yama/ptrace_scope" ]; then
        PTRACE_CHECK=`cat /proc/sys/kernel/yama/ptrace_scope`
        if [ "$PTRACE_CHECK" != 0 ]; then
                MSG="$(eval_gettext 'Package installation will fail until you set /proc/sys/kernel/yama/ptrace_scope to 0')"
                URL="http://www.playonlinux.com/en/topic-10534-Regarding_ptrace_scope_fatal_error.html"
                POL_SetupWindow_question "$MSG\n$(eval_gettext 'Open $URL now?')"
                [ "$APP_ANSWER" = "TRUE" ] && POL_Browser "$URL"
                NOBUGREPORT="YES" POL_Debug_Fatal "$MSG"
        fi
fi
# Checking wine arch
if [ "$POL_ARCH" == "amd64" ]; then
        POL_Debug_Fatal "$(eval_gettext 'This package does not work on a 64-bit installation')"
fi
# Remove wine-mono if present
POL_Wine uninstaller --remove '{E45D8920-A758-4088-B6C6-31DBB276992E}' || true
# Install dotnet20sp1 if needed
if [ ! -e "$WINEPREFIX/drive_c/windows/winsxs/manifests/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca.cat" ]; then
        POL_Call POL_Install_dotnet20sp2
fi
# Setting OS check Fix
Set_OS "winxp" "sp3"
cat << EOF > "dotnet30_fix.reg"
[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion]
"ProductName"="Microsoft Windows XP"
"CSDVersion"="Service Pack 3"
"CurrentVersion"="5.3"
"CurrentBuildNumber"="2600"
[HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Windows]
"CSDVersion"=dword:00000300
EOF
POL_Wine regedit "dotnet30_fix.reg"
# Ignore errors message
if VersionLower $(POL_Config_PrefixRead VERSION) 1.4.2; then
        POL_SetupWindow_message "$(eval_gettext 'If you see error messages during DotNet 3.0 installation, you can ignore them without issues')" "$TITLE"
fi
# Setting Fix 1
POL_Wine_WaitBefore ".NET Framework 3.0 fix"
if [ ! -e "$WINEPREFIX/drive_c/windows/SYSMSICache/Framework/v3.0" ]; then
        mkdir -p "$WINEPREFIX/drive_c/windows/SYSMSICache/Framework/v3.0"
fi
for lang in ar cs da de el es fi fr he it jp ko nb nl pl pt-BR pt-PT ru sv tr zh-CHS zh-CHT
do
ln -sf "$WINEPREFIX/drive_c/windows/system32/spupdsvc.exe" "$WINEPREFIX/drive_c/windows/SYSMSICache/Framework/v3.0/dotnetfx3langpack${lang}.exe"
done
mkdir "$POL_USER_ROOT/ressources/dotnet30"
cd "$POL_USER_ROOT/ressources/dotnet30"
POL_Download_Resource "https://web.archive.org/web/20061130220825if_/http://download.microsoft.com/download/3/F/0/3F0A922C-F239-4B9B-9CB0-DF53621C57D9/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30"
# Setting Fix 2
POL_Wine --ignore-errors sc delete "FontCache3.0.0.0"
# Setting Fix 3
if [ "$(POL_Config_PrefixRead VERSION)" = "1.5.6" ]; then
        WINEDLLOVERRIDES="ngen.exe,mscorsvw.exe=b"
        WINEDLLOVERRIDES="mscoree,fusion=n":$WINEDLLOVERRIDES
else
        WINEDLLOVERRIDES="ngen.exe,mscorsvw.exe=b"
fi
export WINEDLLOVERRIDES
wineserver -k
POL_Wine reg add "HKLM\\Software\\Microsoft\\.NETFramework" /v InstallRoot /d "C:\Windows\Microsoft.NET\Framework\\" /f
# Installing dotnet30
POL_Wine_WaitBefore ".NET Framework 3.0"
POL_Wine --ignore-errors dotnetfx3.exe /q /c:"install.exe /q"
# Restoring wine version
unset WINEDLLOVERRIDES
wineserver -k                            Réponses | 
            
| St3v3d3 | Lundi 9 Octobre 2017 à 11:58 | 
                    St3v3d3
                                             
  | 
                
                    MessagesProblem I still have issues installing the dot net 30 POL. The process chokes when trying to download ,,, http://uni-smr.ac.ru/archive/win/MS%20.NET%20Framework/3.0/dotnetfx3.exe ... with the error message "An error occurred during download. Do you want to retry?" (Yes/No). No amount of retries help. If I try this link manually in a web browser, I get the "unable to connect" error. Possible Solution Could the link be changed to the following download link that does work ... https://web.archive.org/web/20061130220825/http://download.microsoft.com/download/3/F/0/3F0A922C-F239-4B9B-9CB0-DF53621C57D9/dotnetfx3.exe The downloaded file has the following sha256sum ... 6cf8921e00f52bbd888aa7a520a7bac47e818e2a850bcc44494c64d6cbfafdac Google's Virus Total site shows that this file is good (not blacklisted as a virus) ... https://www.virustotal.com/#/file/6cf8921e00f52bbd888aa7a520a7bac47e818e2a850bcc44494c64d6cbfafdac/detection 
 RéponsesLundi 9 Octobre 2017 à 14:53                                                                                     
                                    Lundi 9 Octobre 2017 à 14:54                                                                                     
                                    Mercredi 11 Octobre 2017 à 17:40                                                                                     
                                    Mercredi 11 Octobre 2017 à 20:08                                                                                     
                                    Mercredi 15 Novembre 2017 à 12:08                                                                                     
                                     | 
            
| pi4630 | Lundi 1 Mai 2017 à 17:20 | 
                    pi4630
                                             
  | 
                
                    MessagesWhere do I change that line? I grepped for it starting from .PlayOnLinux directory, but find it in /tmp/POL_Install_dotnet30, which gets overwritten, when I use POL gui. 
 Thanks RéponsesVendredi 4 Aoüt 2017 à 17:15                                                                                     
                                     | 
            
| l.ukasz | Jeudi 13 Octobre 2016 à 20:01 | 
                    l.ukasz
                                             
  | 
                
                    WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -1,9 +1,9 @@ #!/bin/bash # PlayOnLinux Function # Date : (2009-11-21 16:00) -# Last revision : (2013-04-12 21:00) +# Last revision : (2016-10-13 20:00) # Author : Berillions -# Updated by : GNU_Raziel +# Updated by : l.ukasz, GNU_Raziel # Only For : http://www.playonlinux.com # Check Kernel ptrace @@ -62,8 +62,9 @@ mkdir "$POL_USER_ROOT/ressources/dotnet30" cd "$POL_USER_ROOT/ressources/dotnet30" -# Downloading dotnet30 - official "Microsoft Download Center" link removed, using alternative Russian University link -POL_Download_Resource "http://uni-smr.ac.ru/archive/win/MS%20.NET%20Framework/3.0/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30" +# Downloading dotnet30 - official "Microsoft Download Center" link removed, using alternative Russian University link (from Internet Archive WayBack Machine) +POL_Download_Resource "https://web.archive.org/web/20160618210404/http://uni-smr.ac.ru/archive/win/MS%20.NET%20Framework/3.0/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30" +# POL_Download_Resource "http://uni-smr.ac.ru/archive/win/MS%20.NET%20Framework/3.0/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30" # POL_Download_Resource "http://fs33.filehippo.com/4725/244e3c429e2c454d8e99b5bb2ee0e176/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30" # Setting Fix 2 Nouveau code source#!/bin/bash
# PlayOnLinux Function
# Date : (2009-11-21 16:00)
# Last revision : (2016-10-13 20:00)
# Author : Berillions
# Updated by : l.ukasz, GNU_Raziel
# Only For : http://www.playonlinux.com
# Check Kernel ptrace
if [ -e "/proc/sys/kernel/yama/ptrace_scope" ]; then
        PTRACE_CHECK=`cat /proc/sys/kernel/yama/ptrace_scope`
        if [ "$PTRACE_CHECK" != 0 ]; then
                MSG="$(eval_gettext 'Package installation will fail until you set /proc/sys/kernel/yama/ptrace_scope to 0')"
                URL="http://www.playonlinux.com/en/topic-10534-Regarding_ptrace_scope_fatal_error.html"
                POL_SetupWindow_question "$MSG\n$(eval_gettext 'Open $URL now?')"
                [ "$APP_ANSWER" = "TRUE" ] && POL_Browser "$URL"
                NOBUGREPORT="YES" POL_Debug_Fatal "$MSG"
        fi
fi
# Checking wine arch
if [ "$POL_ARCH" == "amd64" ]; then
        POL_Debug_Fatal "$(eval_gettext 'This package does not work on a 64-bit installation')"
fi
# Remove wine-mono if present
POL_Wine uninstaller --remove '{E45D8920-A758-4088-B6C6-31DBB276992E}' || true
# Install dotnet20sp1 if needed
if [ ! -e "$WINEPREFIX/drive_c/windows/winsxs/manifests/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca.cat" ]; then
        POL_Call POL_Install_dotnet20sp2
fi
# Setting OS check Fix
Set_OS "winxp" "sp3"
cat << EOF > "dotnet30_fix.reg"
[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion]
"ProductName"="Microsoft Windows XP"
"CSDVersion"="Service Pack 3"
"CurrentVersion"="5.3"
"CurrentBuildNumber"="2600"
[HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Windows]
"CSDVersion"=dword:00000300
EOF
POL_Wine regedit "dotnet30_fix.reg"
# Ignore errors message
if VersionLower $(POL_Config_PrefixRead VERSION) 1.4.2; then
        POL_SetupWindow_message "$(eval_gettext 'If you see error messages during DotNet 3.0 installation, you can ignore them without issues')" "$TITLE"
fi
# Setting Fix 1
POL_Wine_WaitBefore ".NET Framework 3.0 fix"
if [ ! -e "$WINEPREFIX/drive_c/windows/SYSMSICache/Framework/v3.0" ]; then
        mkdir -p "$WINEPREFIX/drive_c/windows/SYSMSICache/Framework/v3.0"
fi
for lang in ar cs da de el es fi fr he it jp ko nb nl pl pt-BR pt-PT ru sv tr zh-CHS zh-CHT
do
ln -sf "$WINEPREFIX/drive_c/windows/system32/spupdsvc.exe" "$WINEPREFIX/drive_c/windows/SYSMSICache/Framework/v3.0/dotnetfx3langpack${lang}.exe"
done
mkdir "$POL_USER_ROOT/ressources/dotnet30"
cd "$POL_USER_ROOT/ressources/dotnet30"
# Downloading dotnet30 - official "Microsoft Download Center" link removed, using alternative Russian University link (from Internet Archive WayBack Machine)
POL_Download_Resource "https://web.archive.org/web/20160618210404/http://uni-smr.ac.ru/archive/win/MS%20.NET%20Framework/3.0/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30"
# POL_Download_Resource "http://uni-smr.ac.ru/archive/win/MS%20.NET%20Framework/3.0/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30"
# POL_Download_Resource "http://fs33.filehippo.com/4725/244e3c429e2c454d8e99b5bb2ee0e176/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30"
# Setting Fix 2
POL_Wine --ignore-errors sc delete "FontCache3.0.0.0"
# Setting Fix 3
if [ "$(POL_Config_PrefixRead VERSION)" = "1.5.6" ]; then
        WINEDLLOVERRIDES="ngen.exe,mscorsvw.exe=b"
        WINEDLLOVERRIDES="mscoree,fusion=n":$WINEDLLOVERRIDES
else
        WINEDLLOVERRIDES="ngen.exe,mscorsvw.exe=b"
fi
export WINEDLLOVERRIDES
wineserver -k
POL_Wine reg add "HKLM\\Software\\Microsoft\\.NETFramework" /v InstallRoot /d "C:\Windows\Microsoft.NET\Framework\\" /f
# Installing dotnet30
POL_Wine_WaitBefore ".NET Framework 3.0"
POL_Wine --ignore-errors dotnetfx3.exe /q /c:"install.exe /q"
# Restoring wine version
unset WINEDLLOVERRIDES
wineserver -k                            RéponsesJeudi 13 Octobre 2016 à 20:01                                                                                     
                                    Mercredi 19 Octobre 2016 à 20:11                                                                                     
                                    Mardi 11 Juillet 2017 à 13:18                                                                                     
                                     | 
            
| l.ukasz | Jeudi 13 Octobre 2016 à 19:41 | 
                    l.ukasz
                                             
  | 
                
                    WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesI updated the link to the file - archived version from Internet Archive Wayback Machine. Everything should work now, but I could not test it yourself because of the fact that this is no ordinary script. In the future, you can look for another link for the file, in order not to burden the Internet Archive Wayback Machine servers. Differences@@ -1,8 +1,8 @@ #!/bin/bash # PlayOnLinux Function # Date : (2009-11-21 16:00) -# Last revision : (2013-04-12 21:00) -# Author : Berillions +# Last revision : (2016-10-13 19:30) +# Author : l.ukasz, Berillions # Updated by : GNU_Raziel # Only For : http://www.playonlinux.com @@ -62,8 +62,9 @@ mkdir "$POL_USER_ROOT/ressources/dotnet30" cd "$POL_USER_ROOT/ressources/dotnet30" -# Downloading dotnet30 - official "Microsoft Download Center" link removed, using alternative Russian University link -POL_Download_Resource "http://uni-smr.ac.ru/archive/win/MS%20.NET%20Framework/3.0/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30" +# Downloading dotnet30 - official "Microsoft Download Center" link removed, using alternative Russian University link (from Internet Archive WayBack Machine) +POL_Download_Resource "https://web.archive.org/web/20160618210404/http://uni-smr.ac.ru/archive/win/MS%20.NET%20Framework/3.0/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30" +# POL_Download_Resource "http://uni-smr.ac.ru/archive/win/MS%20.NET%20Framework/3.0/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30" # POL_Download_Resource "http://fs33.filehippo.com/4725/244e3c429e2c454d8e99b5bb2ee0e176/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30" # Setting Fix 2 Nouveau code source#!/bin/bash
# PlayOnLinux Function
# Date : (2009-11-21 16:00)
# Last revision : (2016-10-13 19:30)
# Author : l.ukasz, Berillions
# Updated by : GNU_Raziel
# Only For : http://www.playonlinux.com
# Check Kernel ptrace
if [ -e "/proc/sys/kernel/yama/ptrace_scope" ]; then
        PTRACE_CHECK=`cat /proc/sys/kernel/yama/ptrace_scope`
        if [ "$PTRACE_CHECK" != 0 ]; then
                MSG="$(eval_gettext 'Package installation will fail until you set /proc/sys/kernel/yama/ptrace_scope to 0')"
                URL="http://www.playonlinux.com/en/topic-10534-Regarding_ptrace_scope_fatal_error.html"
                POL_SetupWindow_question "$MSG\n$(eval_gettext 'Open $URL now?')"
                [ "$APP_ANSWER" = "TRUE" ] && POL_Browser "$URL"
                NOBUGREPORT="YES" POL_Debug_Fatal "$MSG"
        fi
fi
# Checking wine arch
if [ "$POL_ARCH" == "amd64" ]; then
        POL_Debug_Fatal "$(eval_gettext 'This package does not work on a 64-bit installation')"
fi
# Remove wine-mono if present
POL_Wine uninstaller --remove '{E45D8920-A758-4088-B6C6-31DBB276992E}' || true
# Install dotnet20sp1 if needed
if [ ! -e "$WINEPREFIX/drive_c/windows/winsxs/manifests/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca.cat" ]; then
        POL_Call POL_Install_dotnet20sp2
fi
# Setting OS check Fix
Set_OS "winxp" "sp3"
cat << EOF > "dotnet30_fix.reg"
[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion]
"ProductName"="Microsoft Windows XP"
"CSDVersion"="Service Pack 3"
"CurrentVersion"="5.3"
"CurrentBuildNumber"="2600"
[HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Windows]
"CSDVersion"=dword:00000300
EOF
POL_Wine regedit "dotnet30_fix.reg"
# Ignore errors message
if VersionLower $(POL_Config_PrefixRead VERSION) 1.4.2; then
        POL_SetupWindow_message "$(eval_gettext 'If you see error messages during DotNet 3.0 installation, you can ignore them without issues')" "$TITLE"
fi
# Setting Fix 1
POL_Wine_WaitBefore ".NET Framework 3.0 fix"
if [ ! -e "$WINEPREFIX/drive_c/windows/SYSMSICache/Framework/v3.0" ]; then
        mkdir -p "$WINEPREFIX/drive_c/windows/SYSMSICache/Framework/v3.0"
fi
for lang in ar cs da de el es fi fr he it jp ko nb nl pl pt-BR pt-PT ru sv tr zh-CHS zh-CHT
do
ln -sf "$WINEPREFIX/drive_c/windows/system32/spupdsvc.exe" "$WINEPREFIX/drive_c/windows/SYSMSICache/Framework/v3.0/dotnetfx3langpack${lang}.exe"
done
mkdir "$POL_USER_ROOT/ressources/dotnet30"
cd "$POL_USER_ROOT/ressources/dotnet30"
# Downloading dotnet30 - official "Microsoft Download Center" link removed, using alternative Russian University link (from Internet Archive WayBack Machine)
POL_Download_Resource "https://web.archive.org/web/20160618210404/http://uni-smr.ac.ru/archive/win/MS%20.NET%20Framework/3.0/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30"
# POL_Download_Resource "http://uni-smr.ac.ru/archive/win/MS%20.NET%20Framework/3.0/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30"
# POL_Download_Resource "http://fs33.filehippo.com/4725/244e3c429e2c454d8e99b5bb2ee0e176/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30"
# Setting Fix 2
POL_Wine --ignore-errors sc delete "FontCache3.0.0.0"
# Setting Fix 3
if [ "$(POL_Config_PrefixRead VERSION)" = "1.5.6" ]; then
        WINEDLLOVERRIDES="ngen.exe,mscorsvw.exe=b"
        WINEDLLOVERRIDES="mscoree,fusion=n":$WINEDLLOVERRIDES
else
        WINEDLLOVERRIDES="ngen.exe,mscorsvw.exe=b"
fi
export WINEDLLOVERRIDES
wineserver -k
POL_Wine reg add "HKLM\\Software\\Microsoft\\.NETFramework" /v InstallRoot /d "C:\Windows\Microsoft.NET\Framework\\" /f
# Installing dotnet30
POL_Wine_WaitBefore ".NET Framework 3.0"
POL_Wine --ignore-errors dotnetfx3.exe /q /c:"install.exe /q"
# Restoring wine version
unset WINEDLLOVERRIDES
wineserver -k                            Réponses | 
            
| l.ukasz | Jeudi 13 Octobre 2016 à 19:39 | 
                    l.ukasz
                                             
  | 
                
                    WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesI updated the link to the file - archived version from Internet Archive Wayback Machine. Everything should work now, but I could not test it yourself because of the fact that this is no ordinary script. In the future, you can look for another link for the file, in order not to burden the Internet Archive Wayback Machine servers. Differences@@ -1,36 +1,36 @@
 #!/bin/bash
 # PlayOnLinux Function
 # Date : (2009-11-21 16:00)
-# Last revision : (2013-04-12 21:00)
+# Last revision : (2016-10-13 19:30)
 # Author : Berillions
-# Updated by : GNU_Raziel
+# Updated by : l.ukasz, GNU_Raziel
 # Only For : http://www.playonlinux.com
-
+ 
 # Check Kernel ptrace
 if [ -e "/proc/sys/kernel/yama/ptrace_scope" ]; then
-	PTRACE_CHECK=`cat /proc/sys/kernel/yama/ptrace_scope`
-	if [ "$PTRACE_CHECK" != 0 ]; then
-		MSG="$(eval_gettext 'Package installation will fail until you set /proc/sys/kernel/yama/ptrace_scope to 0')"
-		URL="http://www.playonlinux.com/en/topic-10534-Regarding_ptrace_scope_fatal_error.html"
-		POL_SetupWindow_question "$MSG\n$(eval_gettext 'Open $URL now?')"
-		[ "$APP_ANSWER" = "TRUE" ] && POL_Browser "$URL"
-		NOBUGREPORT="YES" POL_Debug_Fatal "$MSG"
-	fi
+        PTRACE_CHECK=`cat /proc/sys/kernel/yama/ptrace_scope`
+        if [ "$PTRACE_CHECK" != 0 ]; then
+                MSG="$(eval_gettext 'Package installation will fail until you set /proc/sys/kernel/yama/ptrace_scope to 0')"
+                URL="http://www.playonlinux.com/en/topic-10534-Regarding_ptrace_scope_fatal_error.html"
+                POL_SetupWindow_question "$MSG\n$(eval_gettext 'Open $URL now?')"
+                [ "$APP_ANSWER" = "TRUE" ] && POL_Browser "$URL"
+                NOBUGREPORT="YES" POL_Debug_Fatal "$MSG"
+        fi
 fi
-
+ 
 # Checking wine arch
 if [ "$POL_ARCH" == "amd64" ]; then
-	POL_Debug_Fatal "$(eval_gettext 'This package does not work on a 64-bit installation')"
+        POL_Debug_Fatal "$(eval_gettext 'This package does not work on a 64-bit installation')"
 fi
-
+ 
 # Remove wine-mono if present
 POL_Wine uninstaller --remove '{E45D8920-A758-4088-B6C6-31DBB276992E}' || true
-
+ 
 # Install dotnet20sp1 if needed
 if [ ! -e "$WINEPREFIX/drive_c/windows/winsxs/manifests/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca.cat" ]; then
-	POL_Call POL_Install_dotnet20sp2
+        POL_Call POL_Install_dotnet20sp2
 fi
-
+ 
 # Setting OS check Fix
 Set_OS "winxp" "sp3"
 cat << EOF > "dotnet30_fix.reg"
@@ -43,47 +43,48 @@
 "CSDVersion"=dword:00000300
 EOF
 POL_Wine regedit "dotnet30_fix.reg"
-
+ 
 # Ignore errors message
 if VersionLower $(POL_Config_PrefixRead VERSION) 1.4.2; then
-	POL_SetupWindow_message "$(eval_gettext 'If you see error messages during DotNet 3.0 installation, you can ignore them without issues')" "$TITLE"
+        POL_SetupWindow_message "$(eval_gettext 'If you see error messages during DotNet 3.0 installation, you can ignore them without issues')" "$TITLE"
 fi
-
+ 
 # Setting Fix 1
 POL_Wine_WaitBefore ".NET Framework 3.0 fix"
 if [ ! -e "$WINEPREFIX/drive_c/windows/SYSMSICache/Framework/v3.0" ]; then
-	mkdir -p "$WINEPREFIX/drive_c/windows/SYSMSICache/Framework/v3.0"
+        mkdir -p "$WINEPREFIX/drive_c/windows/SYSMSICache/Framework/v3.0"
 fi
-
+ 
 for lang in ar cs da de el es fi fr he it jp ko nb nl pl pt-BR pt-PT ru sv tr zh-CHS zh-CHT
 do
 ln -sf "$WINEPREFIX/drive_c/windows/system32/spupdsvc.exe" "$WINEPREFIX/drive_c/windows/SYSMSICache/Framework/v3.0/dotnetfx3langpack${lang}.exe"
 done
-
+ 
 mkdir "$POL_USER_ROOT/ressources/dotnet30"
 cd "$POL_USER_ROOT/ressources/dotnet30"
-# Downloading dotnet30 - official "Microsoft Download Center" link removed, using alternative Russian University link
-POL_Download_Resource "http://uni-smr.ac.ru/archive/win/MS%20.NET%20Framework/3.0/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30"
+# Downloading dotnet30 - official "Microsoft Download Center" link removed, using alternative Russian University link (from Internet Archive WayBack Machine)
+POL_Download_Resource "https://web.archive.org/web/20160618210404/http://uni-smr.ac.ru/archive/win/MS%20.NET%20Framework/3.0/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30"
+# POL_Download_Resource "http://uni-smr.ac.ru/archive/win/MS%20.NET%20Framework/3.0/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30"
 # POL_Download_Resource "http://fs33.filehippo.com/4725/244e3c429e2c454d8e99b5bb2ee0e176/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30"
-
+ 
 # Setting Fix 2
 POL_Wine --ignore-errors sc delete "FontCache3.0.0.0"
-
+ 
 # Setting Fix 3
 if [ "$(POL_Config_PrefixRead VERSION)" = "1.5.6" ]; then
-	WINEDLLOVERRIDES="ngen.exe,mscorsvw.exe=b"
-	WINEDLLOVERRIDES="mscoree,fusion=n":$WINEDLLOVERRIDES
+        WINEDLLOVERRIDES="ngen.exe,mscorsvw.exe=b"
+        WINEDLLOVERRIDES="mscoree,fusion=n":$WINEDLLOVERRIDES
 else
-	WINEDLLOVERRIDES="ngen.exe,mscorsvw.exe=b"
+        WINEDLLOVERRIDES="ngen.exe,mscorsvw.exe=b"
 fi
 export WINEDLLOVERRIDES
 wineserver -k
 POL_Wine reg add "HKLM\\Software\\Microsoft\\.NETFramework" /v InstallRoot /d "C:\Windows\Microsoft.NET\Framework\\" /f
-
+ 
 # Installing dotnet30
 POL_Wine_WaitBefore ".NET Framework 3.0"
 POL_Wine --ignore-errors dotnetfx3.exe /q /c:"install.exe /q"
-
+ 
 # Restoring wine version
 unset WINEDLLOVERRIDES
 wineserver -k
\ No newline at end of file
                            Nouveau code source#!/bin/bash
# PlayOnLinux Function
# Date : (2009-11-21 16:00)
# Last revision : (2016-10-13 19:30)
# Author : Berillions
# Updated by : l.ukasz, GNU_Raziel
# Only For : http://www.playonlinux.com
 
# Check Kernel ptrace
if [ -e "/proc/sys/kernel/yama/ptrace_scope" ]; then
        PTRACE_CHECK=`cat /proc/sys/kernel/yama/ptrace_scope`
        if [ "$PTRACE_CHECK" != 0 ]; then
                MSG="$(eval_gettext 'Package installation will fail until you set /proc/sys/kernel/yama/ptrace_scope to 0')"
                URL="http://www.playonlinux.com/en/topic-10534-Regarding_ptrace_scope_fatal_error.html"
                POL_SetupWindow_question "$MSG\n$(eval_gettext 'Open $URL now?')"
                [ "$APP_ANSWER" = "TRUE" ] && POL_Browser "$URL"
                NOBUGREPORT="YES" POL_Debug_Fatal "$MSG"
        fi
fi
 
# Checking wine arch
if [ "$POL_ARCH" == "amd64" ]; then
        POL_Debug_Fatal "$(eval_gettext 'This package does not work on a 64-bit installation')"
fi
 
# Remove wine-mono if present
POL_Wine uninstaller --remove '{E45D8920-A758-4088-B6C6-31DBB276992E}' || true
 
# Install dotnet20sp1 if needed
if [ ! -e "$WINEPREFIX/drive_c/windows/winsxs/manifests/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca.cat" ]; then
        POL_Call POL_Install_dotnet20sp2
fi
 
# Setting OS check Fix
Set_OS "winxp" "sp3"
cat << EOF > "dotnet30_fix.reg"
[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion]
"ProductName"="Microsoft Windows XP"
"CSDVersion"="Service Pack 3"
"CurrentVersion"="5.3"
"CurrentBuildNumber"="2600"
[HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Windows]
"CSDVersion"=dword:00000300
EOF
POL_Wine regedit "dotnet30_fix.reg"
 
# Ignore errors message
if VersionLower $(POL_Config_PrefixRead VERSION) 1.4.2; then
        POL_SetupWindow_message "$(eval_gettext 'If you see error messages during DotNet 3.0 installation, you can ignore them without issues')" "$TITLE"
fi
 
# Setting Fix 1
POL_Wine_WaitBefore ".NET Framework 3.0 fix"
if [ ! -e "$WINEPREFIX/drive_c/windows/SYSMSICache/Framework/v3.0" ]; then
        mkdir -p "$WINEPREFIX/drive_c/windows/SYSMSICache/Framework/v3.0"
fi
 
for lang in ar cs da de el es fi fr he it jp ko nb nl pl pt-BR pt-PT ru sv tr zh-CHS zh-CHT
do
ln -sf "$WINEPREFIX/drive_c/windows/system32/spupdsvc.exe" "$WINEPREFIX/drive_c/windows/SYSMSICache/Framework/v3.0/dotnetfx3langpack${lang}.exe"
done
 
mkdir "$POL_USER_ROOT/ressources/dotnet30"
cd "$POL_USER_ROOT/ressources/dotnet30"
# Downloading dotnet30 - official "Microsoft Download Center" link removed, using alternative Russian University link (from Internet Archive WayBack Machine)
POL_Download_Resource "https://web.archive.org/web/20160618210404/http://uni-smr.ac.ru/archive/win/MS%20.NET%20Framework/3.0/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30"
# POL_Download_Resource "http://uni-smr.ac.ru/archive/win/MS%20.NET%20Framework/3.0/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30"
# POL_Download_Resource "http://fs33.filehippo.com/4725/244e3c429e2c454d8e99b5bb2ee0e176/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30"
 
# Setting Fix 2
POL_Wine --ignore-errors sc delete "FontCache3.0.0.0"
 
# Setting Fix 3
if [ "$(POL_Config_PrefixRead VERSION)" = "1.5.6" ]; then
        WINEDLLOVERRIDES="ngen.exe,mscorsvw.exe=b"
        WINEDLLOVERRIDES="mscoree,fusion=n":$WINEDLLOVERRIDES
else
        WINEDLLOVERRIDES="ngen.exe,mscorsvw.exe=b"
fi
export WINEDLLOVERRIDES
wineserver -k
POL_Wine reg add "HKLM\\Software\\Microsoft\\.NETFramework" /v InstallRoot /d "C:\Windows\Microsoft.NET\Framework\\" /f
 
# Installing dotnet30
POL_Wine_WaitBefore ".NET Framework 3.0"
POL_Wine --ignore-errors dotnetfx3.exe /q /c:"install.exe /q"
 
# Restoring wine version
unset WINEDLLOVERRIDES
wineserver -k                            RéponsesJeudi 13 Octobre 2016 à 19:42                                                                                     
                                     | 
            
| Quentin PÂRIS | Jeudi 31 Juillet 2014 à 19:30 | 
                    Quentin PÂRIS
                                                 
            
  | 
                
                    WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -63,8 +63,8 @@ mkdir "$POL_USER_ROOT/ressources/dotnet30" cd "$POL_USER_ROOT/ressources/dotnet30" # Downloading dotnet30 - official "Microsoft Download Center" link removed, using alternative Russian University link -# POL_Download_Resource "http://uni-smr.ac.ru/archive/win/MS%20.NET%20Framework/3.0/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30" -POL_Download_Resource "http://fs33.filehippo.com/4725/244e3c429e2c454d8e99b5bb2ee0e176/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30" +POL_Download_Resource "http://uni-smr.ac.ru/archive/win/MS%20.NET%20Framework/3.0/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30" +# POL_Download_Resource "http://fs33.filehippo.com/4725/244e3c429e2c454d8e99b5bb2ee0e176/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30" # Setting Fix 2 POL_Wine --ignore-errors sc delete "FontCache3.0.0.0" Nouveau code source#!/bin/bash
# PlayOnLinux Function
# Date : (2009-11-21 16:00)
# Last revision : (2013-04-12 21:00)
# Author : Berillions
# Updated by : GNU_Raziel
# Only For : http://www.playonlinux.com
# Check Kernel ptrace
if [ -e "/proc/sys/kernel/yama/ptrace_scope" ]; then
        PTRACE_CHECK=`cat /proc/sys/kernel/yama/ptrace_scope`
        if [ "$PTRACE_CHECK" != 0 ]; then
                MSG="$(eval_gettext 'Package installation will fail until you set /proc/sys/kernel/yama/ptrace_scope to 0')"
                URL="http://www.playonlinux.com/en/topic-10534-Regarding_ptrace_scope_fatal_error.html"
                POL_SetupWindow_question "$MSG\n$(eval_gettext 'Open $URL now?')"
                [ "$APP_ANSWER" = "TRUE" ] && POL_Browser "$URL"
                NOBUGREPORT="YES" POL_Debug_Fatal "$MSG"
        fi
fi
# Checking wine arch
if [ "$POL_ARCH" == "amd64" ]; then
        POL_Debug_Fatal "$(eval_gettext 'This package does not work on a 64-bit installation')"
fi
# Remove wine-mono if present
POL_Wine uninstaller --remove '{E45D8920-A758-4088-B6C6-31DBB276992E}' || true
# Install dotnet20sp1 if needed
if [ ! -e "$WINEPREFIX/drive_c/windows/winsxs/manifests/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca.cat" ]; then
        POL_Call POL_Install_dotnet20sp2
fi
# Setting OS check Fix
Set_OS "winxp" "sp3"
cat << EOF > "dotnet30_fix.reg"
[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion]
"ProductName"="Microsoft Windows XP"
"CSDVersion"="Service Pack 3"
"CurrentVersion"="5.3"
"CurrentBuildNumber"="2600"
[HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Windows]
"CSDVersion"=dword:00000300
EOF
POL_Wine regedit "dotnet30_fix.reg"
# Ignore errors message
if VersionLower $(POL_Config_PrefixRead VERSION) 1.4.2; then
        POL_SetupWindow_message "$(eval_gettext 'If you see error messages during DotNet 3.0 installation, you can ignore them without issues')" "$TITLE"
fi
# Setting Fix 1
POL_Wine_WaitBefore ".NET Framework 3.0 fix"
if [ ! -e "$WINEPREFIX/drive_c/windows/SYSMSICache/Framework/v3.0" ]; then
        mkdir -p "$WINEPREFIX/drive_c/windows/SYSMSICache/Framework/v3.0"
fi
for lang in ar cs da de el es fi fr he it jp ko nb nl pl pt-BR pt-PT ru sv tr zh-CHS zh-CHT
do
ln -sf "$WINEPREFIX/drive_c/windows/system32/spupdsvc.exe" "$WINEPREFIX/drive_c/windows/SYSMSICache/Framework/v3.0/dotnetfx3langpack${lang}.exe"
done
mkdir "$POL_USER_ROOT/ressources/dotnet30"
cd "$POL_USER_ROOT/ressources/dotnet30"
# Downloading dotnet30 - official "Microsoft Download Center" link removed, using alternative Russian University link
POL_Download_Resource "http://uni-smr.ac.ru/archive/win/MS%20.NET%20Framework/3.0/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30"
# POL_Download_Resource "http://fs33.filehippo.com/4725/244e3c429e2c454d8e99b5bb2ee0e176/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30"
# Setting Fix 2
POL_Wine --ignore-errors sc delete "FontCache3.0.0.0"
# Setting Fix 3
if [ "$(POL_Config_PrefixRead VERSION)" = "1.5.6" ]; then
        WINEDLLOVERRIDES="ngen.exe,mscorsvw.exe=b"
        WINEDLLOVERRIDES="mscoree,fusion=n":$WINEDLLOVERRIDES
else
        WINEDLLOVERRIDES="ngen.exe,mscorsvw.exe=b"
fi
export WINEDLLOVERRIDES
wineserver -k
POL_Wine reg add "HKLM\\Software\\Microsoft\\.NETFramework" /v InstallRoot /d "C:\Windows\Microsoft.NET\Framework\\" /f
# Installing dotnet30
POL_Wine_WaitBefore ".NET Framework 3.0"
POL_Wine --ignore-errors dotnetfx3.exe /q /c:"install.exe /q"
# Restoring wine version
unset WINEDLLOVERRIDES
wineserver -k                            Réponses | 
            
| Quentin PÂRIS | Jeudi 24 Juillet 2014 à 15:59 | 
                    Quentin PÂRIS
                                                 
            
  | 
                
                    WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -63,7 +63,8 @@ mkdir "$POL_USER_ROOT/ressources/dotnet30" cd "$POL_USER_ROOT/ressources/dotnet30" # Downloading dotnet30 - official "Microsoft Download Center" link removed, using alternative Russian University link -POL_Download_Resource "http://uni-smr.ac.ru/archive/win/MS%20.NET%20Framework/3.0/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30" +# POL_Download_Resource "http://uni-smr.ac.ru/archive/win/MS%20.NET%20Framework/3.0/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30" +POL_Download_Resource "http://fs33.filehippo.com/4725/244e3c429e2c454d8e99b5bb2ee0e176/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30" # Setting Fix 2 POL_Wine --ignore-errors sc delete "FontCache3.0.0.0" Nouveau code source#!/bin/bash
# PlayOnLinux Function
# Date : (2009-11-21 16:00)
# Last revision : (2013-04-12 21:00)
# Author : Berillions
# Updated by : GNU_Raziel
# Only For : http://www.playonlinux.com
# Check Kernel ptrace
if [ -e "/proc/sys/kernel/yama/ptrace_scope" ]; then
        PTRACE_CHECK=`cat /proc/sys/kernel/yama/ptrace_scope`
        if [ "$PTRACE_CHECK" != 0 ]; then
                MSG="$(eval_gettext 'Package installation will fail until you set /proc/sys/kernel/yama/ptrace_scope to 0')"
                URL="http://www.playonlinux.com/en/topic-10534-Regarding_ptrace_scope_fatal_error.html"
                POL_SetupWindow_question "$MSG\n$(eval_gettext 'Open $URL now?')"
                [ "$APP_ANSWER" = "TRUE" ] && POL_Browser "$URL"
                NOBUGREPORT="YES" POL_Debug_Fatal "$MSG"
        fi
fi
# Checking wine arch
if [ "$POL_ARCH" == "amd64" ]; then
        POL_Debug_Fatal "$(eval_gettext 'This package does not work on a 64-bit installation')"
fi
# Remove wine-mono if present
POL_Wine uninstaller --remove '{E45D8920-A758-4088-B6C6-31DBB276992E}' || true
# Install dotnet20sp1 if needed
if [ ! -e "$WINEPREFIX/drive_c/windows/winsxs/manifests/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca.cat" ]; then
        POL_Call POL_Install_dotnet20sp2
fi
# Setting OS check Fix
Set_OS "winxp" "sp3"
cat << EOF > "dotnet30_fix.reg"
[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion]
"ProductName"="Microsoft Windows XP"
"CSDVersion"="Service Pack 3"
"CurrentVersion"="5.3"
"CurrentBuildNumber"="2600"
[HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Windows]
"CSDVersion"=dword:00000300
EOF
POL_Wine regedit "dotnet30_fix.reg"
# Ignore errors message
if VersionLower $(POL_Config_PrefixRead VERSION) 1.4.2; then
        POL_SetupWindow_message "$(eval_gettext 'If you see error messages during DotNet 3.0 installation, you can ignore them without issues')" "$TITLE"
fi
# Setting Fix 1
POL_Wine_WaitBefore ".NET Framework 3.0 fix"
if [ ! -e "$WINEPREFIX/drive_c/windows/SYSMSICache/Framework/v3.0" ]; then
        mkdir -p "$WINEPREFIX/drive_c/windows/SYSMSICache/Framework/v3.0"
fi
for lang in ar cs da de el es fi fr he it jp ko nb nl pl pt-BR pt-PT ru sv tr zh-CHS zh-CHT
do
ln -sf "$WINEPREFIX/drive_c/windows/system32/spupdsvc.exe" "$WINEPREFIX/drive_c/windows/SYSMSICache/Framework/v3.0/dotnetfx3langpack${lang}.exe"
done
mkdir "$POL_USER_ROOT/ressources/dotnet30"
cd "$POL_USER_ROOT/ressources/dotnet30"
# Downloading dotnet30 - official "Microsoft Download Center" link removed, using alternative Russian University link
# POL_Download_Resource "http://uni-smr.ac.ru/archive/win/MS%20.NET%20Framework/3.0/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30"
POL_Download_Resource "http://fs33.filehippo.com/4725/244e3c429e2c454d8e99b5bb2ee0e176/dotnetfx3.exe" "7b26435437e8d779ff0084d4ea96d15a" "dotnet30"
# Setting Fix 2
POL_Wine --ignore-errors sc delete "FontCache3.0.0.0"
# Setting Fix 3
if [ "$(POL_Config_PrefixRead VERSION)" = "1.5.6" ]; then
        WINEDLLOVERRIDES="ngen.exe,mscorsvw.exe=b"
        WINEDLLOVERRIDES="mscoree,fusion=n":$WINEDLLOVERRIDES
else
        WINEDLLOVERRIDES="ngen.exe,mscorsvw.exe=b"
fi
export WINEDLLOVERRIDES
wineserver -k
POL_Wine reg add "HKLM\\Software\\Microsoft\\.NETFramework" /v InstallRoot /d "C:\Windows\Microsoft.NET\Framework\\" /f
# Installing dotnet30
POL_Wine_WaitBefore ".NET Framework 3.0"
POL_Wine --ignore-errors dotnetfx3.exe /q /c:"install.exe /q"
# Restoring wine version
unset WINEDLLOVERRIDES
wineserver -k                            RéponsesJeudi 31 Juillet 2014 à 18:53                                                                                     
                                    Jeudi 31 Juillet 2014 à 18:55                                                                                     
                                    Vendredi 19 Aoüt 2016 à 18:11                                                                                     
                                    Samedi 8 Octobre 2016 à 7:09                                                                                     
                                    Samedi 8 Octobre 2016 à 7:14                                                                                     
                                     | 
            
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