Synergy Version Detection (Windows)

Summary
Detection of installed version of Synergy. The script logs in via smb, searches for Synergy in the registry and gets the version from registry.
Detection
registry version check