What is MIME type "application/x-ms-wmz"?

A MIME type is a string that tells browsers and other tools how to handle a particular kind of file.

The MIME type application/x-ms-wmz is a Microsoft-specific format used for skin packages that modify the appearance of the media player. A file with the extension WMZ is a compressed archive that bundles all the design elements—such as layout configurations, graphics, and XML files—needed to change the look of Windows Media Player.
This format streamlines the process of updating and distributing media player skins by keeping all necessary resources in one file.

Key uses and facts:

For additional details on MIME types and file formats, visit Microsoft or check the file extension information on filext.com.

Associated file extensions

Usage Examples

HTTP Header

When serving content with this MIME type, set the Content-Type header:


    Content-Type: application/x-ms-wmz    
  

HTML

In HTML, you can specify the MIME type in various elements:


    <a href="file.dat" type="application/x-ms-wmz">Download file</a>    
  

Server-side (Node.js)

Setting the Content-Type header in Node.js:


    const http = require('http');    
    
    http.createServer((req, res) => {    
      res.setHeader('Content-Type', 'application/x-ms-wmz');    
      res.end('Content here');    
    }).listen(3000);    
  

Associated file extensions

FAQs

How do I fix 404 errors when serving WMZ files on IIS?

Microsoft IIS often blocks unknown file extensions by default for security reasons. To fix this, you must explicitly add the MIME type application/x-ms-wmz with the extension .wmz in the MIME Types feature of your IIS Manager configuration.

How do I configure Apache to serve application/x-ms-wmz?

You can enable support for this file type by adding a directive to your .htaccess file or main configuration. Add the line AddType application/x-ms-wmz .wmz to ensure browsers and clients interpret the file correctly.

Can I inspect the contents of a WMZ file without Windows Media Player?

Yes, because the application/x-ms-wmz format is actually a compressed archive. You can rename the file extension from .wmz to .zip and open it with any standard compression tool to view the internal XML and image resources.

Why does my browser download the WMZ file instead of applying the skin?

Web browsers do not natively support applying Windows Media Player skins. When a browser encounters application/x-ms-wmz, it typically triggers a download so the user can open the file locally on their Windows machine.

Is application/x-ms-wmz supported on mobile devices or non-Windows OS?

Generally, no. This MIME type is specific to Windows Media Player, which is a Windows-centric application. While the file structure (Zip) is readable on any OS, the actual skin functionality will not work on Android, iOS, or macOS media players.

Are there security risks associated with application/x-ms-wmz files?

As with any executable code or script container, there is a potential risk if the file contains malicious scripts (JavaScript) within the skin definition. Always ensure you are downloading WMZ files from trusted sources.

General FAQ

What is a MIME type?

A MIME (Multipurpose Internet Mail Extensions) type is a standard that indicates the nature and format of a document, file, or assortment of bytes. MIME types are defined and standardized in IETF's RFC 6838.

MIME types are important because they help browsers and servers understand how to process a file. When a browser receives a file from a server, it uses the MIME type to determine how to display or handle the content, whether it's an image to display, a PDF to open in a viewer, or a video to play.

MIME types consist of a type and a subtype, separated by a slash (e.g., text/html, image/jpeg, application/pdf). Some MIME types also include optional parameters.

How do I find the MIME type for a file?

You can check the file extension or use a file identification tool such as file --mime-type on the command line. Many programming languages also provide libraries to detect MIME types.

Why are multiple MIME types listed for one extension?

Different applications and historical conventions may use alternative MIME identifiers for the same kind of file. Showing them all helps ensure compatibility across systems.