microsoft / msix-packaging

MSIX SDK
MIT License
964 stars 163 forks source link

[BUG] MSIX upgrades cause .ocx components to show unregistered #517

Open midwan opened 2 years ago

midwan commented 2 years ago

Project MSIX SDK

Describe the bug I've been testing packaging a VB6 app (yeah, I know) with MSIX, to simplify deployment and upgrades internally (this is not published to a Store, only used internally at the company premises). Installations work fine, and the application works as expected. However, if I upgrade to a newer version, the included .ocx components show up as "not registered" and the application stops working. If I uninstall the application completely, and just install the latest version instead, it work as it should once more. Something is causing this on upgrades only - even minimal ones (just changing the version number in the Appxmanifest.xml is enough to trigger this).

To Reproduce

Expected behavior An upgrade of the packaged application should not trigger components to show as not registered.

Screenshots Not sure it's applicable, but I can provide more info if needed. ;)

Platform Windows 10, Windows 11