Forum Discussion

pandaysumitroy's avatar
pandaysumitroy
Copper Contributor
Jan 03, 2022

PSF Launcher - EXE with .config file

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"
]
}
]
}
}
}
]
}
]
}

Resources