Вы находитесь здесь

POL_Install_xmllite

Informations

Creator Message
GNU_Raziel

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 43076
Wine: System

Feedbacks

Description

Install XMLlite dll

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

Contributions

Filters:

Contribute
Member Message
Dadu042 Monday 4 March 2019 at 22:18
Dadu042

Information

This update has been approved by the team.

Message

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

Replies

Edited by Dadu042