Forum Discussion
application user data in MSIX
Kragunath By default these things are removed on uninstall by design. But if the package did not contain ANY AppData files then those are written externally (just like the Documents folder) and will remain. Also, there is an option on the PowerShell removal to keep the data - not exposed in the GUI uninstaller.
if I understood correctly,
1. If AppData is not added in the package, the content will be written outside the container and remain after removal of package.
2.if the AppData is added in the package, PowerShell command can be used to retain the content after removal.
if yes, is there any MS document for this behavior. Please provide if any.
- Aug 08, 2020
Kragunath That sounds right to me.
I don't know of any documentation directly addressing this on the former, although it may be implied at places. The latter is documented in the remove-appxpackage cmdlet, just without context or details.
Perhaps jvintzel or ShakersMSFT can add this scenario to the next documentation bash?
- KragunathAug 12, 2020Copper Contributor
TIMOTHY_MANGAN,
Thanks for the update.
@John Vintzel or @Sharla Akers,
Could you help on this.- ShakersMSFTAug 17, 2020
Microsoft
Hi Kragunath,
You can learn more about how the MSIX Container, and AppData works in our doc here.
Best,
Sharla