vshmelev
Posts: 1
Joined: Tue Oct 13, 2020 12:33 pm

Web-to-app links handling

I would like to use Web-to-app links handling for by win32 app. But I have an error during MSIX package building:

Checking builds status
Build required.

[ Build_MSIX_APPX ]
Detecting Signtool compatibility
Detecting MSIX/APPX incompatible resources
Creating resources.pri file(s)
Building MSIX package:
D:\AdvancedInstaller\Your Application-Files\Your Application\ConsoleApp-Build_MSIX_APPX-SetupFiles\ConsoleApp-x64.msix
Preparing files
Preparing data for MSIX package
Creating AppxManifest.xml file
Validating AppxManifest.xml file
Validation failed on D:\AdvancedInstaller\Your Application-Files\Your Application\ConsoleApp-Build_MSIX_APPX-SetupFiles\AppxManifest.xml
=====================
Reason: '*.testConsoleApp.com' violates pattern constraint of '([0-9a-zA-Z]+(-[0-9a-zA-Z]+)*\.)+[a-zA-Z]{1,63}'.
The attribute 'Name' with value '*.testConsoleApp.com' failed to parse.

Source: <uap3:Host Name="*.testConsoleApp.com"></u
Line: 28


Build finished because an error was encountered.
AppxManifest.xml failed to validate.
Error details

Build finished because an error was encountered.
The changes that seems cause this error are adding appUriHandler extension with "*" in the begining

Code: Select all

        <uap3:Extension Category="windows.appUriHandler">
          <uap3:AppUriHandler>
            <uap5:Host Name="testConsoleApp.com" />
            <uap5:Host Name="*.testConsoleApp.com" />
          </uap3:AppUriHandler>
        </uap3:Extension>
How can I set right namespace for those elements via Manifest Editor?
Image is attached.
Attachments
Manifest Editor: add host element
Manifest Editor: add host element
AdvInstallerUrlHandling.jpg (224.51 KiB) Viewed 2166 times
Catalin
Posts: 6597
Joined: Wed Jun 13, 2018 7:49 am

Re: Web-to-app links handling

Hello and welcome to our forums,

Please accept my apologies for the delayed reply.

This is currently under our investigations.

Please give me some more time to consult with your development team and I will come back to you as soon as I will have a conclusive answer.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 6597
Joined: Wed Jun 13, 2018 7:49 am

Re: Web-to-app links handling

Hello,

I have discussed this with our development team and it looks like we do not have this declaration (uap5) in Advanced Installer.

I have added this improvement on our TODO list and this will be available in a future version of Advanced Installer.

Until then, it would greatly help us if you could share a copy of your .AIP file with us, by e-mail at support at advancedinstaller dot com so we can further investigate its' settings.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 6597
Joined: Wed Jun 13, 2018 7:49 am

Re: Web-to-app links handling

Hello,

This improvement has been added in Advanced Installer 17.7, released on November 25th, 2020.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”