Forum Discussion
martijnk79
Nov 02, 2023Brass Contributor
File redirection question
Hi, This file redirection feature is very confusing to me. I have an application that writes to the temp folder (in localappdata) and the roaming appdata folder. Right now these files are stored i...
martijnk79
Nov 03, 2023Brass Contributor
You probably mean this right? For some reason when I add the file redirection fixup, the app won't launch any longer. With procmon I see an invalid parameter error.
Nov 03, 2023
No. In option 1 you are not including the FileRedirectionFixup at all. If you need the fixup, you are looking at option 2.
In Option 2, you need to edit the config.json to be more like this:
"redirectedPaths": {
"knownFolders": [
{
"id": "AppData",
"relativePaths": [
{
"base": "C:",
"patterns": [
".\\"
]
},
"IsException": "true"
]
},
...
But in all honesty I don't use the new built-in PSF that the Packaging Tool now has; it is over 2 years out of date with changes. So I can't swear that will work with that version of the PSF. Instead, I would use PsfTooling, which has an up-to-date PSF, while in monitoring mode of the Packaging Tool (right after you installed the app) to add and configure the PSF.
- martijnk79Nov 14, 2023Brass Contributor
TIMOTHY_MANGAN I tried to use psftoolsd but when launching the app the entire system is crashing wow!
- Nov 14, 2023Please send the version of PsfTooling that you were using and any relevant information. There was an application crash issue on the debug build fixed in the last release. Feel free to reach out directly at email address removed for privacy reasons