Microsoft Technical Takeoff: Windows and Microsoft Intune
Oct 24 2022 07:00 AM - Oct 27 2022 12:00 PM (PDT)

Issue Launching Applications Using PSF

Occasional Contributor

Hi All, I've been having issues trying to launch MSIX applications that need remediation via the PSF. There are a few different applications I've been working with the PSF to resolve various issues but it looks like other people have used Notepad++ as an example here so I will as well.

I'm almost certain there is something missing from my hierarchy of knowledge as to how the PSF operates and something basic is missing or our of place here. I've been editing the files in vscode and testing on devices running 20H2. However, when launched the psfLauncher64.exe will run silently and notepad++ never launches.


The issue I'm attempting to resolve with PSF is the MSIX converted Notepad++ tries to create xml files in the root directory. These attempts bring visible errors forward, 'Error Langs.xml' and such. 

The PSF files are in the root of the MSIx Package.

AppxManifest snippet:

<Application Id="NOTEPAD" 

I have tried using the "NOTEPAD" Application ID as well.


    "applications": [
            "id": "PSFLAUNCHERSIXFOUR",
            "executable": "VFS/ProgramFilesX64/Notepad\\+\\+/notepad\\+\\+.exe",
            "workingDirectory": "VFS/ProgramFilesX64/Notepad\\+\\+/"
    "processes": [
            "executable": "notepad\\+\\+$",
            "fixups": [
                    "dll": "FileRedirectionFixup64.dll",
                    "config": {
                        "redirectedPaths": {
                            "packageRelative": [
                                    "base": "VFS/ProgramFilesX64/Notepad\\+\\+/",
                                    "patterns": [



4 Replies

Hi @Vanbogie1200 


Manually building the JSON config is error-prone and time-consuming. Personally, I never built one manually (so it's hard for me to say if something is wrong with your sample), it is way easier to just use the free Express edition from Advanced Installer to config the fixups from its GUI, and the JSON gets generated automatically.


More details: How the PSF integration from Advanced Installer works.


Disclaimer: I work on the team building Advanced Installer.

Additional help:

- How to build and MSIX package for Notepad++

- How to Add Notepad++ plugins to an MSIX package
I used Advanced installer to create the redirection and got slightly better results. Notepad actually launches but the xml errors are still there. At least that's something to work with.
You need to add a file redirection fixup for the XML files. Check out the following videos - Advanced Installer tries to add the fixups automatically when you use the "Trace" functionality or you can manually add them from the GUI.

Smart Fixups (auto) demo:
PSF Ignite demo: