Forum Discussion
Kragunath
Aug 06, 2020Copper Contributor
application user data in MSIX
Hi, MSIX usually removes all user level entries(files/registries) created while using application. 1. How about the settings that users create. Ex: bookmarks in Google Chrome. 2. if it deletes,...
Aug 07, 2020
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.
- KragunathAug 08, 2020Copper ContributorThank TIMOTHY_MANGAN,
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.