Microsoft® Windows® Media Player Redistribution Information




Дата канвертавання22.04.2016
Памер33.14 Kb.
Microsoft® Windows® Media Player Redistribution Information

The Microsoft® Windows® Media Player installation supports a number of switches and registry settings for your specific installation needs. As a standalone installation, the package normally displays a user interface (UI) and takes over the playback of multimedia file types. Applications that install the Windows® Media Player can override this behavior by setting registry flags and command line switches.


Note: Before distributing any of the Windows Media Player packages you must comply with the License Agreement provided with this SDK.
This document covers the following topics.

Command Line Switches

Registry Flags

Microsoft Windows Media Player Packages
Command Line Switches

All of the Windows Media Player command line switches are optional. If you were to use all the Windows Media Player command line switches to launch the full Media Player package (mpfull) as the following example illustrates, then mpfull would launch with no user interface, without prompting for a reboot, and without taking over most multimedia filetypes.


mpfull /Q:A /R:N /C:"mp2wrap.exe /Quiet /ISVInstall"
The Windows Media Player packages support the following Command Line Switches.
/Q:A Quiet Switch

The /Q:A is the quiet switch. Setting this flag turns off most of the UI. The exception to this would be the prompting of the user for a reboot. If the Windows Media Player requires a reboot, it will prompt the user with a dialog. If you would like to prevent the reboot dialog, simply add the following command line switch /R:N.


/R:N No Reboot Switch

The /R:N switch will prevent the user from seeing the reboot dialog. This means your application will be responsible for rebooting the user's machine, or prompting for it. If the Windows Media Player requires a reboot, your application must handle it. Not rebooting might result in the Windows Media Player being non-functional.


To determine whether a reboot is required your application should check for the following conditions.

  • On Windows 9x, a "wininit.ini" file is created in the Windows directory when a reboot is required.

  • On Windows NT, the existence of the value "PendingFileRenames" under the "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager" key indicates that a reboot is required.


/C:"mp2wrap " The Command Switch

The Command switch allows you to override certain pieces of the Windows Media Player install. The Windows Media Player installer also provides the following support.


/Quiet Quiet Switch

The Quiet Switch will turn off the banner UI displaying which piece of the package is being installed. This switch is turned on automatically if you use the /Q switch on the MPFull package.


/ISVInstall Extension Take Over

The default behavior for the Windows Media Player packages is to take over various file extensions. As an application, you might wish to over-ride that behavior. To do so, simply add the /ISVInstall switch to the MP2Wrap installer. When the switch is used, only the following extensions will be taken over: ASF, ASX, LSX and LSF. Note: the registration of the Indeo 5.0 codecs might cause the Windows Media Player to take over the IVF file types. Please also note that the Windows Media Player registers itself for the ActiveMovie, Netshow, and Windows Media Player CLSIDs. Therefore in situations where the CLSID is used to play back a file, the Windows Media Player will still be called.


Registry Flags
Turning off the Windows Media Player URL

If you do not wish to display the Windows Media Player URL at the end of setup, you can change this behavior through a registry setting. By adding a registry key to the user's machine prior to setup execution, you can prevent the Windows Media Player from displaying a URL or point the default URL to your own web site.


Note: The Windows Media Player will remove this setting upon completion of setup, so you must set this registry key every time you install.
HKLM\Software\Microsoft\MediaPlayer\Setup, "URLAtCompletion", "[No|]"
If "URLAtCompletion" is set to "no", the Windows Media Player will not launch a web page at the end of setup. If the "URLAtCompletion" is set to a Web page such as "http://www.microsoft.com" the Web page will be launched at the end of setup. Note: if the user must reboot their system on install, the Windows Media Player setup will not launch the Web page.
Preventing users from uninstalling the Windows Media Player

If your application depends on the Windows Media Player being installed, it is very important that you prevent users from accidently uninstalling the Windows Media Player. To prevent users from uninstalling the Windows Media Player your setup program should add the following key to the registry.


HKEY_LOCAL_MACHINE, "Software\Microsoft\MediaPlayer\DependentComponents", ""
where "" is a unique string indicating the name of your application.

Once you have set this flag, the user will be warned before allowing the Windows Media Player uninstall to continue. If this flag is set, when the user chooses to uninstall, the Windows Media Player setup will not remove the files, but will restore the registry such that the Windows Media Player is no longer the default player. For compatibility reasons, the Windows Media Player will still own the CLSID for ActiveMovie, NetShow and the Windows Media Player. When your application uninstalls, it is important for your application to remove the "" entry it placed in the registry.


