Deployment by Appinstaller cause URI handling popup without the app link

%3CLINGO-SUB%20id%3D%22lingo-sub-1771978%22%20slang%3D%22en-US%22%3EDeployment%20by%20Appinstaller%20cause%20URI%20handling%20popup%20without%20the%20app%20link%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1771978%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20win32%20app%20wrapped%20into%20MSIX%20by%20MSIX%20packaging%20tool%20for%20using%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fuwp%2Flaunch-resume%2Fweb-to-app-linking%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Elinks%20handling%3C%2FA%3E%26nbsp%3Bfeature.%3CBR%20%2F%3EAfter%20installing%20the%20app%20by%20.appinstaller%20file%20I%20got%20a%26nbsp%3Bpopup%20%22How%20do%20you%20want%20to%20open%20this%20website%3F%22%3A%20there%20is%20%3CSTRONG%3Eno%20application%20that%20I%20have%20installed%3C%2FSTRONG%3E.%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22HowDoYouWant.gif%22%20style%3D%22width%3A%20578px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F226025i1655D01ECC9E8103%2Fimage-dimensions%2F578x477%3Fv%3D1.0%22%20width%3D%22578%22%20height%3D%22477%22%20role%3D%22button%22%20title%3D%22HowDoYouWant.gif%22%20alt%3D%22HowDoYouWant.gif%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CA%20title%3D%22App%20Installer%20file%20overview%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fmsix%2Fapp-installer%2Fapp-installer-file-overview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Eappinstaller%20file%3C%2FA%3E%26nbsp%3Bcontent%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-html%22%3E%3CCODE%3E%0A%3CAPPINSTALLER%20xmlns%3D%22http%3A%2F%2Fschemas.microsoft.com%2Fappx%2Fappinstaller%2F2018%22%20version%3D%221.0.0.9%22%20uri%3D%22https%3A%2F%2Fcamarowebtoapp20201005195335.azurewebsites.net%2Fpackages%2Fcamaro.appinstaller%22%3E%0A%0A%20%3CMAINPACKAGE%20name%3D%22ConsoleApp%22%20publisher%3D%22CN%3Dvshmelev%22%20version%3D%222.0.1.0%22%20processorarchitecture%3D%22x64%22%20uri%3D%22https%3A%2F%2Fcamarowebtoapp20201005195335.azurewebsites.net%2Fpackages%2FConsoleApp_2.0.1.0_x64__xc65amp813vx8.msix%22%3E%3C%2FMAINPACKAGE%3E%0A%0A%20%3CUPDATESETTINGS%3E%0A%20%20%3CONLAUNCH%20hoursbetweenupdatechecks%3D%220%22%3E%3C%2FONLAUNCH%3E%0A%20%3C%2FUPDATESETTINGS%3E%0A%0A%3C%2FAPPINSTALLER%3E%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EHowever%2C%20if%20I%20install%20the%20app%20directly%20by%20the%20.msix%20the%20app%20link%20listed%20in%20the%20popup%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CSTRONG%3ESample%20project%20sources%3C%2FSTRONG%3E%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fwadim1611%2FmsixDeployment%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fwadim1611%2FmsixDeployment%3C%2FA%3E%3CBR%20%2F%3E%3CSTRONG%3EOS%20info%3C%2FSTRONG%3E%3A%3CBR%20%2F%3E-%20Windows%2010%20Enterprise%3CBR%20%2F%3E-%20version%3A%202004%3CBR%20%2F%3E-%20OS%20build%3A%2019041.508%3CBR%20%2F%3E-%20Experience%3A%20Windows%20Feature%20Experience%20Pack%20120.2212.31.0%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EThe%20only%20logs%20that%20I%20could%20find%20are%3A%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20635px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F226044iAC334678C88947DD%2Fimage-dimensions%2F635x578%3Fv%3D1.0%22%20width%3D%22635%22%20height%3D%22578%22%20role%3D%22button%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3CBR%20%2F%3EWhat%20I'm%20doing%20wrong%3F%3CBR%20%2F%3ECan%20I%20get%20more%20detailed%20logs%20for%20the%20app%20installation%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1771978%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Eappinstaller%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMSIX%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eweb-to-app%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1773246%22%20slang%3D%22en-US%22%3ERe%3A%20Deployment%20by%20Appinstaller%20cause%20URI%20handling%20popup%20without%20the%20app%20link%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1773246%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F829217%22%20target%3D%22_blank%22%3E%40vshmelev%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20just%20tried%20installing%20your%20app%20and%20the%20web-to-app%20linking%20worked%20for%20me%20in%20both%20cases%20(with%20the%20.msix%20and%20with%20the%20.appinstaller)%2C%20so%20it%20seems%20like%20your%20package%20and%20App%20Installer%20file%20are%20okay.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20file%20feedback%20through%20Feedback%20Hub%20using%20the%20category%20%22%3CSPAN%3EInstall%20and%20Update%22%20%5C%20%22App%20installation%20issues%22.%20When%20filing%20the%20item%2C%20recreate%20the%20problem%20so%20that%20it%20will%20collect%20relevant%20traces%20and%20attach%20them.%20After%20you%20do%2C%20you%20can%20send%20me%20a%20link%20to%20the%20item%20so%20we%20can%20investigate%20it.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1773643%22%20slang%3D%22en-US%22%3ERe%3A%20Deployment%20by%20Appinstaller%20cause%20URI%20handling%20popup%20without%20the%20app%20link%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1773643%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F569046%22%20target%3D%22_blank%22%3E%40Luis_Chacon%3C%2FA%3E%26nbsp%3Blink%20sent%20in%20a%20direct%20message%2C%20hope%20it%20contains%20all%20necessary%20information.%3CBR%20%2F%3E%3CBR%20%2F%3EAlso%20want%20to%20say%20that%20after%20toggle%20of%2FToggle%20On%20%22Apps%20for%20websites%22%20settings%20the%20popup%20view%20changed%3A%20there%20were%20listed%20browsers%2C%20but%20still%20not%20my%20application.%26nbsp%3B%3CBR%20%2F%3EGif%20file%20is%20attached%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1898532%22%20slang%3D%22en-US%22%3ERe%3A%20Deployment%20by%20Appinstaller%20cause%20URI%20handling%20popup%20without%20the%20app%20link%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1898532%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F829217%22%20target%3D%22_blank%22%3E%40vshmelev%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThis%20should%20work%20correctly%20with%20the%20Windows%2010%20October%202020%20update.%20On%20previous%20builds%20there%20was%20an%20issue%20with%20AppUriHandler%20that%20caused%20it%20not%20to%20work%20when%20installing%20with%20an%20App%20Installer%20file%2C%20exactly%20as%20you%20described.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

