Preventing MSIX from Overwriting Files during Updates

Copper Contributor

I am seeking a solution to prevent MSIX package updates from overwriting files in a specific subfolder within my application. This subfolder contains user-generated data, and it's crucial that it remains intact during updates from the Microsoft App Store. Kindly advise on the appropriate methods to achieve this preservation of user data. 

1 Reply
As MSIX packages are installed in to a location on disk that is read only and not writable at all, I'm confused by the "This subfolder contains user-generated data" comment.

Simply write your files out to AppData and they will persist after an upgrade.