Thanks! I just checked, and deluge1 doesn't do anything with the GTKUI magnet assoc button if detecting windows, though deluge2 does and also adds said string you posted about. Also, the NSIS install script for building deluge's windows installer, already adds that string too, also in deluge1:Selphea wrote:Seems to be a Windows 10 update changing how URL associations are handled. Chrome Privacy settings and Content Handlers led me on a wild goose chase till I figured out Chrome lets Windows associations handle this now.
On Windows 10 itself, Deluge's "Associate Magnet links with Deluge" button handles most of the work. However, Win10 Fall Creator's seems to have a new requirement now, a URL protocol needs to have a key called "URL Protocol":
1. Open Regedit
2. Go to HKEY_CLASSES_ROOT\Magnet
3. Create a new String called "URL Protocol". Doesn't need to be a value, just needs to be there.
The result should look like this:
Only figured this out through a random guess while looking at other URL Protocol Handlers that work, but it works for me.
Code: Select all
# Create magnet uri association.
Section "Associate Magnet URI links with Deluge" Section3
DeleteRegKey HKCR "Magnet"
WriteRegStr HKCR "Magnet" "" "URL:Magnet Protocol"
WriteRegStr HKCR "Magnet" "URL Protocol" ""
WriteRegStr HKCR "Magnet\shell\open\command" "" '"$INSTDIR\deluge.exe" "%1"'
SectionEnd