I have a win32 app wrapped into MSIX by MSIX packaging tool for using the links handling feature.
After installing the app by .appinstaller file I got a popup "How do you want to open this website?": there is no application that I have installed.
HowDoYouWant.gif


appinstaller file content: 

 

 

<?xml version="1.0" encoding="utf-8"?>
<AppInstaller
	xmlns="http://schemas.microsoft.com/appx/appinstaller/2018"
	Version="1.0.0.9"
	Uri="https://camarowebtoapp20201005195335.azurewebsites.net/packages/camaro.appinstaller" >

	<MainPackage
		Name="ConsoleApp"
		Publisher="CN=vshmelev"
		Version="2.0.1.0"
		ProcessorArchitecture="x64"
		Uri="https://camarowebtoapp20201005195335.azurewebsites.net/packages/ConsoleApp_2.0.1.0_x64__xc65amp813vx8.msix" />

	<UpdateSettings>
		<OnLaunch HoursBetweenUpdateChecks="0"/>
	</UpdateSettings>

</AppInstaller>

 

 


However, if I install the app directly by the .msix the app link listed in the popup

DirectlInstall.jpg
Sample project sourceshttps://github.com/wadim1611/msixDeployment
OS info:
- Windows 10 Enterprise
- version: 2004
- OS build: 19041.508
- Experience: Windows Feature Experience Pack 120.2212.31.0


The only logs that I could find are:
image.png
What I'm doing wrong?
Can I get more detailed logs for the app installation?

4 Replies

Hi @vshmelev ,

 

I just tried installing your app and the web-to-app linking worked for me in both cases (with the .msix and with the .appinstaller), so it seems like your package and App Installer file are okay.

 

You can file feedback through Feedback Hub using the category "Install and Update" \ "App installation issues". When filing the item, recreate the problem so that it will collect relevant traces and attach them. After you do, you can send me a link to the item so we can investigate it.

@Chacon link sent in a direct message, hope it contains all necessary information.

Also want to say that after toggle of/Toggle On "Apps for websites" settings the popup view changed: there were listed browsers, but still not my application. 
Gif file is attached

@vshmelev 

 

This should work correctly with the Windows 10 October 2020 update. On previous builds there was an issue with AppUriHandler that caused it not to work when installing with an App Installer file, exactly as you described.

@vshmelev You may also want to verify the Microsoft.DesktopAppInstaller app is installed.  You can do this by running the following command from PowerShell

 

Get-AppPackage Microsoft.DesktopAppInstaller

 

We have seen power users bulk purge this when removing preinstalled apps.  It newer versions of Windows this will be non-removable to prevent accidental uninstall.

 

John Vintzel (@jvintzel)
PM Lead, MSIX