inf writer: Use HKCU registry path instead of HKLM#40
Conversation
quantum5
left a comment
There was a problem hiding this comment.
The reason it was installed into HKLM is because there are no per-user locations for the cursor files that I am aware of, only %SystemRoot%\Cursors, which is a global thing. So now you end up with a globally installed cursor theme that's available only to one user, and that one user can "uninstall" it but can't delete all the files. I am not sure this is better.
|
Most themes with an install.inf I have seen also install per user, so does ful1e5/clickgen (https://github.com/ful1e5/clickgen/blob/main/src/clickgen/packer/windows.py) I think this is acceptable since virtually all people who would customize their cursor would do so on their own personal computers, which I think it is safe to assume they have only one user, unlike enterprise systems where you wouldn't want to customize much of anything. |
This makes the installed theme uninstallable by the user directly in pointers dialog.
Downstream bug report: Tech-Tac/aosp-cursors#1