POL_Install_wmpcodecs

Informations

Créateur Messages
Quentin PÂRIS Anonymous

Information

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

Informations

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

Retours d'expérience

Description

Allow you to install WMP Codecs.

This component does not work in 64-bit virtual drives

NOTE: you MUST use Set_OS command to change wine windows version after this function, otherwise version will be set to WinXP SP3.     

Code source

#!/bin/bash
# Date : (2010-09-01 22:00)
# Last revision : (2012-02-28 21:00)
# Author : Unknown
# Updated by : GNU_Raziel
# Only For : http://www.playonlinux.com

# Checking wine arch
if [ "$POL_ARCH" = "amd64" ]; then
        POL_Debug_Fatal "$(eval_gettext 'This package does not work on a 64-bit installation')"
fi

# Install WMP9 if needed
if [ ! -e "$WINEPREFIX/drive_c/windows/system32/l3codeca.acm" ]; then
        POL_Call POL_Install_wmp9
fi

# Setting OS check Fix
Set_OS "win2k"
cat << EOF > "WMP9_fix.reg"
[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion]
"ProductName"="Microsoft Windows 2000"
"CSDVersion"=""
"CurrentVersion"="5.0"
"CurrentBuildNumber"="2195"
[HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Windows]
"CSDVersion"=dword:00000000
EOF
POL_Wine regedit "WMP9_fix.reg"

# Downloading WMP codecs
cd "$POL_USER_ROOT/ressources"
POL_Download_Resource "http://birds.camden.rutgers.edu/WM9Codecs9x.exe" "6560a06288752e36a5ccda0b9d115e31"

# Downloading WMP codecs2
#POL_Download_Resource "http://download.microsoft.com/download/8/1/f/81f9402f-efdd-439d-b2a4-089563199d47/WMEncoder.exe" "88a5d68d1b66fe736a2e8cb9ff3a39d2"
POL_Download_Resource "https://web.archive.org/web/20121003223319/http://download.microsoft.com/download/8/1/f/81f9402f-efdd-439d-b2a4-089563199d47/WMEncoder.exe" "88a5d68d1b66fe736a2e8cb9ff3a39d2"

# Begin installation
POL_Wine start /unix "WM9Codecs9x.exe" /q
POL_Wine_WaitExit "WM9 Codec 1"
POL_Wine start /unix "WMEncoder.exe" /q
POL_Wine_WaitExit "WM9 Codec 2"

# Cleaning
wineserver -k
Set_OS "winxp" "sp3"
cat << EOF > "Cleaning.reg"
[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion]
"ProductName"="Microsoft Windows XP"
"CSDVersion"="Service Pack 3"
"CurrentVersion"="5.3"
"CurrentBuildNumber"="2600"
[HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Windows]
"CSDVersion"=dword:00000300
EOF
POL_Wine regedit "Cleaning.reg"

Contributions

Filters:

Contribuer
Membre Messages
Yaotl Mercredi 13 Mars 2019 à 0:52
Yaotl Anonymous

Information

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

Differences

@@ -34,7 +34,7 @@
 
 # Downloading WMP codecs2
 #POL_Download_Resource "http://download.microsoft.com/download/8/1/f/81f9402f-efdd-439d-b2a4-089563199d47/WMEncoder.exe" "88a5d68d1b66fe736a2e8cb9ff3a39d2"
-POL_Download_Resource "http://itc.edu.stockholm.se/shareware/arkiv/PC/WMEncoder.exe" "88a5d68d1b66fe736a2e8cb9ff3a39d2"
+POL_Download_Resource "https://web.archive.org/web/20121003223319/http://download.microsoft.com/download/8/1/f/81f9402f-efdd-439d-b2a4-089563199d47/WMEncoder.exe" "88a5d68d1b66fe736a2e8cb9ff3a39d2"
 
 # Begin installation
 POL_Wine start /unix "WM9Codecs9x.exe" /q

Nouveau code source

#!/bin/bash
# Date : (2010-09-01 22:00)
# Last revision : (2012-02-28 21:00)
# Author : Unknown
# Updated by : GNU_Raziel
# Only For : http://www.playonlinux.com

# Checking wine arch
if [ "$POL_ARCH" = "amd64" ]; then
        POL_Debug_Fatal "$(eval_gettext 'This package does not work on a 64-bit installation')"
fi

# Install WMP9 if needed
if [ ! -e "$WINEPREFIX/drive_c/windows/system32/l3codeca.acm" ]; then
        POL_Call POL_Install_wmp9
fi

