FileRedirectionFixup ProgramData #17
Answered
by
dan-hughes
dan-hughes
asked this question in
Q&A
|
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": [
".\\"
]
}
]
}
]
}
}
}
]
}
]
} |
Answered by
dan-hughes
Sep 8, 2022
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. |
1 reply
Answer selected by
dan-hughes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Typically, I answered my own question moments after asking someone. For anyone else it needs to target the executable as defined here.