AppInstaller protocol not recognised by browser

%3CLINGO-SUB%20id%3D%22lingo-sub-2228167%22%20slang%3D%22en-US%22%3EAppInstaller%20protocol%20not%20recognised%20by%20browser%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2228167%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20trying%20to%20get%20appinstaller%20to%20run%20an%20MSIX%20package%20of%20a%20desktop%20winforms%20app.%20I%20created%20in%20VS2019%20and%20deployed%20to%20LocalHost.%3CBR%20%2F%3EEverything%20I've%20read%20suggests%20all%20I%20need%20to%20do%20is%20click%20on%20Install%20Now%20in%20the%20Index.html%20page%20supplied%2C%20but%20when%20I%20do%20that%20I%20get%20this%20message%20from%20FIrefox%3A%3C%2FP%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22MSIX%20error.png%22%20style%3D%22width%3A%20556px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F266123i727B94298E26ED46%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22MSIX%20error.png%22%20alt%3D%22MSIX%20error.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EHow%20do%20I%20get%20the%20browser%20to%20recognise%20the%20appinstaller%20protocol%20%3F%20I'm%20running%20Win10%20Version%2010.0.19042%20and%20created%20the%20package%20using%20VS2019%20version%2016.9.2%20with%20the%20Application%20Packaging%20Project%20Template%2C%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2237320%22%20slang%3D%22en-US%22%3ERe%3A%20AppInstaller%20protocol%20not%20recognised%20by%20browser%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2237320%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1005167%22%20target%3D%22_blank%22%3E%40jonrmorgan%3C%2FA%3EI'd%20relied%20on%20this%20info.%20in%20the%20docs%2C%20and%20inferred%20the%20app%20installer%20would%20already%20be%20on%20my%20system%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22jonrmorgan_0-1616751418857.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F267388iEE8EF9FB12766C08%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22jonrmorgan_0-1616751418857.png%22%20alt%3D%22jonrmorgan_0-1616751418857.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EIt%20wasn't%20so%20I%20just%20downloaded%20it%20from%20the%20Store.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENext%20up%20then%20-%20the%20installer%20runs%20but%20can't%20open%20the%20package%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22jonrmorgan_1-1616751503901.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F267390i2C0AAA8BAFD20648%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22jonrmorgan_1-1616751503901.png%22%20alt%3D%22jonrmorgan_1-1616751503901.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20can%20find%20very%20little%20troubleshooting%20information%20for%20this%20error%20and%20don't%20know%20where%20to%20start%20debugging.%20Here's%20my%20installer%20file%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CAPPINSTALLER%3E%3CBR%20%2F%3EUri%3D%22https%3A%2F%2Flocalhost%3A5001%2Fdownloads%2FXYM_MSIX_x86.appinstaller%22%3CBR%20%2F%3EVersion%3D%221.0.0.0%22%20xmlns%3D%22%3CA%20href%3D%22http%3A%2F%2Fschemas.microsoft.com%2Fappx%2Fappinstaller%2F2017%2F2%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttp%3A%2F%2Fschemas.microsoft.com%2Fappx%2Fappinstaller%2F2017%2F2%3C%2FA%3E%22%26gt%3B%3CBR%20%2F%3E%3CMAINPACKAGE%3E%3CBR%20%2F%3EName%3D%2282601cfc-7b41-4868-848f-b52ad84e9789%22%3CBR%20%2F%3EVersion%3D%221.0.0.0%22%3CBR%20%2F%3EPublisher%3D%22CN%3DDadso%22%3CBR%20%2F%3EUri%3D%22https%3A%2F%2Flocalhost%3A5001%2Fdownloads%2FXYM_MSIX_1.0.0.0_x86_Debug_Test%2FXYM_MSIX_1.0.0.0_x86_Debug.msix%22%3CBR%20%2F%3EProcessorArchitecture%3D%22x86%22%20%2F%26gt%3B%3CBR%20%2F%3E%3CUPDATESETTINGS%3E%3CBR%20%2F%3E%3CONLAUNCH%3E%3CBR%20%2F%3EHoursBetweenUpdateChecks%3D%220%22%20%2F%26gt%3B%3CBR%20%2F%3E%3C%2FONLAUNCH%3E%3CBR%20%2F%3E%3C%2FUPDATESETTINGS%3E%3C%2FMAINPACKAGE%3E%3C%2FAPPINSTALLER%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20help%20to%20get%20going%20on%20this%20much%20appreciated%20!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

I'm trying to get appinstaller to run an MSIX package of a desktop winforms app. I created in VS2019 and deployed to LocalHost.
Everything I've read suggests all I need to do is click on Install Now in the Index.html page supplied, but when I do that I get this message from FIrefox:

 

MSIX error.png

How do I get the browser to recognise the appinstaller protocol ? I'm running Win10 Version 10.0.19042 and created the package using VS2019 version 16.9.2 with the Application Packaging Project Template,

1 Reply

@jonrmorganI'd relied on this info. in the docs, and inferred the app installer would already be on my system:

 

jonrmorgan_0-1616751418857.png

It wasn't so I just downloaded it from the Store.

 

Next up then - the installer runs but can't open the package:

 

jonrmorgan_1-1616751503901.png

 

I can find very little troubleshooting information for this error and don't know where to start debugging. Here's my installer file:

 

<?xml version="1.0" encoding="utf-8"?>
<AppInstaller
Uri="https://localhost:5001/downloads/XYM_MSIX_x86.appinstaller"
Version="1.0.0.0" xmlns="http://schemas.microsoft.com/appx/appinstaller/2017/2">
<MainPackage
Name="82601cfc-7b41-4868-848f-b52ad84e9789"
Version="1.0.0.0"
Publisher="CN=Dadso"
Uri="https://localhost:5001/downloads/XYM_MSIX_1.0.0.0_x86_Debug_Test/XYM_MSIX_1.0.0.0_x86_Debug.msix"
ProcessorArchitecture="x86" />
<UpdateSettings>
<OnLaunch
HoursBetweenUpdateChecks="0" />
</UpdateSettings>
</AppInstaller>

 

Any help to get going on this much appreciated !