POL_Install_wmpcodecs

Informations

Creator Message
Quentin PÂRIS Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 295674
Wine: System

Feedbacks

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.     

Source code

#!/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:

Contribute
Member Message
Yaotl Wednesday 13 March 2019 at 0:52
Yaotl Anonymous

Information

This update has been approved by the team.

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

New source code

#!/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"

Replies

sosiax Saturday 7 April 2018 at 20:40
sosiax Anonymous

Warning

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

Message

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"

New source code

#!/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"

Replies

quizilkend Friday 25 August 2017 at 13:12
quizilkend Anonymous

Warning

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

Message

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"

New source code

#!/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"

Replies

Anonymous
Friday 25 August 2017 at 20:56
OK, I read the wiki and the checksum is wrong. It's a md5sum.
petch Saturday 15 August 2015 at 10:53
petch

Warning

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

Message

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

New source code

#!/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"

Replies

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