Deploy MSIX Core apps with Microsoft Endpoint Configuration Manager

The delivery of MSIX applications using the Microsoft Endpoint Configuration Manager allows IT Pros to link other applications as dependencies, forcing them to install prior to. By creating a dependency to the MSIX Core application, we enforce the MSIX Core application to be installed only when required by the device. For more information on application dependencies in Micosoft Endpoint Configuration Manager see: Create Applications: Deployment type Dependencies.

Get started

The following steps will guide you through setting up an MSIX Core deployment strategy by using Microsoft Endpoint Configuration Manager:

  1. Deploy MSIX Core with Microsoft Endpoint Configuration Manager
  2. Update your existing MSIX package to support MSIX Core
  3. Deploy MSIX Core Apps with Microsoft Endpoint Configuration Manager

Creating the MSIX Core Microsoft Endpoint Configuration Manager application

The following will guide you through the creation of a Microsoft Endpoint Configuration Manager application, for the purpose of deploying MSIX Core apps to client devices.

Assuming you followed the previous guides (See the list of guides in the Get Started section above) and have retrieved/updated/created an MSIX Core enlightened app. As well as have copied the app to a file share that is accessible by the Microsoft Endpoint Configuration Manager tool. The next step is to deploy the new app to client devices within your environment.

Create MSIX Core dependent application in Microsoft Endpoint Configuration Manager

  1. From within the Microsoft Endpoint Configuration Manager console navigate to: Software Library > Overview / Application Management / Applications.
  2. Select Create Application from the ribbon.
  3. Select the Manually specify the application information radio button.
  4. Select the Next button.
  5. Enter the application details into the appropriate fields.
  6. Select the Next button twice.
  7. Select the Add button.
  8. Set the Type to Script Installer.
  9. Select the Next button.
  10. Enter the application name with a suffix of " - MSIXCore" (IE: "Application Y - MSIXCore").
  11. Select the Next button.
  12. Select the Browse button next to Content location and navigate to the file share containing the app installation media.
  13. Select the Select Folder button.
  14. Select the Browse button next to Installation Program, set the file type to be All Files ( * . * ) and select the installation media.
  15. Select the Open button.
  16. Update the Installation program field to:
"C:\Program Files\msixmgr\msixmgr.exe -AddPackage [Application.msix] -quietUX"
  1. Set the Uninstall program field to be:
"C:\Program Files\msixmgr\msixmgr.exe" -RemovePackage [Package Family Name] -quietUX
  1. Replace [Package Family Name] with the package family name of the MSIX application.
  2. Select the Next button.
  3. Select the Use a custom script to detect the presence of this deployment type radio button.
  4. Select the Edit button.
  5. Verify that Script type is set as PowerShell
  6. Enter the following:
Set-Location "C:\Program Files\msixmgr"

IF([Boolean]$(get-item "msixmgr.exe"))
{
    $Result = $(.\msixmgr.exe -FindPackage [Package Family Name]*)

    IF($($Result.GetType().Name) -eq "Object[]")
    {
        Return 1
    }
}
  1. Update [Package Family Name] with the MSIX package family name of the application.
  2. Select the Ok button.
  3. Select the Next button.
  4. Set the Installation behavior to Install for User.
  5. Set the Maximum allowed run time (minutes) and Estimated installation time (minutes) to values approriate for this application.
  6. Set the Installation program visibility as Hidden.
  7. Select the Next button.
  8. Select the Add button.
  9. Ensure the Category has been set to Device.
  10. Set the Condition as Operating system
  11. Select the Windows 7 checkbox from the list of Operating systems.
  12. Select the Ok button.
  13. Select the Next button.
  14. Select the Add button.
  15. Set the Dependency group name as MSIX Core.
  16. Select the Add button.
  17. Select MSIX Core from the list of Available applications.
  18. Select both 32-bit and 64-bit options from the Deployment types list.
  19. Select the Ok button.
  20. Select the Ok button.
  21. Select the Next button twice.
  22. Select the Close button.

Add non-MSIX Core dependent deployment type

  1. Select the Add button.
  2. Ensure the Type has been set to Windows app package (*.appx, *.appxbundle, *.msix, *.msixbundle).
  3. Select the Browse... button and navigate to the MSIX Core enlighted application installation media, then select the Open button.
  4. Select the Next button six times.
  5. Select the Close button.
  6. Select the Next button twice.
  7. Select the Close button.