MicrosoftDocs / msix-docs

repository for msix content
Creative Commons Attribution 4.0 International
60 stars 114 forks source link

Windows application packaging project does not provide option to uninstall previous installed package before installing the new one. #312

Open lluatehwachs opened 2 years ago

lluatehwachs commented 2 years ago

App installed failed with error message: Windows cannot install package xxxxxx_3.8.3.0neutral~_hijkl because a different package xxxxxxx_3.8.2.0neutral~_abcde r with the same name is already installed. Remove package xxxxxx_3.8.2.0neutral~_abcde before installing. (0x80073cf3)

I think the reason is that I signed the new package (3.8,3) with a new EV code signing certificate. Does WAP tool support option to uninstall previous package? Under the project property tab "Debug" ->"Start option", there is a check box for "Uninstall and then re-install my package. All information about the application state is deleted". But enable it does not seem to do the job.