Question

I want to install OpenSplice DDS using nsis script, but i have to know whether the OpenSplice DDS installed or not in the system (Windows).

Based on the register keys how can we check if OpenSplice DDS is installed or not?

Can anybody provide the nsis script to check DDS installation based on registery keys?

Was it helpful?

Solution

A standard OpenSplice installation does not make any changes to the registry and as such, you can not use checking of the registry key to discover whether or not OpenSplice has been installed. Only if the option to install OpenSplice as a Windows service was checked during installation, information will be inserted into the registry -- just like any Windows service has an entry in the registry. Since it is up to the user to select this option or not, this is not a reliable mechanism to check for either.

A better way might be to check whether the environment variable %OSPL_HOME% is set. This variable is typically added to the environment by the OpenSplice installer; it points to its installation directory.

This answer is based on previous experience with the product. I do not have access to any current version, so the installation process might have changed.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top