Do not remove the DependentComponents key itself, or you might break other applications.
Microsoft Windows Media Player Packages

The Windows Media Player comes in six different packages. Review this document carefully to determine which package is appropriate for your application.



  • mpfull.exe

  • mpstd.exe

  • mpmin.exe

  • mpie4ful.exe

  • mpie4std.exe

  • mpie4min.exe

Three of the packages are designed only for installation on machines on which Internet Explore 4.01 or greater is already installed. If your application is designed to use the Windows Media Player and Internet Explorer 4.01, and your target machine will have Windows 98, Windows 95 with Internet Explorer 4.01, or any future version of Windows, then you should use one of the following packages: MPIE4Ful.exe, MPIE4Std.exe, or MPIE4Min.exe.


These packages are smaller because they do not contain necessary Internet Explorer support files nor do they include the Netscape Plugin.
The other 3 packages are designed for installations on systems lacking Internet Explorer 4.01 or later.
Package Locations

These Microsoft Windows Media Player packages are located under the redist\x86\MPlayer and redist\alpha\MPlayer subdirectories of this SDK. If you acquired this SDK via download from the Web, these packages require a separate download. See the download instructions on the download site for more information.


The packages that do not require Internet Explorer 4.0 are located in the following subdirectory.

redist\
\MPlayer\\non-IE4


The packages that rely on Internet Explorer 4.0 are located in the following subdirectory.

redist\
\MPlayer\\IE4orLaterRequired


Where
is x86 or alpha and is the language of choice for example, English.
Package Detail

mpfull.exe (4.1 MB)

  • For Windows 95, Windows 98, and Windows NT 4.0.

  • Includes plugin support for Netscape browsers.

  • Includes support for use with NetShow Theater Server.

  • Includes support for RealNetworks version 4.0 (or lower) content.

  • Includes full codec package.

mpstd.exe (3.7 MB)

  • For Windows 95, Windows 98, and Windows NT 4.0.

  • Includes plugin support for Netscape browsers.

  • Includes support for use with NetShow Theater Server.

  • Includes support for RealNetworks version 4.0 (or lower) content.

  • Includes core codec package and RealNetworks related codecs.

mpmin.exe (3.3 MB)

  • For Windows 95, Windows 98, and Windows NT 4.0.

  • Includes plugin support for Netscape browsers.

  • Includes support for use with NetShow Theater Server.

  • Includes support for RealNetworks version 4.0 (or lower) content.

  • Includes RealNetworks related codecs.

mpie4ful.exe (2.4 MB)

  • For Windows 95, Windows 98, and Windows NT 4.0 machines that have Internet Explorer 4.0 loaded.

  • Does NOT include plugin support for Netscape browsers.

  • Does NOT include support for NetShow Theater Server.

  • Includes support for RealNetworks version 4.0 (or lower) content.

  • Includes full codec package.

mpie4std.exe (1.5 MB)

  • For Windows 95, Windows 98, and Windows NT 4.0 machines that have Internet Explorer 4.0 loaded.

  • Does NOT include plugin support for Netscape browsers.

  • Does NOT include support for NetShow Theater Server.

  • Support for RealNetworks version 4.0 (or lower) content requires an additional download.

  • Includes core codec package.

mpie4min.exe (1.1 MB)

  • For Windows 95, Windows 98, and Windows NT 4.0 machines that have Internet Explorer 4.0 loaded.

  • Does NOT include plugin support for Netscape browsers.

  • Does NOT include support for NetShow Theater Server.

  • Support for RealNetworks version 4.0 (or lower) content requires an additional download.

  • Includes no codecs.

Codec Packages

Core Codec Package

Full Codec Package (Core Codec Package plus the list below)

  • ClearVideo® Decompression Filter

  • Voxware MetaVoice Plug-In

  • Voxware MetaVoice Audio Decoder

  • TrueMotion 2.0 Decompressor

  • VDOnet Video Codecs

  • Vivo Audio Decompressor Filter

  • Vivo Video Decompressor Filter

Auto-Codec Download

The Windows Media Player provides an automatic codec download feature. When the Windows Media Player determines that a particular codec is needed to play a piece of content and that codec does not exist on the machine, this feature allows codecs to be automatically downloaded from the web. This feature is useful when the full codec package is not installed and the machine has Web access.


Note: Codec download only works for machines on which Internet Explorer 3.02 or above is installed.
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.


База данных защищена авторским правом ©shkola.of.by 2016
звярнуцца да адміністрацыі

    Галоўная старонка