/build/static/layout/Breadcrumb_cap_w.png

Microsoft Windows Media Player

Version: 11

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login
Views: 13.5k  |  Created: 12/23/2006

Average Rating: 0
Windows Media Player has 1 inventory records, 2 Questions, 0 Blogs and 3 links. Please help add to this by sharing more!

Deployment Tips (11)

Most Common Setup Type
Not Determined
Average Package Difficulty Rating
Rated 3 / 5 (Average) based on 4 ratings
Most Commonly Reported Deployment Method
Vendor Provided Command Line (switch driven)
136
Note
I thought people might appreciate a post that put all this together, since right now you have to go to WMP 10 to get the information. Here's how I did this.

1. First, download the Enterprise Deployment Pack from here.

2. Copy the pack to a clean computer. Install Windows Media Player 11 (from a regular executable or Windows Update) on this computer and set up the options the way that you want them for all your users.

3. Install the enterprise deployment pack on the computer you've just installed WMP11 on.

4. Copy the Windows Media Player executable (wmp11-windowsxp-x86-enu.exe) to the C:\MPEDP\Redist folder.

5. Rename the executable from wmp11-windowsxp-x86-enu.exe to mpsetup.exe.

6. From a command line, run C:\MPEDP\mpedp.exe.

7. The utility will ask you if you want Windows Media Player to be the default player for supported file types. If you select no, the user's preferences w/r/t iTunes, &c., will be preserved, so select no.

8. To include custom settings, select Y on the next prompt.

9. Tell it to include the settings from the computer you're running it on.

10. In my case, I set preferences, but not policy settings. Adjust for your environment.

11. The utility will create a file in C:\MPEDP\release called mpsetupedp.msi. This is the MSI you'll be using.

12. If you install the msi as it is, it will add three items to the Add/Remove programs list: Windows Media Player 11, Windows Media Player Format 11 Runtime, and Windows Media Player Enterprise Deployment. However, the version for Windows Media Player Enterprise Deployment will be 10.0.0.3802, because the Enterprise Deployment kit thinks it's built an msi for WMP 10. To fix this, open the msi in Orca and go to the Property Table. Change the value of the ProductVersion Property to the current version of WMP (you can check this on your reference computer -- for me, it was 11.0.5721.5145.

13. After changing the property, regenerate the MSI's GUID, so Windows doesn't confuse this with the WMP10 package (I think this is particularly important if you installed WMP10 using the Enterprise Deployment kit). You do this in Orca under View-->Summary Information-->New GUID.

14. Save the modified MSI and deploy however you like. After deployment, add the registry keys mentioned above however you like. I did the whole thing in VBScript, which isn't the most elegant solution (probably a registry file would be) but I wanted the practice cause I've been writing a lot of registry modifying vbscript lately. Here's the source:

' *****************************
Option Explicit

' object variables
dim objReg, objWshShell

' string variables (script could be shortened by not using these)
dim strComputer, strKeyPath1, strKeyPath2, strValueName1, strValueName2, strValueName3

dim dblDWordValue

const HKEY_LOCAL_MACHINE = &H80000002

' set the key variables
strKeyPath1 = "SOFTWARE\Microsoft\MediaPlayer\Preferences"
strKeyPath2 = "SOFTWARE\Policies\Microsoft\WindowsMediaPlayer"

' set the value name variables
strValueName1 = "AcceptedEULA"
strValueName2 = "FirstTime"
strValueName3 = "GroupPrivacyAcceptance"

' set the value variables
dblDWordValue = 00000001
strComputer = "."

Set objWshShell = WScript.CreateObject("WScript.Shell")
Set objReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\"&_
strComputer & "\root\default:StdRegProv")

objWshShell.Run "msiexec.exe /i mpsetupedp.msi /qn REBOOT=ReallySuppress", 1, True
' Create the keys if necessary (should not be necessary)

objReg.CreateKey HKEY_LOCAL_MACHINE, strKeyPath1

objReg.CreateKey HKEY_LOCAL_MACHINE, strKeyPath2

' Set the values
objReg.SetDWORDValue HKEY_LOCAL_MACHINE,strKeyPath1,strValueName1,dblDWordValue
objReg.SetDWORDValue HKEY_LOCAL_MACHINE,strKeyPath1,strValueName2,dblDWordValue
objReg.SetDWORDValue HKEY_LOCAL_MACHINE,strKeyPath2,strValueName3,dblDWordValue
' ***************************************
' And that's that.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
133
Command Line

