https://bugs.winehq.org/show_bug.cgi?id=50094
Bug ID: 50094 Summary: Rockstar Games Launcher installer hyperlinks don't work Product: Wine Version: 5.20 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: bshanks@codeweavers.com Distribution: ---
The Rockstar Games Launcher installer (NSIS-based) contains hyperlinks which do nothing when clicked.
The NSIS script does the following: - fetches the content of HKCU\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice\ProgId - take that value and get the content of HKCR$value\shell\open\command - concatenate the URL after that command, and execute it
Two fixes are needed: one to add the UrlAssociations keys, and one for winebrowser to handle URLs which are missing a scheme (i.e. 'http://')
HKCU\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice\ProgId needs to be set to 'http'. HKCR\http\shell\open\command is already set to '"C:\windows\system32\winebrowser.exe" -nohome'.
With a UrlAssocations key for http added, "C:\windows\system32\winebrowser.exe" www.rockstargames.com/eula is what gets executed. But xdg-open on Linux requires URLs to have a scheme, and fails unless changes are made to winebrowser.