Skip to content

inf writer: Use HKCU registry path instead of HKLM#40

Open
Tech-Tac wants to merge 1 commit into
quantum5:masterfrom
Tech-Tac:usehkcu
Open

inf writer: Use HKCU registry path instead of HKLM#40
Tech-Tac wants to merge 1 commit into
quantum5:masterfrom
Tech-Tac:usehkcu

Conversation

@Tech-Tac

@Tech-Tac Tech-Tac commented Jul 6, 2026

Copy link
Copy Markdown

This makes the installed theme uninstallable by the user directly in pointers dialog.

Downstream bug report: Tech-Tac/aosp-cursors#1

@quantum5 quantum5 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@Tech-Tac

Tech-Tac commented Jul 8, 2026

Copy link
Copy Markdown
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants