I guess I should have mentioned that this is for an installer developed in Installshield. There will be no LabVIEW code running.
The installer is checking to see whether NI-VISA is installed on the Computer. The installer is also verifying the version.
We would like to detect whether NI-VISA, Agilent VISA or both are installed on the computer.
There are three valid configurations:
- NI-VISA only
- Agilent VISA only
- NI-VISA primary with Agilent VISA secondary
If you install NI-VISA when Agilent VISA is already installed as primary, it will corrupt the Agilent VISA. The NI-VISA installer doesn't check for the presence of Agilent VISA. NI doesn't support running as the secondary VISA. Notably, Agilent will install as a secondary VISA.
If Agilent VISA and NI VISA are installed, then you need to check to see if Agilent is secondary and whether the NI-VISA Tulip setting is on. To properly install this case, you must uninstall Agilent IO, install NI-VISA, then reinstall Agilent IO.
Our next version of the installer will detect the three configurations and do the 'right' thing.
Jim