PSF Launcher - EXE with .config file

Copper Contributor

I am trying to launch .NET exe which has .config file with the exe.

How can I launch the exe using PSF launcher?  I tried setting argument and working directory but that didn't help.
PS - I am trying to apply FileRedirectionFixup. Application needs write permission in INSTALLDIR.
Can someone help me create the config file?

 

My Config File :-

{
"applications": [
{
"id": "PSF",
"executable": "VFS/ProgramFilesX86/HC/HCDF.exe",
"workingDirectory": "VFS/ProgramFilesX86/HC/"
}
],
"processes": [
{
"executable": ".*",
"fixups": [
{
"dll": "FileRedirectionFixup32.dll",
"config": {
"redirectedPaths": {
"packageRelative": [
{
"base": "VFS/ProgramFilesX86/HC/",
"patterns": [
".*\\.xml"
]
}
]
}
}
}
]
}
]
}

2 Replies
Did you make sure you modified the manifest to set the Executable attribute of the Application element to the name of the PSF Launcher executable file?

More info about this here:
https://docs.microsoft.com/en-us/windows/msix/psf/package-support-framework
yes..but still the same issue