I have developed an application on my PC and use a third party OCX.
After deploying the application and installing it on the same PC for testing, the COM-object is referring to the installation directory of the application, missing the licence file.
Only after uninstalling the application I can change the directory of the COM-object.
Is there a solution to prevent this?