Tech Community Live: Windows edition
Jun 05 2024, 07:30 AM - 11:30 AM (PDT)
Microsoft Tech Community

PSF Config generation / validation

Brass Contributor

Further to the latest release of the MSIX Packaging Tool, it highlights the advantages of configuring the PSF fixups through the GUI now which is great.
Can someone clarify the type of pattern that is being used is then placed in the config.json file.  Is this a json specific type of regex which I need to brush up on.

Screenshot of the PSF fixups options in the Package editor..png
I came across this article https://learn.microsoft.com/en-us/windows/msix/psf/psf-integration-with-mpt that highlights the automation of creating the config.json files but doesn't give any guidance on what the pattern should be or provide a way of validating it with examples of how a file being re-directed would be matched.

I appreciate it gives a preview option for the config.json but it doesn't parse the file like you see when manifest edits are being made.
If the patterns could be validated using something like https://regexr.com/3opa6 then it would allow adoption of the PSF for migrations easier.

2 Replies
Have been informed that it is in fact Javascript ECML flavor of regex.

@AppsPackG 
Thanks for sharing that feedback. We will continue working towards making this feature more intuitive. 

For the question on validating patterns - Yes, you can use any regex validator tool, like the one you mentioned, to verify the regex patterns.

-Fiza, 
PM, MSIX