Command line and publishing specifics for UWP apps (APPX, MSIX and bundles)
search cancel

Command line and publishing specifics for UWP apps (APPX, MSIX and bundles)

book

Article ID: 397760

calendar_today

Updated On:

Products

IT Management Suite Software Management Solution

Issue/Introduction

You are interested in importing a package from Microsoft Store (available starting with the ITMS 8.8 release) 

Environment

ITMS 8.8
Software Management 8.8

Resolution

The following is provided regarding this information as a reference based on a very simple scenario.

 

Command lines and detection rules for APPX, MSIX and bundle packages

 Imported Appx, Msix and bundle packages have “Provision” and ‘Uninstall for current user” command lines selected as defaults



New installation file resource types are available in command line editor:

  • For Appx, Msix packages there is a common file resource type “Appx/Msix Software Installation file”
  • For Appx, Msix and bundle packages there is a common file resource type “Appx/Msix Bundle Software Installation file”


You can generate own custom command line for Appx/Msix packages using pre-defined “Provisioning”, “Allow unsigned” and “Use Dependencies” options


Similar for Appx/Msix bundles


Imported Appx and Msix packages have “Detect provisioned state” option enabled in default detection rule


Imported Appx and Msix bundles have both “Detect provisioned state” and “Bundle” options enabled in default detection rule


You can create your own new “Smart rule” for Appx and Msix packages detection


Appx/Msix package Id rule allows to select existing imported msix/appx packages for rule detection.


By default “Detect provisioned state” option is enabled for Appx/Msix packages detection rule. When publishing to Software Portal unselect it to enforce installation of this package to currently logged in user (described in more details in the next section).


For Appx, Msix bundles you can create your own custom detection rule using “Appx/Msix Bundle package Id” standard rule.


Appx, Msix or bundle packages added in “Managed Delivery” policy or “Quick Delivery” task with “provision” command line will be provisioned using Symantec Management Agent credentials for installation for all users that log in after this. You can check corresponding configuration in Advanced Options UI of Managed Delivery policy




or Quick Delivery task




Appx, Msix or bundle packages added in “Managed Delivery” policy or “Quick Delivery” task with “provision” command line will be installed using “Currently Logged in User” option only for currently logged in user.

 


Appx, Msix or bundle packages publishing to Software Portal

When publishing Appx, Msix or bundle packages to Software Portal to allow appropriate users to request and install these application you need to:

For Msix or Appx Bundle package unselect “Detect Provisioned state” checkbox in default detection rule.


Similarly for Appx, Msix bundle packages detection rule, unselect “Detect provisioned state” and “Bundle” checkboxes when publishing to Software Portal


Select “Install for Current User” command in Software Publishing configuration to configure publishing app to install just for user that request its installation from Software Portal.

Additional Information