Vous êtes ici
POL_Install_dotnet35sp1
Informations
Créateur | Messages |
---|---|
GNU_Raziel
|
InformationCet installateur a été accepté par l'équipe. InformationsPlate-formes : Retours d'expérience0 0 DescriptionInstall .NET Framework 3.5 SP1 This component does not work in 64-bit virtual drives Code source#!/bin/bash # PlayOnLinux Function # Date : (2013-04-12 21:00) # Last revision : N/A # Author : GNU_Raziel # Only For : http://www.playonlinux.com # Checking wine arch if [ "$POL_ARCH" == "amd64" ]; then POL_Debug_Fatal "$(eval_gettext 'This package does not work on a 64-bit installation')" fi # Install dotnet35 if needed if [ ! -e "$WINEPREFIX/drive_c/windows/Microsoft.NET/Framework/v3.5/MSBuild.exe" ]; then POL_Call POL_Install_dotnet35 fi # 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.5 SP1 installation, you can ignore them without issues')" "$TITLE" fi # Setting OS check Fix Set_OS "winxp" "sp3" cat << EOF > "dotnet35sp1_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 "dotnet35sp1_fix.reg" mkdir -p "$POL_USER_ROOT/ressources/dotnet35sp1" cd "$POL_USER_ROOT/ressources/dotnet35sp1" # Downloading dotnet35sp1 POL_Download_Resource "http://download.microsoft.com/download/2/0/e/20e90413-712f-438c-988e-fdaa79a8ac3d/dotnetfx35.exe" "d481cda2625d9dd2731a00f482484d86" "dotnet35sp1" # Setting Fix 1 WINEDLLOVERRIDES="ngen.exe,regsvcs.exe,mscorsvw.exe=b" export WINEDLLOVERRIDES wineserver -k # Installing dotnet35sp1 cabextract -d "$WINEPREFIX/drive_c/windows/temp/" -L -F '*' dotnetfx35.exe cd "$WINEPREFIX/drive_c/windows/temp/wcu/dotnetframework/dotnetfx35/x86/" cabextract -d . -L -F '*' netfx35_x86.exe POL_Wine_WaitBefore ".NET Framework 3.5 SP1 Update" POL_Wine --ignore-errors msiexec /i vs_setup.msi ADDEPLOY=1 POL_Wine_WaitExit ".NET Framework 3.5 SP1 Update" unset WINEDLLOVERRIDES wineserver -k rm -rf "$WINEPREFIX"/drive_c/windows/temp/* |
Contributions
Filters:
ContribuerMembre | Messages |
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