Install MSIX Package

This is a custom-created predefined action by the Master Packager team that installs an MSIX package during MSI installation. It allows you to deploy modern Windows applications together with traditional MSI packages.

The action uses PowerShell to execute the Add-AppxPackage command under SYSTEM context. This means installations can run without user interaction and apply machine-wide, if the MSIX package supports it.

Note: Some MSIX applications still rely on per-user data. Even when installing under SYSTEM, certain app settings may only apply to the user who runs the app.

It’s important to ensure your MSIX package is properly signed with a trusted certificate. Unsigned or improperly signed packages may be blocked by Windows security policies.
Master Packager Advanced Editor  - Install MSIX Package

Action Name
Describes what the action will do. Helps identify this predefined action if you have multiple custom actions in your project.

Package Path
Specifies the local file path to the .msix package that you want to install. Click the three dots to browse and select the file.

External Location
Optional. Allows specifying a network or internet location if your MSIX package is stored externally rather than bundled in the MSI.

How to use it?

  1. Open MSI/MST with Master Packager

  2. Click on Custom Actions in the left menu

  3. Click on the Predefined Actions tab

  4. Click Add New Predefined Action and choose Install MSIX Package

  5. Enter a descriptive Action Name

  6. Browse to set the Package Path pointing to your MSIX file

  7. (Optional) Enter an External Location if your package is stored outside the MSI

💡 You can uninstall MSIX packages during uninstall using the predefined action Remove MSIX Package, which executes the Remove-AppxPackage PowerShell command.