Jan 08 2020 11:06 PM
Hello everyone,
we recently started using MSIX with the automatic updates and made great progress in a short time. Our business would like change all our products from standalone MSI to MSIX with automatic updates, but one thing we need is different versions for specific customers (depending on the contract type). The package flighting concept in the microsoft store sounds like what we wan't to achive. I tried to achieve this, with using an azure webservice as the update source, which returns the correct package for the customer. I got the service to run and it works, but as soon as I enable authentication (Azure AD) on it, windows can't download the package and displays an generic error message ("An error occurred while accessing the file from the web") during appinstall / update.
Is there any way to enable authentication on the update url or achieve customer specific update streams?
thanks and best regards,
Martin
Jan 13 2020 10:00 AM
SolutionHey @Martin82
The AppInsatller file currently doesn't support user authentication. This is a feature in our backlog and we hope to get to it soon.
Tanaka (MSFT)
Aug 05 2020 11:44 PM
Hi@Tanaka_Jimha ,
thx for your reply back in January. I've checked a few sources about msix development, but couldn't find anything about this. Do you have an update or can you point me at some alternatives how to implement customer specific versions with automatic updates?
thx and br,
Martin
Aug 18 2020 10:20 AM
Hi @Martin82,
Can you please elaborate on "customer specific versions". Do you mean being able to distribute certain versions of your package depending on who is trying to install the app?
Thanks,
Tanaka
Aug 18 2020 11:11 AM
Hi@Tanaka_Jimha ,
yes, thats exactly what we want to achieve. We produce about 4-6 Versions of our desktop products per year, but there are dependencies on external services and databases, so we can't roll out the update for everyone at the same time. (And some updates need our consulting colleagues, and so we have to enable the update per customer after the preparation is done).
During writing this reply, I found a documentation https://docs.microsoft.com/en-us/windows/msix/non-store-developer-updates for manual updates with the package manager. I'm not sure when the capabilities to use http-Uris for AddPackageAsync where added - the documentation still stays only local file shares are supported - but it seems we can use this, instead of the authentication.
I'll try it out sometime in the future, but it looks like we don't need the authentication anymore.
Thanks,
Martin
Aug 20 2020 09:05 AM - edited Aug 20 2020 09:28 AM
Edit: made this a separate post.
I'm wondering if this backlog item will solve my issue, which is I want to host the web-based distribution page for my UWP app in an Azure web app behind Easy Auth so that only users in the linked Active Directory can access the installation download.
Easy Auth works as expected to require login to the web page, but the App Installer experience fails with 'An error occurred while accessing the file from the web. Please try downloading and opening the file locally.' I'm guessing this same issue will impact the automatic update functionality of the UWP app as well.
Curious if 'AppInstaller user authentication' would solve this problem, or if it will be an authentication experience after the MSIX package has already been downloaded.
Aug 09 2021 07:41 AM
Hi @Tanaka_Jimha, is there any news?
Aug 12 2021 03:27 PM
Aug 13 2021 06:11 AM
Hi @TIMOTHY MANGAN, Excuse me but I don't understand you.
Referring to the following link https://docs.microsoft.com/en-us/windows/msix/app-installer/web-install-azure
The MSIX installer does not work when Azure AD authentication is enabled.
Aug 13 2021 10:08 AM