POL_Install_xmllite

Informatie

Creator Bericht
GNU_Raziel

Information

This installer has been approved by the team.

Informatie

Platforms:
Downloads: 39740
Wine: System

Feedbacks

Omschrijving

Install XMLlite dll

Broncode

#!/bin/bash
# PlayOnLinux Function
# Date : (2011-14-05 21-00)
# Last revision : (2019-03-04 22:17)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com


# Downloading XMLlite
mkdir -p "$POL_USER_ROOT"/ressources/xmllite
POL_Download_Resource "http://files.playonlinux.com/xmllite_dll.zip" "fb5af0866fdb619b952f96c4c9c0ab2a" "xmllite"
POL_Download_Resource "https://github.com/dankegel/winezeug/raw/master/winetricks_files/winetest.cat" "012c2f2e9a415688736e6e3f98db26f4" "xmllite"

# Installing XMLlite 
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing XMLlite...')" "$TITLE"
mkdir -p "$WINEPREFIX/drive_c/windows/system32/catroot/{f750e6c3-38ee-11d1-85e5-00c04fc295ee}"
cp -f "$POL_USER_ROOT"/ressources/xmllite/winetest.cat "$WINEPREFIX/drive_c/windows/system32/catroot/{f750e6c3-38ee-11d1-85e5-00c04fc295ee}/oem0.cat"

cd "$WINEPREFIX"/drive_c/windows/temp
unzip "$POL_USER_ROOT"/ressources/xmllite_dll.zip
if [ "$POL_ARCH" == "amd64" ]; then
        cp -f xmllite.dll ../syswow64/
else
        cp -f xmllite.dll ../system32/
fi

Contributions

Filters:

Contribute
Member Bericht
Dadu042 Maandag 4 Maart 2019 om 22:18
Dadu042

Information

This update has been approved by the team.

Bericht

Fix error message about the checksum of the file 'winetest.cat', because the host (www.googlecode.com) has closed (in 2016). Relinked to Github.com

 

Differences

@@ -1,14 +1,15 @@
 #!/bin/bash
 # PlayOnLinux Function
 # Date : (2011-14-05 21-00)
-# Last revision : (2013-06-20 21:00)
+# Last revision : (2019-03-04 22:17)
 # Author : GNU_Raziel
 # Only For : http://www.playonlinux.com
 
+
 # Downloading XMLlite
 mkdir -p "$POL_USER_ROOT"/ressources/xmllite
 POL_Download_Resource "http://files.playonlinux.com/xmllite_dll.zip" "fb5af0866fdb619b952f96c4c9c0ab2a" "xmllite"
-POL_Download_Resource "http://winezeug.googlecode.com/svn/trunk/winetricks_files/winetest.cat" "012c2f2e9a415688736e6e3f98db26f4" "xmllite"
+POL_Download_Resource "https://github.com/dankegel/winezeug/raw/master/winetricks_files/winetest.cat" "012c2f2e9a415688736e6e3f98db26f4" "xmllite"
 
 # Installing XMLlite 
 POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing XMLlite...')" "$TITLE"

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2011-14-05 21-00)
# Last revision : (2019-03-04 22:17)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com


# Downloading XMLlite
mkdir -p "$POL_USER_ROOT"/ressources/xmllite
POL_Download_Resource "http://files.playonlinux.com/xmllite_dll.zip" "fb5af0866fdb619b952f96c4c9c0ab2a" "xmllite"
POL_Download_Resource "https://github.com/dankegel/winezeug/raw/master/winetricks_files/winetest.cat" "012c2f2e9a415688736e6e3f98db26f4" "xmllite"

# Installing XMLlite 
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Installing XMLlite...')" "$TITLE"
mkdir -p "$WINEPREFIX/drive_c/windows/system32/catroot/{f750e6c3-38ee-11d1-85e5-00c04fc295ee}"
cp -f "$POL_USER_ROOT"/ressources/xmllite/winetest.cat "$WINEPREFIX/drive_c/windows/system32/catroot/{f750e6c3-38ee-11d1-85e5-00c04fc295ee}/oem0.cat"

cd "$WINEPREFIX"/drive_c/windows/temp
unzip "$POL_USER_ROOT"/ressources/xmllite_dll.zip
if [ "$POL_ARCH" == "amd64" ]; then
        cp -f xmllite.dll ../syswow64/
else
        cp -f xmllite.dll ../system32/
fi

Antwoorden

Aangepast door Dadu042