It has been reported that a single /Q alone can also get the job done!

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
132
Note
I used Enterprise Deployment Pack 10 that works for V11 as stated in links section.

The keys I used below skipped Activation/EULA and didn't prompt users whether they wanted to use Express or Custom setup, instead you just see a window "Upgrade Database" and WMP11 starts.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Preferences]
"AcceptedEULA"=dword:00000001
"FirstTime"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsMediaPlayer]
"GroupPrivacyAcceptance"=dword:00000001
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
130
Command Line

<Path>\wmp11-windowsxp-x86-enu.exe /Q:A /R:N /C:"setup_wm.exe /Q:A /R:N"

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
125
Note
Adding the following Registry keys will
-Accept the EULA
-Avoid Validation (For WMP11 only)

KEYS:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Preferences]
"MyMusic"="C:\\Documents and Settings\\All Users\\Documents\\My Music"
"MyPlayLists"="C:\\DOCUME~1\\ALLUSE~1\\DOCUME~1\\MYMUSI~1\\SAMPLE~2"
"AcceptedEULA"=dword:00000001
"FirstTime"=dword:00000001
"ObfuscatedSamplePlaylistsPath"="C:\\Documents and Settings\\All Users\\Documents\\My Music\\Sample Playlists\\000C37BF"
"MySyncPlayLists"="C:\\DOCUME~1\\ALLUSE~1\\DOCUME~1\\MYMUSI~1\\SYNCPL~1"
"ObfuscatedSyncPlaylistsPath"="C:\\Documents and Settings\\All Users\\Documents\\My Music\\Sync Playlists\\6029FB"
"DefaultSubscriptionService"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Preferences\HME]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Preferences\HME\S-1-5-21-1045527410-564617332-1233284464-2542]
"AcceptedPrivacyStatement"=dword:00000001
"UsageTracking"=dword:00000000
"ForceUsageTracking"=dword:00000000
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
124
Note
To disable Automatic Updates in Windows Media Player 11 installed on Windows XP use the following registry key.

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsMediaPlayer]
"DisableAutoUpdate"=dword:00000001

For Vista you can use either the new GPO or the above key.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
120
Note
The problem I had with the Enterprise Deployment Pack 10 to package Windows Media Player 11 was that the name mpsetup.exe was not recognized in the Redist folder when executing the build.bat file. After I changed the name in the create.bat file (find and replace all commando in notepad) to wmp11-windowsxp-x86-enu.exe it worked, even with the language pack files.

The registry keys mentioned can also be added with a MST file (add it to the registry table). I've tested this onto clean XP pro SP2 install with Dutch MUI.

Greetings,

ElWygo
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
8
Note
Each time a new user logs on, a Windows Media Player 11 icon is created in the Programs folder for all users. To prevent this, run these two commands:

reg add "HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\{6BF52A52-394A-11d3-B153-00C04F79FAA6}" /v "StubPath" /d "%SystemRoot%\system32\unregmp2.exe /FirstLogon /RegBrowsers /ResetMUI" /f
reg add "HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\>{22d6f312-b0f6-11d0-94ab-0080c74c7e95}" /v "StubPath" /d "%SystemRoot%\system32\unregmp2.exe" /f
___

Here's what it's doing:

In HKLM\SOFTWARE\Microsoft\ActiveSetup are GUIDs for processes that are run every time a new user logs in and a new profile is created. The most important key is the StubPath, which contains the command to be executed. The GUID for Windows Media Player setup is {6BF52A52-394A-11d3-B153-00C04F79FAA6}, and a second GUID for WMP "access" is at >{22d6f312-b0f6-11d0-94ab-0080c74c7e95} (including that leading angle greater-than angle bracket).

If you look at the StubPath under the WMP GUID, you'll see the following command being executed:
%SystemRoot%\system32\unregmp2.exe /FirstLogon /Shortcuts /RegBrowsers /ResetMUI

...and if you look at the StubPath under the "access" GUID, you'll see the following command being executed:
%SystemRoot%\system32\unregmp2.exe /ShowWMP

The part that's creating that annoying Windows Media Player.lnk icon in the Start Menu under Programs are the /Shortcuts and /ShowWMP switches in the respective commands. If you run unregmp2.exe without either of those switches, everything works fine, but no shortcut is created. Hooray!

So by simply modifying the StubPath entries to remove the /Shortcuts switch, we suppress creation of the icon/shortcut.

