POL_Install_gdiplus

Informations

Creator Meddelanden
GNU_Raziel

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 4917279
Wine: System

Feedbacks

Description

MS GDI Plus library.

 

Wikipedia.

Source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2009-10-31 17:55)
# Last revision : (2012-02-28 21:00)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [GNU_Raziel] (2009-10-31)
#   First script.
# [Dadu042] (2019-09-10)
#   Fix dead URL (I could not find a URL hosted on Microsoft.com).
# [Dadu042] (2019-09-11)
#   Fix URL (* character into).
# [jack1142] (2022-01-15)
#   Fix URL (also a web.archive.org link but captured at different time)

cd "$POL_USER_ROOT/ressources/"
# Downloading GDIplus

# URL dead as of 2019-09-10
# POL_Download_Resource "http://download.microsoft.com/download/a/b/c/abc45517-97a0-4cee-a362-1957be2f24e1/WindowsXP-KB975337-x86-ENU.exe" "946d00d87e4094f3a6e425e2d538eadd"

POL_Download_Resource "https://web.archive.org/web/20150602122012/http://download.microsoft.com/download/a/b/c/abc45517-97a0-4cee-a362-1957be2f24e1/WindowsXP-KB975337-x86-ENU.exe" "946d00d87e4094f3a6e425e2d538eadd"
 
# Installing GDIplus
POL_Wine WindowsXP-KB975337-x86-ENU.exe /extract:C:\\Tmp /q
cd "$WINEPREFIX/drive_c/Tmp"
 
if [ "$POL_ARCH" == "amd64" ]; then
        mv "$WINEPREFIX/drive_c/Tmp/asms/10/msft/windows/gdiplus/gdiplus.dll" "$WINEPREFIX/drive_c/windows/syswow64"
else
        mv "$WINEPREFIX/drive_c/Tmp/asms/10/msft/windows/gdiplus/gdiplus.dll" "$WINEPREFIX/drive_c/windows/system32"
fi
 
# Overriding dlls
POL_Wine_OverrideDLL "native" "gdiplus"

Contributions

Filters:

Contribute
Member Meddelanden
coldscientist Thursday 12 May 2022 at 16:06
coldscientist Anonymous

Warning

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

Meddelanden

For some reason, PlayOnMac couldn't download GDIPlus from Web Archive, so I updated the script to use WinXP Embedded "gdiplus.dll" version instead.

Differences

@@ -14,24 +14,26 @@
 #   Fix URL (* character into).
 # [jack1142] (2022-01-15)
 #   Fix URL (also a web.archive.org link but captured at different time)
-
+# [coldscientist] (2022-05-12)
+#   Fix URL (WinXP Embedded)
+ 
 cd "$POL_USER_ROOT/ressources/"
 # Downloading GDIplus
-
+ 
 # URL dead as of 2019-09-10
 # POL_Download_Resource "http://download.microsoft.com/download/a/b/c/abc45517-97a0-4cee-a362-1957be2f24e1/WindowsXP-KB975337-x86-ENU.exe" "946d00d87e4094f3a6e425e2d538eadd"
-
-POL_Download_Resource "https://web.archive.org/web/20150602122012/http://download.microsoft.com/download/a/b/c/abc45517-97a0-4cee-a362-1957be2f24e1/WindowsXP-KB975337-x86-ENU.exe" "946d00d87e4094f3a6e425e2d538eadd"
  
+POL_Download_Resource "https://catalog.s.download.windowsupdate.com/d/msdownload/update/software/secu/2018/07/windowsxp-kb4343674-x86-embedded-enu_ca27aebe8d7a210ffbc67934c144627a9d6f5463.exe" "00ef80d9a4f42ffb1626838658cb75fb"
+  
 # Installing GDIplus
-POL_Wine WindowsXP-KB975337-x86-ENU.exe /extract:C:\\Tmp /q
+POL_Wine windowsxp-kb4343674-x86-embedded-enu_ca27aebe8d7a210ffbc67934c144627a9d6f5463.exe /extract:C:\\Tmp /q
 cd "$WINEPREFIX/drive_c/Tmp"
- 
+  
 if [ "$POL_ARCH" == "amd64" ]; then
-        mv "$WINEPREFIX/drive_c/Tmp/asms/10/msft/windows/gdiplus/gdiplus.dll" "$WINEPREFIX/drive_c/windows/syswow64"
+        mv "$WINEPREFIX/drive_c/Tmp/asms/10/msft/windows/gdiplus/gdiplus.dll" 
 else
         mv "$WINEPREFIX/drive_c/Tmp/asms/10/msft/windows/gdiplus/gdiplus.dll" "$WINEPREFIX/drive_c/windows/system32"
 fi
- 
+  
 # Overriding dlls
 POL_Wine_OverrideDLL "native" "gdiplus"
