Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Microsoft AppInstaller Mime-Types #181

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shartte
Copy link

@shartte shartte commented Dec 23, 2019

Microsoft now allows Windows 10 App packages to be distributed from Websites by using appinstaller files and simply publishing the used packages via HTTP.
Sadly, the installer seems sensitive to the correct Mime-Type being sent by the Webserver, which is why they included custom Mime-Types in their setup guide. This adds those mime-types. Luckily they map 1:1 with the custom extensions used for the package files.

"extensions": ["appinstaller"],
"notes": "Microsoft Windows AppInstaller XML Manifest",
"sources": [
"https://docs.microsoft.com/en-us/windows/msix/app-installer/web-install-iis",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These links are ideally supposed to link to the primary source for the given extension and mime. This seems to link to a secondary source just documenting how to set up with IIS. A primary source would typically be the spec that would define what an appinstaller file actually is, for example.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For example this says the type is compressible here. I'm not sure how that was determined from either of the links?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @dougwilson It's true, but it's the only source I actually found that explains which mime types to use to host these files. Except for Microsoft's documentation I was unable to find an actual "spec" of sorts, since it's proprietary Windows-only tech.
I did find that Microsoft maintains a repo on Github with the official docs for MSIX. I'll open an issue there and crosslink it with this one to get some clarity on whether they intended these MIME types to be official or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants