When adding an icon to a file type association in the Windows registry, the subkey is opened with read-only access. This leads to a permission error when trying to add the icon. This was not caught by tests because the data file did not have the icon key set.
Opening the subkey with KEY_SET_VALUE correctly adds the icon file.
Closes #191.
Checklist - did you ...
[X] Add a file to the news directory (using the template) for the next release's release notes?
Description
When adding an icon to a file type association in the Windows registry, the subkey is opened with read-only access. This leads to a permission error when trying to add the icon. This was not caught by tests because the data file did not have the
icon
key set.Opening the subkey with
KEY_SET_VALUE
correctly adds the icon file.Closes #191.
Checklist - did you ...
news
directory (using the template) for the next release's release notes?