Prerequisites
- The certificate with which the MSIX package is signed must be present on the device
- The Package Name and Package family name which you need to create the package for CIM App Attach in Application Workspace. You can use for example MSIX hero.
Step by step guide
Create the package
In the Application Workspace navigate to Manage > Packages and create a basic simple Custom type of package with a suggestive name, like SlimPDFreader (CIM App Attach).
Create a new Install-type action set that checks if the MSIX is already installed
Within the package, create an action set with the following configuration:
- Overview tab:
- Type: Install
- Filters tab - Create a filter set and add a filter with:
- Type: Windows App Installed
- Package Family Name: SlimPDFreader_1.0.0.0_x64__x1a5e57jmrrvp
- Exists: No
Configure an action that creates a temp directory if one is not present
Within the Install action set, create an action with:
- General tab:
- Type: Create directory
- Name: e.g., Verify Temp Directory
- Path: C:\Temp
- Advanced tab:
- Context: Device
- Filters tab - Add a filter:
- Type: Directory exists
- Path: C:\Temp
- Exists: Yes
- Context: Device
Configure an action that uploads a directory to the Application Workspace Content Store and deploys it to a specified destination on devices
Within the Install action set, create an action with:
- General tab:
- Type: Install uploaded directory
- Name: e.g., Install uploaded directory
- Path: ${Documents}\SlimPDFreader
- Destination: C:\Temp\SlimPDFreader
Configure an action that mounts a virtual disk to the specified app attach mount point
Within the Install action set, create an action with:
- General tab:
- Type: Attach virtual disk
- Virtual disk: C:\Temp\SlimPDFreader\SlimPDFreader.cim
- Mount point: C:\Temp\appattach
Configure an action that stages a Windows app in-place from the mounted path without registering it
Within the Install action set, create an action with:
- General tab:
- Type: Install Windows App
- Name: Stage Windows App
- Path: C:\Temp\appattach\apps\SlimPDFreader_1.0.0.0_x64__x1a5e57jmrrvp
Configure an action that registers the staged Windows app by specifying its Package Family Name
Within the Install action set, create an action with:
- General tab:
- Type: Register Windows App
- Package Family Name: SlimPDFreader_1.0.0.0_x64__x1a5e57jmrrvp
Create a new Launch-type action set that launches the SlimPDFreader
Create an action set with:
- Overview tab:
- Type: Launch
Within the Launch action set, create an action with:
- General tab:
- Type: Start Windows App
- Package Family Name: SlimPDFreader_1.0.0.0_x64__x1a5e57jmrrvp
- Application Id: SlimPDFreader
Put the package from the Development stage to the production stage and Click Confirm. Within the package, navigate to Entitlements and provide an Active Directory or Entra group. In the Add entitlement dialog box, in Publish, select where you want to publish your package and click Confirm.