Skip to main content

Uninstall MSIX Package

Use this predefined action to uninstall an MSIX package for all users during MSI uninstallation.

You can identify the package either by the path to the .msix file or by its name.

note

Some MSIX applications can leave user-specific data behind even after the package is removed.

Master Packager Advanced Editor - Uninstall MSIX Package

Fields

FieldDescription
Action NameIdentifies this predefined action in your project.
MSIX PathIdentifies the package by the path to the .msix file. Use the browse button to select the file.
MSIX NameIdentifies the package by its display name or Package Family Name. You can retrieve it with Get-AppxPackage.

Steps

  1. Open the MSI or MST in Master Packager.
  2. In the left pane, select Custom Actions.
  3. Open the Predefined Actions tab.
  4. Click Add New Predefined Action and select Uninstall MSIX Package.
  5. Enter a value in Action Name.
  6. Choose whether to identify the package by MSIX Path or MSIX Name.
  7. If you use MSIX Path, browse to the MSIX file you want to uninstall.
  8. If you use MSIX Name, enter the package name or Package Family Name.
tip

If you use MSIX Name, make sure the value matches the installed package exactly.