FileRedirectionFixup ProgramData #17
-
|
Hi, I have an old what looks like Winforms app that I do not have the source for. I'm trying to get it packaged up to use with AVD and get an error that the program is trying to read from ProgramData. Upon my travels I ended up here and found this much more developed version of PSF. The application has some directories under C:\ProgramData\MyCompany, these exist in the MSIX package under VFS\Common AppData. I just need the PSF to redirect it for me. Below is my config.json which doesn't seem to be working. What am I doing wrong? {
"applications": [
{
"id": "FCLIENT",
"executable": "VFS/ProgramFilesX86/MyCompany/FClient/FClient.exe",
"workingDirectory": "VFS/ProgramFilesX86/MyCompany/FClient/"
}
],
"processes": [
{
"executable": "^PsfLauncher.*",
"fixups": [
{
"dll": "FileRedirectionFixup32.dll",
"config": {
"redirectedPaths": {
"knownFolders": [
{
"id": "ProgramData",
"relativePaths": [
{
"base": "MyCompany",
"patterns": [
".\\"
]
}
]
}
]
}
}
}
]
}
]
} |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Typically, I answered my own question moments after asking someone. For anyone else it needs to target the executable as defined here. |
Beta Was this translation helpful? Give feedback.
Typically, I answered my own question moments after asking someone. For anyone else it needs to target the executable as defined here.