# Setting OS check Fix
Set_OS "win2k"
cat << EOF > "WMP9_fix.reg"
[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion]
"ProductName"="Microsoft Windows 2000"
"CSDVersion"=""
"CurrentVersion"="5.0"
"CurrentBuildNumber"="2195"
[HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Windows]
"CSDVersion"=dword:00000000
EOF
POL_Wine regedit "WMP9_fix.reg"

# Downloading WMP codecs
cd "$POL_USER_ROOT/ressources"
POL_Download_Resource "http://birds.camden.rutgers.edu/WM9Codecs9x.exe" "6560a06288752e36a5ccda0b9d115e31"

# Downloading WMP codecs2
#POL_Download_Resource "http://download.microsoft.com/download/8/1/f/81f9402f-efdd-439d-b2a4-089563199d47/WMEncoder.exe" "88a5d68d1b66fe736a2e8cb9ff3a39d2"
POL_Download_Resource "https://web.archive.org/web/20121003223319/http://download.microsoft.com/download/8/1/f/81f9402f-efdd-439d-b2a4-089563199d47/WMEncoder.exe" "88a5d68d1b66fe736a2e8cb9ff3a39d2"

# Begin installation
POL_Wine start /unix "WM9Codecs9x.exe" /q
POL_Wine_WaitExit "WM9 Codec 1"
POL_Wine start /unix "WMEncoder.exe" /q
POL_Wine_WaitExit "WM9 Codec 2"

# Cleaning
wineserver -k
Set_OS "winxp" "sp3"
cat << EOF > "Cleaning.reg"
[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion]
"ProductName"="Microsoft Windows XP"
"CSDVersion"="Service Pack 3"
"CurrentVersion"="5.3"
"CurrentBuildNumber"="2600"
[HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Windows]
"CSDVersion"=dword:00000300
EOF
POL_Wine regedit "Cleaning.reg"

Réponses

sosiax Samedi 7 Avril 2018 à 20:40
sosiax Anonymous

Warning

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

Messages

Jus updating WMEncoder.exe URL from original location:

http://codecpack.co/download/Windows-Media-Encoder.html

Differences

@@ -34,8 +34,9 @@
 
 # Downloading WMP codecs2
 #POL_Download_Resource "http://download.microsoft.com/download/8/1/f/81f9402f-efdd-439d-b2a4-089563199d47/WMEncoder.exe" "88a5d68d1b66fe736a2e8cb9ff3a39d2"
-POL_Download_Resource "http://itc.edu.stockholm.se/shareware/arkiv/PC/WMEncoder.exe" "88a5d68d1b66fe736a2e8cb9ff3a39d2"
+#POL_Download_Resource "http://itc.edu.stockholm.se/shareware/arkiv/PC/WMEncoder.exe" "88a5d68d1b66fe736a2e8cb9ff3a39d2"
 
+POL_Download_Resource "http://piotrkosoft.net/pub/windows/software/video/kodeki/WMEncoder.exe" "88a5d68d1b66fe736a2e8cb9ff3a39d2"
 # Begin installation
 POL_Wine start /unix "WM9Codecs9x.exe" /q
 POL_Wine_WaitExit "WM9 Codec 1"

Nouveau code source

#!/bin/bash
# Date : (2010-09-01 22:00)
# Last revision : (2012-02-28 21:00)
# Author : Unknown
# Updated by : GNU_Raziel
# Only For : http://www.playonlinux.com

# Checking wine arch
if [ "$POL_ARCH" = "amd64" ]; then
        POL_Debug_Fatal "$(eval_gettext 'This package does not work on a 64-bit installation')"
fi

# Install WMP9 if needed
if [ ! -e "$WINEPREFIX/drive_c/windows/system32/l3codeca.acm" ]; then
        POL_Call POL_Install_wmp9
fi

# Setting OS check Fix
Set_OS "win2k"
cat << EOF > "WMP9_fix.reg"
[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion]
"ProductName"="Microsoft Windows 2000"
"CSDVersion"=""
"CurrentVersion"="5.0"
"CurrentBuildNumber"="2195"
[HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Windows]
"CSDVersion"=dword:00000000
EOF
POL_Wine regedit "WMP9_fix.reg"

# Downloading WMP codecs
cd "$POL_USER_ROOT/ressources"
POL_Download_Resource "http://birds.camden.rutgers.edu/WM9Codecs9x.exe" "6560a06288752e36a5ccda0b9d115e31"

