Hello Rodrigo,
I'm afraid what you are trying to achieve might not be possible, due to some limitations of MSIX.
For instance, through the Package Support Framework, you can add PowerShell scripts before and after the execution of your MSIX package app. However, in order to uninstall an app, you need admin privileges (unless the app was installed per-user).
That being said, the script can not remove the app due to the fact that MSIX is not installed through an elevated process.

- Screenshot_192.png (182.98 KiB) Viewed 6493 times
Best regards,
Catalin