Forum Discussion

Moodie_Ghaddar's avatar
Mar 13, 2024
Solved

Distribute appinstaller and MSIX via Azure blob storage.

Hey all,

 

I have an automated CD pipeline that signs the MSIX package and uploads both the MSIX package and appinstaller file to an Azure blob storage.

 

Since my users do not have direct access to the blob storage, I have created a web application that has access to the blob storage with an API that can download the appinstaller or MSIX package. I am able to download both the appinstaller and MSIX package when entering the URL manually in the browser. However, when I launch the appinstaller it displays an error that an app package could not be opened. The reason is "An error occurred while accessing the file from the web. Please try downloading and opening the file locally."

The API returns a `FileContentResult` and uses the correct MIME. "application/appinstaller" for appinstaller and "application/msix" for the MSIX package.

Any idea what could be wrong?

  • The issue was that I needed to enable range processing on my web application API. 

    • myokeeh's avatar
      myokeeh
      Iron Contributor

      Can you expand on how you got this to work? I'm also looking to using Blob storage for this.

Resources