7zip Version Detection (Windows)

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