Mar 30 2021 01:18 PM
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:
Config.json:
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": [
".*\\.xml"
]
}
]
}
}
}
]
}
]
}
Mar 30 2021 11:37 PM
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.
Mar 30 2021 11:47 PM
Apr 08 2021 12:51 PM
Apr 09 2021 11:34 PM