'Office add-in error registration error - Component not correctly registered

We have a Office add-in component that is built in VB 6. We register it by running command as OfficeConnector.exe /regserver with admin rights that works most of the time for any MS office versions. In one of the machine with Office 2013 installation, Add-in registration fails with error as "Component not correctly registered". We tried repairing the office installation, still the same error happens. Any suggestion on this ? Thanks in advance.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source