Firebird SQL Version Detection (Win)

Summary
Detection of installed version of Firebird SQL on Windows. The script logs in via smb, searches for Firebird SQL in the registry and gets the version from 'DisplayVersion' string in registry.
Detection
registry version check