POL_Install_wic

Informations

Créateur Messages
RobLoach

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 5967
Wine: System

Retours d'expérience

Description

The Windows Imaging Component (WIC) is a Component Object Model based imaging codecframework introduced in Windows Vista and Windows XP Service Pack 3 for working with and processing digital images and image metadata. It allows applications supporting the framework to automatically get support of installed codecs for graphics file formats.

Code source

#!/bin/bash
# Windows Imaging Component
# Date: (2014-01-16 21-00)
# Author: Rob Loach

# See: http://winetricks.googlecode.com/svn/trunk/src/winetricks
# load_windowscodecs

# Download the x64 or x86 Version
if [ "$POL_ARCH" = "amd64" ]; then
  POL_Download_Resource "http://download.microsoft.com/download/6/4/5/645FED5F-A6E7-44D9-9D10-FE83348796B0/wic_x64_enu.exe" "2eb787be1deb373efc259d1f42146419"
else
  POL_Download_Resource "http://download.microsoft.com/download/f/f/1/ff178bb1-da91-48ed-89e5-478a99387d4f/wic_x86_enu.exe" "53f5ccbe5fe06c3b40cc9e34ac909df7"
fi

# Remove old files
rm -f "$WINEPREFIX/drive_c/windows/system32/windowscodecs.dll"
rm -f "$WINEPREFIX/drive_c/windows/system32/windowscodecsext.dll"
rm -f "$WINEPREFIX/drive_c/windows/system32/photometadatahandler.dll"

# Run the Installer
cd "$POL_USER_ROOT/ressources/"
POL_Wine_WaitBefore "Windows Imaging Component"
if [ "$POL_ARCH" = "amd64" ]; then
  POL_Wine wic_x64_enu.exe /q /passive /overwriteoem
else
  POL_Wine wic_x86_enu.exe /q /passive /overwriteoem
fi
POL_Wine_WaitExit "Windows Imaging Component"

# Override the DDL
POL_Wine_OverrideDLL "native" "windowscodecs" "windowscodecsext"

Contributions

Filters:

Contribuer
Membre Messages
RobLoach Samedi 17 Janvier 2015 à 1:07
RobLoach

Information

Cette mise à jour a été acceptée par l'équipe

Messages

Here is the updated one.

Differences

@@ -0,0 +1,32 @@
+#!/bin/bash
+# Windows Imaging Component
+# Date: (2014-01-16 21-00)
+# Author: Rob Loach
+
+# See: http://winetricks.googlecode.com/svn/trunk/src/winetricks
+# load_windowscodecs
+
+# Download the x64 or x86 Version
+if [ "$POL_ARCH" = "amd64" ]; then
+  POL_Download_Resource "http://download.microsoft.com/download/6/4/5/645FED5F-A6E7-44D9-9D10-FE83348796B0/wic_x64_enu.exe" "2eb787be1deb373efc259d1f42146419"
+else
+  POL_Download_Resource "http://download.microsoft.com/download/f/f/1/ff178bb1-da91-48ed-89e5-478a99387d4f/wic_x86_enu.exe" "53f5ccbe5fe06c3b40cc9e34ac909df7"
+fi
+
+# Remove old files
+rm -f "$WINEPREFIX/drive_c/windows/system32/windowscodecs.dll"
+rm -f "$WINEPREFIX/drive_c/windows/system32/windowscodecsext.dll"
+rm -f "$WINEPREFIX/drive_c/windows/system32/photometadatahandler.dll"
+
+# Run the Installer
+cd "$POL_USER_ROOT/ressources/"
+POL_Wine_WaitBefore "Windows Imaging Component"
+if [ "$POL_ARCH" = "amd64" ]; then
+  POL_Wine wic_x64_enu.exe /q /passive /overwriteoem
+else
+  POL_Wine wic_x86_enu.exe /q /passive /overwriteoem
+fi
+POL_Wine_WaitExit "Windows Imaging Component"
+
+# Override the DDL
+POL_Wine_OverrideDLL "native" "windowscodecs" "windowscodecsext"

Nouveau code source

#!/bin/bash
# Windows Imaging Component
# Date: (2014-01-16 21-00)
# Author: Rob Loach

# See: http://winetricks.googlecode.com/svn/trunk/src/winetricks
# load_windowscodecs

# Download the x64 or x86 Version
if [ "$POL_ARCH" = "amd64" ]; then
  POL_Download_Resource "http://download.microsoft.com/download/6/4/5/645FED5F-A6E7-44D9-9D10-FE83348796B0/wic_x64_enu.exe" "2eb787be1deb373efc259d1f42146419"
