POL_Install_wininet

Informations

Creator Message
GNU_Raziel

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 585762
Wine: System

Feedbacks

Description

Downloads and installs the wininet.dll file.

Source code

#!/bin/bash
# Date : (2012-07-29 22-02)
# Last revision : (2017-11-06 22:59)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
  
# Installing DLL
POL_Download_Resource "https://web.archive.org/web/20061224003406/http://download.microsoft.com/download/5/0/c/50c42d0e-07a8-4a2b-befb-1a403bd0df96/IE5.01sp4-KB871260-Windows2000sp4-x86-ENU.exe" "0c0f6e300800e49472e9b2e0890a09c1"
 
cd "$WINEPREFIX/drive_c/windows/temp"
cabextract "$POL_USER_ROOT/ressources/IE5.01sp4-KB871260-Windows2000sp4-x86-ENU.exe" -F WININET.DLL
 
 
if [ "$POL_ARCH" = "amd64" ]; then
        cp -f WININET.DLL ../syswow64/wininet.dll
else
        cp -f WININET.DLL ../system32/wininet.dll
fi
 
# Overriding DLL
POL_Wine_OverrideDLL "native, builtin" "wininet"

Contributions

Filters:

Contribute
Member Message
corbindavenport Monday 6 November 2017 at 4:59
corbindavenport Anonymous

Information

This update has been approved by the team.

Message

Looks like Microsoft removed the download link, so it needs to be switched to the Internet Archive.

Differences

@@ -1,11 +1,11 @@
 #!/bin/bash
 # Date : (2012-07-29 22-02)
-# Last revision : (2013-06-20 21:00)
+# Last revision : (2017-11-06 22:59)
 # Author : GNU_Raziel
 # Only For : http://www.playonlinux.com
   
 # Installing DLL
-POL_Download_Resource "http://download.microsoft.com/download/5/0/c/50c42d0e-07a8-4a2b-befb-1a403bd0df96/IE5.01sp4-KB871260-Windows2000sp4-x86-ENU.exe" "0c0f6e300800e49472e9b2e0890a09c1"
+POL_Download_Resource "https://web.archive.org/web/20061224003406/http://download.microsoft.com/download/5/0/c/50c42d0e-07a8-4a2b-befb-1a403bd0df96/IE5.01sp4-KB871260-Windows2000sp4-x86-ENU.exe" "0c0f6e300800e49472e9b2e0890a09c1"
  
 cd "$WINEPREFIX/drive_c/windows/temp"
 cabextract "$POL_USER_ROOT/ressources/IE5.01sp4-KB871260-Windows2000sp4-x86-ENU.exe" -F WININET.DLL

New source code

#!/bin/bash
# Date : (2012-07-29 22-02)
# Last revision : (2017-11-06 22:59)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
  
# Installing DLL
POL_Download_Resource "https://web.archive.org/web/20061224003406/http://download.microsoft.com/download/5/0/c/50c42d0e-07a8-4a2b-befb-1a403bd0df96/IE5.01sp4-KB871260-Windows2000sp4-x86-ENU.exe" "0c0f6e300800e49472e9b2e0890a09c1"
 
cd "$WINEPREFIX/drive_c/windows/temp"
cabextract "$POL_USER_ROOT/ressources/IE5.01sp4-KB871260-Windows2000sp4-x86-ENU.exe" -F WININET.DLL
 
 
if [ "$POL_ARCH" = "amd64" ]; then
        cp -f WININET.DLL ../syswow64/wininet.dll
else
        cp -f WININET.DLL ../system32/wininet.dll
fi
 
# Overriding DLL
POL_Wine_OverrideDLL "native, builtin" "wininet"

Replies

Tuesday 7 August 2018 at 19:10
Does this fix the file mis-match we get in PlayOnLinux?
Anonymous
Wednesday 13 March 2019 at 0:32
Yes, it does
Wednesday 3 July 2019 at 9:45
Script approved.