Questions tagged [msix]

New package format for Win32, Desktop Bridges, and Universal Windows Platform (UWP) applications.

MSIX is a new package specification which provides a unified packaging format for Win32, Desktop Bridges, and Universal Windows Platform (UWP) applications.

MSIX was built from the ground up to deliver complete containerization for Windows 10 applications. The format utilizes the AppX application framework and provides a path to deploy all Windows 10 Applications to the Windows Store. It inherits all the great features in UWP and most importantly, it applies to all Win32, WPF, Windows Forms, and UWP applications.

Importantly this new and in-progress MSIX package format is essentially a major improvement of the current AppX format - rather than the MSI format - despite the name.

Microsoft seems to envision a future where MSIX not only replaces MSI, but also creates a package format which cross-platform Microsoft applications can recognize and use on any platform (iOS, Android, MacOS, and Linux).


MSIX is an emerging technology with little official information currently available. Accordingly the above information has been assembled primarily from the following sources:

287 questions
1
vote
1 answer

MSIX: How to achieve automatic install of .net 5 required for my application?

I wrote a WPF program using .NET 5, packed it into the MSIX bundle (Release, x86 and x64) as a framework-dependent package. Everything seems fine, but there is one very annoying thing: on the first run the app says ".NET runtime is missing, would…
Lev
  • 811
  • 12
  • 13
1
vote
1 answer

Why does the MSIX not automatically check for updates every time the application runs when sideloading is enabled?

Question: Why does the MSIX not automatically check for updates every time the application runs when sideloading is enabled? Context: We are migrating a WPF application to Azure and have created an MSIX installer with sideloading enabled and set to…
J Weezy
  • 3,507
  • 3
  • 32
  • 88
1
vote
3 answers

MSIX Windows 10 App Access Denied post-SSO sign-in for Azure migration

We are in the process of migrating our applications into Azure. We have created an MSIX installer for an internal WPF application that installs to the Windows 10 C:\Program Files\WindowsApps\ folder. When we run the application, it requires us to…
J Weezy
  • 3,507
  • 3
  • 32
  • 88
1
vote
2 answers

Packaged WPF app returns wrong AppData path when used as argument for a new process

I have a WPF .NET Core 3.1 app packaged as an MSIX app. The app downloads some assets from S3 to the AppData folder and at some point, it starts another process (another app) with one of the arguments being the path to one of the downloaded assets…
Teslo.
  • 471
  • 2
  • 9
  • 22
1
vote
1 answer

Open a Windows app programmatically, when it was installed with MSIX Application Packager

I have packaged my windows App using a Visual Studio MSIX Packaging Project: This is a sideloading app, using a certificate, not a Microsoft Store App. This is fine - I get automatic updates, and users can install the package without admin rights. I…
TomFp
  • 469
  • 1
  • 5
  • 13
1
vote
1 answer

MSIX Installed WPF application that uses Azure SSO will not launch

I am new to creating an MSIX installer and hosting it on Azure. Question: Why will a WPF application that is installed with an MSIX installer not launch? Details: I have a WPF application built on .NET 5 that logs users into our Azure SQL database…
J Weezy
  • 3,507
  • 3
  • 32
  • 88
1
vote
1 answer

How is a Microsoft Store app supposed to notify the OS that it may safely be shut down for an update even if running?

My Store app registers itself for restart using RegisterApplicationRestart and that does indeed cause it to restart upon an update. However, the Microsoft documentation asserts that the Store always sends a WM_QUERYENDSESSION message before updates…
Terry Peterson
  • 121
  • 1
  • 8
1
vote
1 answer

How to run an MSIX installed application from the command line

I have an application packaged and signed as an MSIX, it installs and runs from the start menu. I'd like to be able to run the application from the command line too, for automated testing, but I can't see a way to do it. From powershell the docs…
Damon Smith
  • 1,770
  • 18
  • 24
1
vote
1 answer

AppInstaller fails when pointing MainBundle to HTTPS URI but works when pointing to FILE:/// URI

I'm having an annoying issue with my AppInstaller file giving an error when trying to install an MSIXBundle file from a HTTPS URI: App installation failed with error message: error 0x8007000D: Opening the package from location…
Bolanki
  • 21
  • 2
1
vote
0 answers

How to use Desktop2.DesktopEventLogging to register UWP/MSIX app?

I am looking for additional information on using Desktop2.DesktopEventLogging in the AppXManifest to register an app event log, but the documentation is not exceptionally helpful and I am not finding any example usage. The reason to want to perform…
Tim
  • 11
  • 1
1
vote
1 answer

How do I update programatically a WinForms app which is always running, deployed with msix?

I have an app that is configured to run at startup. It doesn't have a UI, it goes to the system tray and do its stuff all day while the user is logged in. The app should be updated automatically without the user even notice, I don't want to disturb…
rm5432
  • 327
  • 1
  • 3
  • 10
1
vote
1 answer

How to create two versions of MSIX package (QA\PROD) and deploy on the same machine?

What should I change so I can install both QA & Prod versions of app on the same machine? # Starter pipeline # Start with a minimal pipeline that you can customize to build and deploy your code. # Add steps that build, run tests, deploy, and more: #…
Sundeep
  • 2,035
  • 2
  • 23
  • 38
1
vote
1 answer

Is it possible to publish a program in the microsoft store that depends on the installation of another?

Currently I have attached the "exe" that depends on my installer. I created an msi package using the Wix toolset. However, Windows accuses unknown vendor and warns of danger. I know for that I would need a code sing certificate. But I am thinking…
1
vote
1 answer

add dependency to .exe and execute with parameter from MSIX installer

Hi I am trying to learn how to create an MSIX .appinstaller to distribute and automatically update an app on a local intranet. I am trying to test the new WebView2. I need the installer to run the webview2 evergreen runtime .exe file in silent mode…
Paul
  • 693
  • 1
  • 10
  • 25
1
vote
1 answer

WPF packaged with MSIX unable to pass Microsoft Store validation

Microsoft Store is unable to validate the .msixupload file packaged by Visual Studio. The solution file consists of a WPF app, a UWP app for XAML Island, and the MSIX Packaging Project. The error returned at the Partner Center site is: Package…
Lola
  • 68
  • 4