Create CimFS App Attach package files in Application Workspace

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.  
To create CimFS App Attach package files:

1. Create the package in Application Workspace by navigating to Manage > Packages and creating a 'Custom' type of package with a descriptive name, like SlimPDFreader (CIM App Attach). 

2. 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 

3. 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

4. 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 the following attributes: 

  • General tab:
    • Type: Install uploaded directory
    • Name: e.g., Install uploaded directory 
    • Path: ${Documents}\SlimPDFreader
    • Destination: C:\Temp\SlimPDFreader 

5. 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

6. 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 

7. 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

8. 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 

9. Move the package from the Development stage to the Production stage and click Confirm.

10. Within the package, navigate to Entitlements and provide an Active Directory or Entra group.

11. In the Add entitlement window, in Publish, select where you want to publish your package and click Confirm