Side by side installations

Everything DG Kernel: Technical discussions and issues
Post Reply
Prashant Kande
Posts: 46
Joined: Tue Jun 18, 2024 6:12 am

Side by side installations

Post by Prashant Kande »

Hello all

This issue comes up surprisingly often. Unfortunately, versions are different, and some useful features are being dropped. This often requires installing more than one version.

There is a problem related to that: All samples and customer applications need a way to locate the DGK binaries. To avoid manual pointing to the installation folder every time an app is moved or created, DGK uses registry. Even DGKC relies on that to find the installation.

Advanced for completeness and tricky cases: Sometimes, you need to be sure which version is active. Currently (v7.2 and earlier) the installation location is determined by the path in the default value of HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{1BF74BAF-DAB3-4A68-A6EC-409E7AAA24BB}\InprocServer32\ key. Search for KerCADe.ocx if you cannot be bothered remembering the key.

This means there is always the current version active. To switch between the installed version execute "Update Cmponent Registration" as admin in the version you intend to use next.

Registration matters only during startup of an app. So, you can, say activate v6.2, start a sample there. And while it is running you can activate v7.1 and start debugging your app simultaneously.

See also more
Post Reply