The latest Insiders build of MSIX Packaging tool (v1.2023.1005.0) is now available. In this release, we’ve added features to make the conversion process simpler. Here’s a rundown of the major improvements, which you can download from the Microsoft Store.
PSF – MPT integration (via GUI)
PSF – MPT integration (via GUI)
In the earlier versions of the tool, we allowed injecting Package Support Framework (PSF) scripts into the package via the MSIX Packaging Tool (MPT) command line. Taking feedback from the community around the complexity involved with configuring these PSF fixups, we’re now enabling addition of PSF fixups from MSIX Packaging Tool GUI!
For fixes you know you need to apply, use the GUI and configure the required parameters. The tool automates the config. generation process, eliminating the need for manual edits and the potential for human errors!
You’ll find the PSF Fixups Tab in the Package Editor flow of the tool.
For example, Photoviewer is a sample app that has been successfully converted to MSIX, but it fails to launch because, due to MSIX restrictions, it tries to write into package folder. The solution to this issue is through PSF by applying File Redirection Fixup:
Select the Application ID as present in the manifest. The Executable Path will be populated automatically.
Select Fixup type as File Redirection Fixup.
Now, in the right pane, select Package Relative as the Redirect Type.
Fill in the other mandatory fields, like base path and patterns, that you want to redirect.
You can review the configurations applied by clicking on Preview config.json, located at the bottom of the screen. The tool also allows you to select another fixup and apply it in the same flow.
Click on Save to select if you wish to increment the versioning for your package and save it in the location of your choice.
Here are the fixups supported in the current preview:
Debugging post-conversion issues is often tedious and requires both time and effort, especially for folks new to MSIX. To simplify this process, we’re introducing Package Analyzer in the MSIX Packaging Tool. This feature offers runtime analysis of a MSIX package, identifies potential problems, and offers suggestions to resolve these identified issues. By facilitating the analysis of the package with one simple button, the tool detects and applies the selected fix, streamlining the conversion process.
To try this feature, navigate to the Package Analyzer tab in the Package Editor flow of the MSIX Packaging Tool and follow these simple steps:
Select the package of your choice and sign the app with a certificate (this is a required step in the current Preview).
Navigate to Package Analyzer tab and select Analyze Package.
Play around with the app functionalities as the tool continues to monitor the package in the background.
Once you’re comfortable with testing the application, select the Stop Analysis button in the tool. If there are problems encountered with the package, the tool will show the detected problems and possible remediation approaches.
Click on Save to apply and watch the magic come live!
The following fixup suggestions are supported in the current release: