Forum Discussion
MSIX Packaging Tool Command Line?
I have an updated version of the original Microsoft scripts for using the command line interface on my Github repository here: GitHub - TimMangan/msix-packaging2 This supports mostly remote packaging, but shows the basics of manipulating the template and calling the command line.
- JonahBaderJun 03, 2025Brass Contributor
Hi Tim, I've been digging into this for a while with no luck unfortunately. It looks like this script is designed for remote packaging, which is super cool! I've been experimenting with both remote (azure VM) and local, each without success. I would think that since I continue to get that error locally, I should focus in on that before trying to get it remote.
I've tried a few different template files with no change in outcome. Any chance you would have a simple template I could try?
- Jun 05, 2025
The scripts require that you have the MSIX Packaging Tool installed on two machines; the "controller" where you start and end the process, and a remote "packager" that performs the capture. They were written for Hyper-V control of the remote. In an Azure environment you would have to manually control the "revert to snapshot" and "start" functions of the remote (probably adjusting the scripts), and the remote machine would have to have remote powershell enabled ("enable winrm"). And fix any firewall blocking between those two. Probably want both machines in the same area (either local or azure) as communication between them is touchy.
- JonahBaderJun 05, 2025Brass Contributor
Thanks Tim. Is the command line feasible for use on a single machine, without needing remote packaging?
- JonahBaderApr 30, 2025Brass Contributor
Thanks Tim, I'll take a look at this!