Hat tip to Martin Zugec for posting this blog post pointing me in the right direction: http://msmvps.com/blogs/martinzugec/archive/2005/10/06/69166.aspx
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
7
Command Line
HOW TO UNINSTALL WINDOWS MEDIA PLAYER 11 SILENTLY

ANS:-"C:\WINDOWS\$NtUninstallMSCompPackV1$\spuninst\spuninst.exe" /quiet /norestart
"C:\WINDOWS\$NtUninstallWudf01000$\spuninst\spuninst.exe" /quiet /norestart
C:\\WINDOWS\\$NtUninstallwmp11$\\spuninst\\spuninst.exe /quiet /norestart
C:\\WINDOWS\\$NtUninstallWMFDist11$\\spuninst\\spuninst.exe /quiet /norestart

This executable uninstalls Media Player 11 completely with a restart.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
3
Note
FYI: The Enterprise Deployment Pack does not truly repackage WMP into a REAL MSI.

All it does is hide the 3 setup EXEs in as a resource and uses Custom actions to call the 3 setup.exes in order.

Also you cannot uninstall WMP11.

By default, the Runpack.EXE embedded in the MSI will extract to 5 folders to the root of the drive with the most space.
These folders have long random names and do not get deleted at the end of the install or after a reboot. To fix this edit the MSI in Orca:
In the CustomAction table
Locate CA_EDP in the Action column
In that row, change target to: /Q:A /R:N /T:%TEMP%
save the MSI
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
2
Note
Here's how to disable online stores: If you deny access to the following servers before installing, the Online Stores tab will say "No Available Online Store" when you click on it.

www.windowsmedia.com
onlinestores.metaservices.microsoft.com

Do it in a hosts file, firewall, DNS server, whatever. It works.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows

Inventory Records (1)

View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.

Versions

Windows Media Player

Version

11

Help

http:

Quiet Uninstall String

%WMP_INSTALLER_EXE% /Q <br>

Uninstall String

"C:\WINDOWS\$NtUninstallwmp11$\spuninst\spuninst.exe" "D:\WINDOWS\$NtUninstallwmp11$\spuninst\spuninst.exe" "C:\WINNT\$NtUninstallwmp11$\spuninst\spuninst.exe" "C:\WINNT\$NtUninstallwmp11-64$\spuninst\spuninst.exe" "H:\WINDOWS\$NtUninstallwmp11$\spuninst\

More Info URL

http:

Command Line Help

<b>Standard MSI Commands:</b><br><a href=http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/command_line_options.asp>http://msdn.microsof t.com/library/default.asp?url=/library/en-us/msi/setup/command_line_options.asp </a><br><br> <b>Standard Install Commands</b><br> %WMP _INSTALLER_EXE% <br> %WMP _INSTALLER_EXE% /Q <br><br> <b>Standard Uninstall Commands</b><br> \WINDOWS\$NtUninstallwmp11$\spuninst\spuninst.exe <br> \WINDOWS\$NtUninstallwmp11$\spuninst\spuninst.exe /passive <br><br> <b>Command Line Setup Parameters:</b><br><a href=http://msdn2.microsoft.com/en-us/library/bb262773.aspx>http://msdn2.microsoft.com/en-us/library/bb262773.aspx</a><br><br > <b>Command Line Options:</b><br><a href=http://msdn2.microsoft.com/en-us/library/bb262178.aspx>http://msdn2.microsoft.com/en-us/library/bb262178.aspx</a><br><br >

KACE Description

Windows Media Player is a free software media player used for playing audio and video on personal computers running Microsoft Windows.<br><br> <b>ProductURL:</b><a href=http://www.microsoft.com/windows/windowsmedia/player/11/default.aspx>http://www.microsoft.com/windows/windowsmedia/playe r/11/default.aspx</a><br> <b>Help URL:</b><a href=http://www.microsoft.com/windows/windowsmedia/player/faq/default.mspx>http://www.microsoft.com/windows/windowsmedia/play er/faq/default.mspx</a><br> <b>User Group:</b><a href=http://www.microsoft.com/windows/windowsmedia/community/newsgroups/WindowsMedia/default.mspx?dg=microsoft.public.windowsmedia.player&lang=en&cr=US>Discussions in Windows Media Player</a><br><br>

Questions & Answers (2)

Questions & Answers related to Microsoft Windows Media Player

24
ANSWERS

Blogs (0)

Blog posts related to Microsoft Windows Media Player

Reviews (0)

Reviews related to Microsoft Windows Media Player

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