Forum Discussion
Inmatrix
Jan 27, 2022Copper Contributor
MSIX package not copying data files
Hi, We are using the MSIX Packaging tool to package our application(Zoom Player). Our application writes some files to the Program Data folder. In the package we compiled, these files are in the foll...
Bogdan Mitrache
Feb 02, 2022Iron Contributor
Has anything changed inside your application related to how these files are handled the first time the application is launched by a new user?
From what I know, the OS never copied files outside of the install location of an MSIX package. The recommended approach was for the application to copy these files and create them into a location where it has permissions to write, as the one you mentioned above.
Maybe up until this version your application was correctly checking if the file are present and copying them, and something changed in between?
For apps that are no longer maintained (but from what you say this doesn't seem to be the case for you) the Package Support Framework can be used to handle this scenario. Here I have written more on this topic:
https://www.advancedinstaller.com/vfs-files-management.html
From what I know, the OS never copied files outside of the install location of an MSIX package. The recommended approach was for the application to copy these files and create them into a location where it has permissions to write, as the one you mentioned above.
Maybe up until this version your application was correctly checking if the file are present and copying them, and something changed in between?
For apps that are no longer maintained (but from what you say this doesn't seem to be the case for you) the Package Support Framework can be used to handle this scenario. Here I have written more on this topic:
https://www.advancedinstaller.com/vfs-files-management.html