Forum Discussion
Packaging Command and Conquer Generals
The Documents folder is not supported by the Virtual File System. You can get around this by using the Package Support Framework to copy the file during deployment, as described here:
This is not as relevant to your case, but you may also be interested in the FileRedirectionFixup
https://github.com/Microsoft/MSIX-PackageSupportFramework/tree/master/fixups/FileRedirectionFixup
- Ruurd Jan van der GootApr 28, 2020Copper Contributor
Hello Luis Chaco,
Thank you very much for your reply.
..."The Documents folder is not supported by the Virtual File System"...So it means that it's not "being seen" or "being processed" in the VFS and by the VFS....
Thanks for the link Provided.
With this example (and with the aid of Procmon.exe), the files “.json” and the “.Ps1” are seen and processed by the PsfLauncher32 system.
The Path variables inside the .ps1 is to be sorted out.
Or maybe I can seen it and find out, with an additional Powershell command for logging of the inside actions. (I don’t know if the .ps1 file sees the VFS)
CopyCommandandConquerGeneralsData.ps1
$mydocuments = [environment]::getfolderpath("mydocuments")New-Item -Path $mydocuments -Name "Command and Conquer Generals Data" -ItemType "directory" -Force
Copy-Item -Path "VFS\personal\Command and Conquer Generals Data\" -Destination "$mydocuments" -Recurse -Force
In your second suggestions (below), is also interesting. For now a step (or two,…) too far.
( C language is very intriguing, and comes in many tastes C, C++, Windows-C, and more flavours. It is not easy to step in. )
https://github.com/Microsoft/MSIX-PackageSupportFramework/tree/master/fixups/FileRedirectionFixup
Thank you very much, Best regards.