# Downloading WMP codecs2
#POL_Download_Resource "http://download.microsoft.com/download/8/1/f/81f9402f-efdd-439d-b2a4-089563199d47/WMEncoder.exe" "88a5d68d1b66fe736a2e8cb9ff3a39d2"
#POL_Download_Resource "http://itc.edu.stockholm.se/shareware/arkiv/PC/WMEncoder.exe" "88a5d68d1b66fe736a2e8cb9ff3a39d2"

POL_Download_Resource "http://piotrkosoft.net/pub/windows/software/video/kodeki/WMEncoder.exe" "88a5d68d1b66fe736a2e8cb9ff3a39d2"
# Begin installation
POL_Wine start /unix "WM9Codecs9x.exe" /q
POL_Wine_WaitExit "WM9 Codec 1"
POL_Wine start /unix "WMEncoder.exe" /q
POL_Wine_WaitExit "WM9 Codec 2"

# Cleaning
wineserver -k
Set_OS "winxp" "sp3"
cat << EOF > "Cleaning.reg"
[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion]
"ProductName"="Microsoft Windows XP"
"CSDVersion"="Service Pack 3"
"CurrentVersion"="5.3"
"CurrentBuildNumber"="2600"
[HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Windows]
"CSDVersion"=dword:00000300
EOF
POL_Wine regedit "Cleaning.reg"

Réponses

quizilkend Vendredi 25 Aoüt 2017 à 13:12
quizilkend Anonymous

Warning

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

Messages

The URL is not available anymore. But the alternative download on http://codecpack.co/download/Windows-Media-Encoder.html ist still alive.

Actually I'm not sure about the checksum. I did sha1sum WMEncoder.exe to get it, but I'm suspicious because it's not the same as the two downloads before.

Differences

@@ -34,8 +34,8 @@
 
 # Downloading WMP codecs2
 #POL_Download_Resource "http://download.microsoft.com/download/8/1/f/81f9402f-efdd-439d-b2a4-089563199d47/WMEncoder.exe" "88a5d68d1b66fe736a2e8cb9ff3a39d2"
-POL_Download_Resource "http://itc.edu.stockholm.se/shareware/arkiv/PC/WMEncoder.exe" "88a5d68d1b66fe736a2e8cb9ff3a39d2"
-
+#POL_Download_Resource "http://itc.edu.stockholm.se/shareware/arkiv/PC/WMEncoder.exe" "88a5d68d1b66fe736a2e8cb9ff3a39d2"
+POL_Download_Ressource "http://galinet13.free.fr/codec/WMEncoder.exe" "7a3f8781f3e5705651992ef0150ee30bc1295116"
 # Begin installation
 POL_Wine start /unix "WM9Codecs9x.exe" /q
 POL_Wine_WaitExit "WM9 Codec 1"

Nouveau code source

#!/bin/bash
# Date : (2010-09-01 22:00)
# Last revision : (2012-02-28 21:00)
# Author : Unknown
# Updated by : GNU_Raziel
# Only For : http://www.playonlinux.com

# Checking wine arch
if [ "$POL_ARCH" = "amd64" ]; then
        POL_Debug_Fatal "$(eval_gettext 'This package does not work on a 64-bit installation')"
fi

# Install WMP9 if needed
if [ ! -e "$WINEPREFIX/drive_c/windows/system32/l3codeca.acm" ]; then
        POL_Call POL_Install_wmp9
fi

# Setting OS check Fix
Set_OS "win2k"
cat << EOF > "WMP9_fix.reg"
[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion]
"ProductName"="Microsoft Windows 2000"
"CSDVersion"=""
"CurrentVersion"="5.0"
"CurrentBuildNumber"="2195"
[HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Windows]
"CSDVersion"=dword:00000000
EOF
POL_Wine regedit "WMP9_fix.reg"

# Downloading WMP codecs
cd "$POL_USER_ROOT/ressources"
POL_Download_Resource "http://birds.camden.rutgers.edu/WM9Codecs9x.exe" "6560a06288752e36a5ccda0b9d115e31"

# Downloading WMP codecs2
#POL_Download_Resource "http://download.microsoft.com/download/8/1/f/81f9402f-efdd-439d-b2a4-089563199d47/WMEncoder.exe" "88a5d68d1b66fe736a2e8cb9ff3a39d2"
#POL_Download_Resource "http://itc.edu.stockholm.se/shareware/arkiv/PC/WMEncoder.exe" "88a5d68d1b66fe736a2e8cb9ff3a39d2"
POL_Download_Ressource "http://galinet13.free.fr/codec/WMEncoder.exe" "7a3f8781f3e5705651992ef0150ee30bc1295116"
# Begin installation
POL_Wine start /unix "WM9Codecs9x.exe" /q
POL_Wine_WaitExit "WM9 Codec 1"
POL_Wine start /unix "WMEncoder.exe" /q
POL_Wine_WaitExit "WM9 Codec 2"