\ No newline at end of file

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2009-10-31 17:55)
# Last revision : (2012-02-28 21:00)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [GNU_Raziel] (2009-10-31)
#   First script.
# [Dadu042] (2019-09-10)
#   Fix dead URL (I could not find a URL hosted on Microsoft.com).
# [Dadu042] (2019-09-11)
#   Fix URL (* character into).
# [jack1142] (2022-01-15)
#   Fix URL (also a web.archive.org link but captured at different time)
# [coldscientist] (2022-05-12)
#   Fix URL (WinXP Embedded)
 
cd "$POL_USER_ROOT/ressources/"
# Downloading GDIplus
 
# URL dead as of 2019-09-10
# POL_Download_Resource "http://download.microsoft.com/download/a/b/c/abc45517-97a0-4cee-a362-1957be2f24e1/WindowsXP-KB975337-x86-ENU.exe" "946d00d87e4094f3a6e425e2d538eadd"
 
POL_Download_Resource "https://catalog.s.download.windowsupdate.com/d/msdownload/update/software/secu/2018/07/windowsxp-kb4343674-x86-embedded-enu_ca27aebe8d7a210ffbc67934c144627a9d6f5463.exe" "00ef80d9a4f42ffb1626838658cb75fb"
  
# Installing GDIplus
POL_Wine windowsxp-kb4343674-x86-embedded-enu_ca27aebe8d7a210ffbc67934c144627a9d6f5463.exe /extract:C:\\Tmp /q
cd "$WINEPREFIX/drive_c/Tmp"
  
if [ "$POL_ARCH" == "amd64" ]; then
        mv "$WINEPREFIX/drive_c/Tmp/asms/10/msft/windows/gdiplus/gdiplus.dll" 
else
        mv "$WINEPREFIX/drive_c/Tmp/asms/10/msft/windows/gdiplus/gdiplus.dll" "$WINEPREFIX/drive_c/windows/system32"
fi
  
# Overriding dlls
POL_Wine_OverrideDLL "native" "gdiplus"

Svar

Friday 13 May 2022 at 12:08
The web archive link is still working for me :\
Some times web archive is unavailable for some minutes.
jack1142 Saturday 15 January 2022 at 16:09
jack1142 Anonymous

Information

This update has been approved by the team.

Meddelanden

While trying to install Office 2010, I get a files mismatch when PlayOnLinux tries to install gdiplus:

It seems that the listed link is dead:

https://web.archive.org/web/20140615000000/http://download.microsoft.com/download/a/b/c/abc45517-97a0-4cee-a362-1957be2f24e1/WindowsXP-KB975337-x86-ENU.exe

This seems to be related to this issue:
https://github.com/Winetricks/winetricks/issues/1869

My improvement uses a bit newer capture from web.archive.org but it is still exactly the same executable as before.

Differences

@@ -12,6 +12,8 @@
 #   Fix dead URL (I could not find a URL hosted on Microsoft.com).
 # [Dadu042] (2019-09-11)
 #   Fix URL (* character into).
+# [jack1142] (2022-01-15)
+#   Fix URL (also a web.archive.org link but captured at different time)
 
 cd "$POL_USER_ROOT/ressources/"
 # Downloading GDIplus
@@ -19,7 +21,7 @@
 # URL dead as of 2019-09-10
 # POL_Download_Resource "http://download.microsoft.com/download/a/b/c/abc45517-97a0-4cee-a362-1957be2f24e1/WindowsXP-KB975337-x86-ENU.exe" "946d00d87e4094f3a6e425e2d538eadd"
 
-POL_Download_Resource "https://web.archive.org/web/20140615000000/http://download.microsoft.com/download/a/b/c/abc45517-97a0-4cee-a362-1957be2f24e1/WindowsXP-KB975337-x86-ENU.exe" "946d00d87e4094f3a6e425e2d538eadd"
+POL_Download_Resource "https://web.archive.org/web/20150602122012/http://download.microsoft.com/download/a/b/c/abc45517-97a0-4cee-a362-1957be2f24e1/WindowsXP-KB975337-x86-ENU.exe" "946d00d87e4094f3a6e425e2d538eadd"
  
 # Installing GDIplus
 POL_Wine WindowsXP-KB975337-x86-ENU.exe /extract:C:\\Tmp /q

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2009-10-31 17:55)
# Last revision : (2012-02-28 21:00)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [GNU_Raziel] (2009-10-31)
#   First script.
# [Dadu042] (2019-09-10)
#   Fix dead URL (I could not find a URL hosted on Microsoft.com).
# [Dadu042] (2019-09-11)
#   Fix URL (* character into).
# [jack1142] (2022-01-15)
#   Fix URL (also a web.archive.org link but captured at different time)

cd "$POL_USER_ROOT/ressources/"
# Downloading GDIplus

# URL dead as of 2019-09-10
# POL_Download_Resource "http://download.microsoft.com/download/a/b/c/abc45517-97a0-4cee-a362-1957be2f24e1/WindowsXP-KB975337-x86-ENU.exe" "946d00d87e4094f3a6e425e2d538eadd"

POL_Download_Resource "https://web.archive.org/web/20150602122012/http://download.microsoft.com/download/a/b/c/abc45517-97a0-4cee-a362-1957be2f24e1/WindowsXP-KB975337-x86-ENU.exe" "946d00d87e4094f3a6e425e2d538eadd"
 
