In this post I will be discussing on how to create MSIX Packaging Tool Environment. This kind of environment will provide us Windows 10 device with preinstalled MSI Packaging Tool Environment.

What is MSIX Packaging Tool Environment

MSIX Packaging Tool Environment is a Windows 10 device with MSIX Packaging tool already installed on it as pre-requisite for creation of MSIX packages. This kind of environment can be created very easily and can be helpful in scenarios to capture the msix packages on a vanilla operating system where there is in hinderance related to any other applications. Hence, it can be used to create or update existing win32 application installers which are in MSIX format.

Hence, this gives us a perfect opportunity to install MSIX Packaging Tool Environment on Hyper-V in few easy-to-follow steps. This is not mandatory to create the environment on any Server Operating System, you can install it on any Windows 10 devices having Hyper-V installed. Hyper-V can be installed as additional features on Windows 10 / Windows 11 devices on Professional / Enterprise / Education Edition.

Hyper-V creates Virtualization environment so that each specific virtual machine can be used separately without interfering with physical device.                              

How to enable Hyper-V

Hyper-V on Windows 10 can be enabled in multiple ways.

  • Using Windows Feature : Easiest way is to install it by going to Windows Feature.
  • Enable Hyper-V using PowerShell: Open PowerShell with Elevated rights and run following command:
    Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
  • Enable Hyper-V using cmd prompt: Dism command can be used to enable to Hyper-V

DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V

Restart is required for Hyper-V feature to get enabled.

Login to any device (Windows 10 /11 – Pro / Enterprise or Education edition), launch Hyper-V, select local computer right click and select Quick Create.

Hyper-V Quick Create

On Create Virtual Machine wizard, you will be presented with list of operating system to install which includes:

MSIX Packaging Tool Environment
Ubuntu 18.04.3.LTS
Ubuntu 19.10
Ubuntu 20.04
Windows 11 dev environment

Select the 1st option “MSIX Packaging Tool Environment” click on More options to provide the Virtual Machine name and selection of Network. Once done, click on Create Virtual Machine.

MSIX Packaging Tool Environment

This will initiate the downloading of image for MSIX Packaging Tool Environment from Cloud the size will somewhere around 5GB +, hence it will take some time to download depending upon internet speed.

Download MSIX Packaging Tool Environment

Once the download is completed which has eventually downloaded and applied Windows 10 device with wim file, click on Connect.

CreateMSIXPackagingToolEnv 04

This will launch OOBE (Out of Box experience) like any other Windows 10 operating system pre-installed on any device. You will be prompted with region selection.

CreateMSIXPackagingToolEnv 05

Proceed through few next pages such as privacy settings, network connection , username etc.

Within few minutes windows 10 Virtual machine will be ready and we can see MSIX Packaging Tool already installed on the device.

CreateMSIXPackagingToolEnv 07

We are ready to go and create MSIX Packages there on, which can be further deployed either using Intune or SCCM / Configuration Manager.

CreateMSIXPackagingToolEnv 08

You can further check the link on how to create MSIX package using MSIX Packaging Tool.

Important Links

MSIX documentation – MSIX | Microsoft Docs

Get MSIX Packaging Tool – Microsoft Store en-AU

MSIX resources – MSIX | Microsoft Docs