Share via


Windows Media Player 11 SDK Setup Command-line Parameters for Online StoresĀ 

Windows Media Player SDK banner art

Previous Next

Setup Command-line Parameters for Online Stores

Note This section describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported.

When installing Windows Media Player 10 or Windows Media Player 11 on Windows XP, you can append command-line parameters to specify the first online store that the user sees.

Syntax

  
    MP10Setup.exe /q:A /c:"setup_wm.exe /Q /R:N /DefaultService:serviceKey /ServiceInfo:documentPath /ServiceExtra:queryString"

Parameters

DefaultService (required)

The key name for the online store. This value must match the key name in the Key attribute of the ServiceInfo element of the ServiceInfo document.

ServiceInfo (required)

The fully qualified path to a ServiceInfo document installed on the user's computer.

ServiceExtra (optional)

A query string that Windows Media Player 10 will append to the URL for the ServiceInfo document when it retrieves the document online.

Remarks

For details about redistributing Windows Media Player software with your application, see Redistributing Windows Media Player Software.

When the user's computer is not connected to the Internet, the information contained in the local ServiceInfo document is used to configure Windows Media Player for the initial active service.

Command-line parameters are case sensitive.

See Also

Previous Next