# Cleaning
wineserver -k
Set_OS "winxp" "sp3"
cat << EOF > "Cleaning.reg"
[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion]
"ProductName"="Microsoft Windows XP"
"CSDVersion"="Service Pack 3"
"CurrentVersion"="5.3"
"CurrentBuildNumber"="2600"
[HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Windows]
"CSDVersion"=dword:00000300
EOF
POL_Wine regedit "Cleaning.reg"

Réponses

Anonymous
Vendredi 25 Aoüt 2017 à 20:56
OK, I read the wiki and the checksum is wrong. It's a md5sum.
petch Samedi 15 Aoüt 2015 à 10:53
petch

Warning

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

Messages

http://download.microsoft.com/download/8/1/f/81f9402f-efdd-439d-b2a4-089563199d47/WMEncoder.exe

seems down for the moment, found 3 alternate URLs in http://codecpack.co/download/Windows-Media-Encoder.html

 

Differences

@@ -33,7 +33,8 @@
 POL_Download_Resource "http://birds.camden.rutgers.edu/WM9Codecs9x.exe" "6560a06288752e36a5ccda0b9d115e31"
 
 # Downloading WMP codecs2
-POL_Download_Resource "http://download.microsoft.com/download/8/1/f/81f9402f-efdd-439d-b2a4-089563199d47/WMEncoder.exe" "88a5d68d1b66fe736a2e8cb9ff3a39d2"
+#POL_Download_Resource "http://download.microsoft.com/download/8/1/f/81f9402f-efdd-439d-b2a4-089563199d47/WMEncoder.exe" "88a5d68d1b66fe736a2e8cb9ff3a39d2"
+POL_Download_Resource "http://itc.edu.stockholm.se/shareware/arkiv/PC/WMEncoder.exe" "88a5d68d1b66fe736a2e8cb9ff3a39d2"
 
 # Begin installation
 POL_Wine start /unix "WM9Codecs9x.exe" /q

Nouveau code source

#!/bin/bash
# Date : (2010-09-01 22:00)
# Last revision : (2012-02-28 21:00)
# Author : Unknown
# Updated by : GNU_Raziel
# Only For : http://www.playonlinux.com

# Checking wine arch
if [ "$POL_ARCH" = "amd64" ]; then
        POL_Debug_Fatal "$(eval_gettext 'This package does not work on a 64-bit installation')"
fi

# Install WMP9 if needed
if [ ! -e "$WINEPREFIX/drive_c/windows/system32/l3codeca.acm" ]; then
        POL_Call POL_Install_wmp9
fi

# Setting OS check Fix
Set_OS "win2k"
cat << EOF > "WMP9_fix.reg"
[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion]
"ProductName"="Microsoft Windows 2000"
"CSDVersion"=""
"CurrentVersion"="5.0"
"CurrentBuildNumber"="2195"
[HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Windows]
"CSDVersion"=dword:00000000
EOF
POL_Wine regedit "WMP9_fix.reg"

# Downloading WMP codecs
cd "$POL_USER_ROOT/ressources"
POL_Download_Resource "http://birds.camden.rutgers.edu/WM9Codecs9x.exe" "6560a06288752e36a5ccda0b9d115e31"

# Downloading WMP codecs2
#POL_Download_Resource "http://download.microsoft.com/download/8/1/f/81f9402f-efdd-439d-b2a4-089563199d47/WMEncoder.exe" "88a5d68d1b66fe736a2e8cb9ff3a39d2"
POL_Download_Resource "http://itc.edu.stockholm.se/shareware/arkiv/PC/WMEncoder.exe" "88a5d68d1b66fe736a2e8cb9ff3a39d2"

# Begin installation
POL_Wine start /unix "WM9Codecs9x.exe" /q
POL_Wine_WaitExit "WM9 Codec 1"
POL_Wine start /unix "WMEncoder.exe" /q
POL_Wine_WaitExit "WM9 Codec 2"

# Cleaning
wineserver -k
Set_OS "winxp" "sp3"
cat << EOF > "Cleaning.reg"
[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion]
"ProductName"="Microsoft Windows XP"
"CSDVersion"="Service Pack 3"
"CurrentVersion"="5.3"
"CurrentBuildNumber"="2600"
[HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Windows]
"CSDVersion"=dword:00000300
EOF
POL_Wine regedit "Cleaning.reg"

Réponses

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