Forum Discussion

AppsPackG's avatar
AppsPackG
Brass Contributor
Dec 04, 2023

PSF Config generation / validation

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.


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.

  • AppsPackG's avatar
    AppsPackG
    Brass Contributor
    Have been informed that it is in fact Javascript ECML flavor of regex.
    • Fiza_Azmi's avatar
      Fiza_Azmi
      Icon for Microsoft rankMicrosoft

      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

Share

Resources