How to prevent OCX unregister after un installation of a application (VB.net converted from vb6)

176 Views Asked by At

We have a vb6 project, which we converted to vb.net. We have recently moved to Windows server 2016 and using VS 2019. We have created setup project which installs the application. After uninstallation, some of the Shared OCX files like mscomct2.ocx, mshflxgd.ocx and msdatgrd.ocx were unregistering and other applications giving an error like its not registered. After manual registration like regsvr32.exe mscomct2.ocx its working.

Help is needed to stop unregistering OCX files after uninstallation of setup project. I have tried with VS 2019 extension and also Installsheild, both results same

0

There are 0 best solutions below