updata
-Interested User-
Posts: 3
Joined: May 25, 2021
data
|
Posted: Jun 7, 2021 04:40 AM
Msg. 1 of 2
Hello, I've just installed the latest IQFeed beta client to test a report from one of our customers who is unable to run our integration. We use the registry entry: "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\DTN\IQFeed\EXEDIR" to locate the IQFeed client and validate that it is installed correctly. Without this key matching to an existing iqconnect.exe at the location, we determine that the client still needs to be installed. After installing the latest beta I see that the value for the key is: "C:\Program Files (x86)\DTN\DTN.IQ" while the DTN applications have been deployed at "C:\Program Files\DTN\IQFeed" This breaks our validation. Do you have any recommendations? thanks in advance, nick
|
DTN_Gary_Stephen
-DTN Guru-
Posts: 394
Joined: Jul 3, 2019
|
Posted: Jun 11, 2021 03:16 PM
Msg. 2 of 2
Nick,
There is a difference between IQFeed 6.1 and 6.2 regarding the registry.
Your code is looking for HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\DTN\IQFeed\ but this key is reserved for 32-bit software. IQFeed moves to 64-bit in version 6.2, and you'll need to look for a different key for this purpose. Beginning with IQFeed 6.1.1.X, IQFeed client software will be exclusively 64bit, and will no longer populate this or any other virtualized 32bit keys.
Additionally, since the above key duplicates functionality from the Windows uninstaller keys (these populate the software management in the Windows Control Panel), we will no longer populate the above registry keys at all going forward. The following registry key can be safely used by your software to determine if the IQFeed software is installed:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\IQFeed
All versions of IQFeed will use this same key for the foreseeable future. New versions of IQFeed will update this key, when installed over-the-top of old versions. Note that our installer software is also 64-bit as of this release, so this key will not be virtualized by windows.
An alternative to looking for this different, 64-bit key to determine if IQFeed is installed, would be to simply try to launch the feed (iqconnect.exe). IQFeed adds the iqconnect.exe install path to the windows path environment variable, so you can simply launch iqconnect.exe without knowledge of its full path, and check the return code on the launch command to determine if it is installed.
Be advised that IQFeed data subscrubers may be using either version, so you may want to have your check for both 6.2 and 6.1-and-earlier keys.
Let me know if this does not answer all your questions, or if there is anything else I can help with!
Sincerely, Gary Stephen DTN IQFeed Implementation Support Specialist
|