else
  POL_Download_Resource "http://download.microsoft.com/download/f/f/1/ff178bb1-da91-48ed-89e5-478a99387d4f/wic_x86_enu.exe" "53f5ccbe5fe06c3b40cc9e34ac909df7"
fi

# Remove old files
rm -f "$WINEPREFIX/drive_c/windows/system32/windowscodecs.dll"
rm -f "$WINEPREFIX/drive_c/windows/system32/windowscodecsext.dll"
rm -f "$WINEPREFIX/drive_c/windows/system32/photometadatahandler.dll"

# Run the Installer
cd "$POL_USER_ROOT/ressources/"
POL_Wine_WaitBefore "Windows Imaging Component"
if [ "$POL_ARCH" = "amd64" ]; then
  POL_Wine wic_x64_enu.exe /q /passive /overwriteoem
else
  POL_Wine wic_x86_enu.exe /q /passive /overwriteoem
fi
POL_Wine_WaitExit "Windows Imaging Component"

# Override the DDL
POL_Wine_OverrideDLL "native" "windowscodecs" "windowscodecsext"

Réponses

Vendredi 3 Janvier 2020 à 1:00
Script approved.
RobLoach Samedi 17 Janvier 2015 à 0:42
RobLoach

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

This was roughly ported from Winetricks:

http://winetricks.googlecode.com/svn/trunk/src/winetricks

Differences

@@ -0,0 +1,26 @@
+#!/bin/bash
+# Windows Imaging Component
+# Date: (2014-01-16 21-00)
+# Author: Rob Loach
+
+# See: http://winetricks.googlecode.com/svn/trunk/src/winetricks
+# load_windowscodecs
+
+# Download the x64 or x86 Version
+if [ "$POL_ARCH" = "amd64" ]; then
+  POL_Download_Resource "http://download.microsoft.com/download/6/4/5/645FED5F-A6E7-44D9-9D10-FE83348796B0/wic_x64_enu.exe" "2eb787be1deb373efc259d1f42146419" "wic"
+else
+  POL_DOWNLOAD_RESOURCE "http://download.microsoft.com/download/f/f/1/ff178bb1-da91-48ed-89e5-478a99387d4f/wic_x86_enu.exe" "53f5ccbe5fe06c3b40cc9e34ac909df7" "wic"
+fi
+
+# Run the Installer
+POL_Wine_WaitBefore "wic"
+if [ "$POL_ARCH" = "amd64" ]; then
+  POL_Wine "$POL_USER_ROOT/ressources/wic/wic_x64_enu.exe" /q /overwriteoem
+else
+  POL_Wine "$POL_USER_ROOT/ressources/wic/wic_x86_enu.exe" /q /overwriteoem
+fi
+POL_Wine_WaitExit "wic"
+
+# Override the DDL
+POL_Wine_OverrideDLL "native" "windowscodecs" "windowscodecsext"

Nouveau code source

#!/bin/bash
# Windows Imaging Component
# Date: (2014-01-16 21-00)
# Author: Rob Loach

# See: http://winetricks.googlecode.com/svn/trunk/src/winetricks
# load_windowscodecs

# Download the x64 or x86 Version
if [ "$POL_ARCH" = "amd64" ]; then
  POL_Download_Resource "http://download.microsoft.com/download/6/4/5/645FED5F-A6E7-44D9-9D10-FE83348796B0/wic_x64_enu.exe" "2eb787be1deb373efc259d1f42146419" "wic"
else
  POL_DOWNLOAD_RESOURCE "http://download.microsoft.com/download/f/f/1/ff178bb1-da91-48ed-89e5-478a99387d4f/wic_x86_enu.exe" "53f5ccbe5fe06c3b40cc9e34ac909df7" "wic"
fi

# Run the Installer
POL_Wine_WaitBefore "wic"
if [ "$POL_ARCH" = "amd64" ]; then
  POL_Wine "$POL_USER_ROOT/ressources/wic/wic_x64_enu.exe" /q /overwriteoem
else
  POL_Wine "$POL_USER_ROOT/ressources/wic/wic_x86_enu.exe" /q /overwriteoem
fi
POL_Wine_WaitExit "wic"

# Override the DDL
POL_Wine_OverrideDLL "native" "windowscodecs" "windowscodecsext"

Réponses

Samedi 17 Janvier 2015 à 1:06
Not this one... Submitting an updated one.

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