Partager via


Installing from the Web While Online

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Users can install Windows Media Player as a Web download while connected to the Internet. In this case, Microsoft can configure the initial online store that you specify.

To redistribute Windows Media Player in this manner, use the following URL:

https://go.microsoft.com/fwlink/p/?linkid=32981&SV=*version*&UserLocale=*localID*&Service=*key*

In the preceding URL, set key to the key name for your online store, and set localeID to the identifier of the locale where your store provides service. Set version to 2 for Windows Media Player 11 on Windows XP or 1 for Windows Media Player 10. The URL installs Windows Media Player and sets the initial active store to the one specified by key.

The following example shows a URL that installs Windows Media Player 11 and sets Proseware as the initial active store. The value of 409 for localeID indicates that Proseware provides service in the United States.

https://go.microsoft.com/fwlink/p/?linkid=32981&SV=2&UserLocale=409&Service=Proseware

If the ServiceInfo document for the online store includes an Install element, Windows Media Player setup will customize the setup process. Using the attribute values, setup displays your End User License Agreement (EULA) and your privacy statement, and also retrieves and installs your .cab file to the user's computer. For example, you can use this feature to install the latest version of a COM object that your online store requires.

Information Common to Type 1 and Type 2 Online Stores

Install Element

ServiceInfo Document

Setting the Initial Online Store