SOLVED

Where is APPDATA going to

Iron Contributor

See the screenshot from my package below.

Pollewops_0-1632323468532.png

Can someone tell me where the [{AppData}] folder is going to be placed. When installing the package I can' t find it on my system. 

I thought it will be somewhere here, but is isn't .

C:\Users\<username>\AppData\Local\Packages\AccessClientSolutions-0101.01-ENG_fg0t8wag126gc

 

Some files are placed here in appdata, which i need to access from a shortcut. But i can' t find the files and then i can' t configure the shortcut to use those files if that is possible.

 

1 Reply
best response confirmed by Pollewops (Iron Contributor)
Solution
The AppData folder in your package will appear under the VFS folder under the package root, just like all other VFS folders. Except that without the PSF FileRedirectionFixup, your app is unlikely to see the files. Explanation:

Software running in the container (without PSF) generally maps native file requests to also check the appropriate VFS folders under your package root. Unfortunately, it doesn't map requests to the local AppData or LocalAppData folders to the VFS folders. We don't know why, it just is that way.

Adding in the FileRedirectionFixup of the PSF can make these folders visible, as well as making them modifiable. When one of those files is referenced, it would be copied out to the user's AppData/Local/Packages/[PackageName]\LocalCache\Microsoft\WritablePackageRoot\VFS
AppData folder and opened from there.
1 best response

Accepted Solutions
best response confirmed by Pollewops (Iron Contributor)
Solution
The AppData folder in your package will appear under the VFS folder under the package root, just like all other VFS folders. Except that without the PSF FileRedirectionFixup, your app is unlikely to see the files. Explanation:

Software running in the container (without PSF) generally maps native file requests to also check the appropriate VFS folders under your package root. Unfortunately, it doesn't map requests to the local AppData or LocalAppData folders to the VFS folders. We don't know why, it just is that way.

Adding in the FileRedirectionFixup of the PSF can make these folders visible, as well as making them modifiable. When one of those files is referenced, it would be copied out to the user's AppData/Local/Packages/[PackageName]\LocalCache\Microsoft\WritablePackageRoot\VFS
AppData folder and opened from there.

View solution in original post