# Installing GDIplus
POL_Wine WindowsXP-KB975337-x86-ENU.exe /extract:C:\\Tmp /q
cd "$WINEPREFIX/drive_c/Tmp"
 
if [ "$POL_ARCH" == "amd64" ]; then
        mv "$WINEPREFIX/drive_c/Tmp/asms/10/msft/windows/gdiplus/gdiplus.dll" "$WINEPREFIX/drive_c/windows/syswow64"
else
        mv "$WINEPREFIX/drive_c/Tmp/asms/10/msft/windows/gdiplus/gdiplus.dll" "$WINEPREFIX/drive_c/windows/system32"
fi
 
# Overriding dlls
POL_Wine_OverrideDLL "native" "gdiplus"

Svar

Tuesday 18 January 2022 at 22:28
Thanks. Script approved.

Ändrat av jack1142

Dadu042 Tuesday 10 September 2019 at 11:51
Dadu042

Warning

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

Meddelanden

The current URL is dead, Winetricks changed its code to get gdiplus file from the Windows 7 SP 1.

The current Microsoft web page allowing to download the XP gdiplus leads to a Error 404...

 

This script fix the issue by using one URL to the website www.archive.org (Windows XP's version).

 

Note: this POL function is often used by the function: POL_GoG_install.

Differences

@@ -10,14 +10,16 @@
 #   First script.
 # [Dadu042] (2019-09-10)
 #   Fix dead URL (I could not find a URL hosted on Microsoft.com).
- 
+# [Dadu042] (2019-09-11)
+#   Fix URL (* character into).
+
 cd "$POL_USER_ROOT/ressources/"
 # Downloading GDIplus
 
 # URL dead as of 2019-09-10
 # POL_Download_Resource "http://download.microsoft.com/download/a/b/c/abc45517-97a0-4cee-a362-1957be2f24e1/WindowsXP-KB975337-x86-ENU.exe" "946d00d87e4094f3a6e425e2d538eadd"
 
-POL_Download_Resource "https://web.archive.org/web/20140615000000*/http://download.microsoft.com/download/a/b/c/abc45517-97a0-4cee-a362-1957be2f24e1/WindowsXP-KB975337-x86-ENU.exe" "946d00d87e4094f3a6e425e2d538eadd"
+POL_Download_Resource "https://web.archive.org/web/20140615000000/http://download.microsoft.com/download/a/b/c/abc45517-97a0-4cee-a362-1957be2f24e1/WindowsXP-KB975337-x86-ENU.exe" "946d00d87e4094f3a6e425e2d538eadd"
  
 # Installing GDIplus
 POL_Wine WindowsXP-KB975337-x86-ENU.exe /extract:C:\\Tmp /q

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2009-10-31 17:55)
# Last revision : (2012-02-28 21:00)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [GNU_Raziel] (2009-10-31)
#   First script.
# [Dadu042] (2019-09-10)
#   Fix dead URL (I could not find a URL hosted on Microsoft.com).
# [Dadu042] (2019-09-11)
#   Fix URL (* character into).

cd "$POL_USER_ROOT/ressources/"
# Downloading GDIplus

# URL dead as of 2019-09-10
# POL_Download_Resource "http://download.microsoft.com/download/a/b/c/abc45517-97a0-4cee-a362-1957be2f24e1/WindowsXP-KB975337-x86-ENU.exe" "946d00d87e4094f3a6e425e2d538eadd"

POL_Download_Resource "https://web.archive.org/web/20140615000000/http://download.microsoft.com/download/a/b/c/abc45517-97a0-4cee-a362-1957be2f24e1/WindowsXP-KB975337-x86-ENU.exe" "946d00d87e4094f3a6e425e2d538eadd"
 
# Installing GDIplus
POL_Wine WindowsXP-KB975337-x86-ENU.exe /extract:C:\\Tmp /q
cd "$WINEPREFIX/drive_c/Tmp"
 
if [ "$POL_ARCH" == "amd64" ]; then
        mv "$WINEPREFIX/drive_c/Tmp/asms/10/msft/windows/gdiplus/gdiplus.dll" "$WINEPREFIX/drive_c/windows/syswow64"
else
        mv "$WINEPREFIX/drive_c/Tmp/asms/10/msft/windows/gdiplus/gdiplus.dll" "$WINEPREFIX/drive_c/windows/system32"
fi
 
# Overriding dlls
POL_Wine_OverrideDLL "native" "gdiplus"

Svar

Anonymous
Sunday 14 March 2021 at 9:41
Can't get the updated link to work either. Have tried using it to download and install HoMM3 from GOG on my Mac, but to no avail. Can you please host the file somewhere and create an altered version of the script?
Anonymous
Wednesday 19 January 2022 at 10:03
I've had the issue with the dead URL as well, even though it worked before. I've managed to recover the file from a different machine and uploaded it to https://archive.org/details/WindowsXP-KB975337-x86-ENU . The file can then be copied to ~/.PlayOnLinux/ressources/ and then you can run the script with no error.

Ändrat av Dadu042