Page 1 of 1

Multi-client manager - how does it know ?

Posted: Wed Nov 22, 2017 3:24 pm
by sec105105
We recently added DS 11.5 to our 8.5 versions on our Windows clients. I use Multi-Client-Manager to switch between 8.5 and 11.5 no problem - When I bring up the MCM dialogue, it knows which version I'm currently aligned with.

..... But how does it know?

Are there any files at the Windows level that would identify where I'm pointing? I know \IBM\InformationServer and \IBM\InformationServer11 directories exist, but is there a file or flag that indicates which version I'm currently attached to ?

Or is it all set in the registry ?

I'd like to know because I want to have some Windows scripts that (depending on which project the user is attached to) do compiles or imports in the InformationServer or InformationServer11 directories....

Posted: Wed Nov 22, 2017 6:25 pm
by ray.wurlod
It's fairly certain to be a registry entry, so that it persists when you are logged out. I'd reckon it's in the HKEY_CURRENT_USER hive. I'm not currently in a position to research further (no access to regedt32 on the customer's client machine).

Posted: Thu Nov 23, 2017 9:34 am
by chulett
Registry entry manipulation. :wink:

Found in the registry....

Posted: Fri Nov 24, 2017 9:40 am
by sec105105
Found it (among other places) with the keyword CodeBase , under the HKEY_CLASSES_ROOT section.

So, you could use the Windows command like :
reg query HKCR /s /f codebase > IS.txt

then examine IS.txt - if it contains 'InformationServer11', then you're pointing to the 11.5 client. if just 'InformationServer' then you're pointing to 8.