Closed FixRM closed 2 years ago
I am getting the same error.
Test Link: https://www.barcoderesource.com/testdownload/
Previously in the same link above I am getting the following:
Don't know why the protocol is disabled, but can you please update the index.html
generator so the Get the app
button just downloads the App Installer file? Now I'm using this workaround:
(Get-Content -Path AppPackages\index.html -Raw) -replace "href='ms-appinstaller:?source=", 'href=' | Set-Content -Path AppPackages\index.html
We removed the ms-appinstaller custom scheme due to a security vulnerability. We do intend to bring this back, and are working on it. For now, you can update the link on your website by removing 'ms-appinstaller:?source='
Thanks, @anarvekar-msft. We will need to install windows updates to get protocol enabled again?
Do we need to have AppInstaller app installed (or developer mode enabled) on target machines to use this workaround? Will auto update work for apps installed without ms-appinstaller
scheme?
The protocol being disabled has really messed us up. Our app would initiate the ms-appinstaller protocol via a Notification Toast message. The user could then click a button which would activate the protocol. But now when we push out our next update - this method won't work and the user will be presented with a nasty error message.
Why couldn't the App Installer presented a good UX for this instead? It would have been so easy to show the Hyperlink to the .appinstaller file and make this clickable by the user in App Installer. This could have then launched in their web browser as a file download. Thus not completely breaking everyone's app which relied on this protocol to "just work".
Unfortunately this situation means that we have no alternatives but to contact all of our customers and instil into them that Microsoft has messed up with this change and that they're going to have to initiate the app upgrade manually on every machine. The
We posted a blog post describing this issue. https://techcommunity.microsoft.com/t5/windows-it-pro-blog/disabling-the-msix-ms-appinstaller-protocol-handler/ba-p/3119479 We'll be providing updates about enabling the feature and next steps there.
We removed the ms-appinstaller custom scheme due to a security vulnerability. We do intend to bring this back, and are working on it. For now, you can update the link on your website by removing 'ms-appinstaller:?source='
@dianmsft @anarvekar-msft will the protocol be enabled again? This "workaround" doesn't support passing parameters to AppInstaller which is one of our requirements for using AppInstaller to deploy our application.
What do you mean by "The ms-appinstaller protocol has been disabled" and "Please update the link on the website so that the entire package will be downloaded."? What link should I update to what? All samples in the article start with ms-appinstaller protocol.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.