Closed sentry-io[bot] closed 4 years ago
Looks like
"C:\\WINDOWS\\iun504.exe" "C:\\Program Files (x86)\\Blades of Avernum"
is content of UninstallString that can be found under Blades of Avernum uninstall key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
(to open registry type regedit
in windows menu)
iun504.exe
is univesal uninstaller from SetupFactory and the second path is an argument.
Current code heuristics parses it to find LOCATION of installed game. So in this case C:\\Program Files (x86)\\Blades of Avernum
should be returned by this method:
Proper test should be written as well. Current tests are here: https://github.com/UncleGoogle/galaxy-integration-humblebundle/blob/73ca1decc9d80071423c745ab2944e8b07a4b009/tests/windows/test_reg_watcher.py#L59-L81
New test scenario:
"C:\\WINDOWS\\iun504.exe" "C:\\Program Files (x86)\\Blades of Avernum"
should find C:\\Program Files (x86)\\Blades of Avernum
Sentry Issue: HB-GALAXY-VY