C ++: how to correctly register and unregister file types for our application (programmatically)

The time when you set the file associations to:

HEY_CLASSES_ROOT \ <. Ext>

However, this seems possible, but it is an incomplete solution. There are additional associations in the registry. For instance:

HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ KindMap HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Extensions

And all the above, but HKEY_USERS \

And Microsoft added the Set Default Associations dashboard applet, which controls ... what?

I am looking for technical documentation or discussion:

"As a modern Windows XP-Windows 7 compatible application written in C / C ++, it must register and manage its file associations without interfering with Explorer, user settings or cpl default associations"

EDIT: I'm trying to continue this investigation with a lot of questions here: How to remove ProgID from other user accounts when uninstalling from Windows?

+3
source share
2 answers

Alas, this documentation still seems current, and it's all about the registry: MSDN

Maybe someone created a beautiful wrapper for this? Time to hit Google ...

+2
source

, Microsoft , , , .

: . StackOverflow , .

UAC? ​​

+2

Source: https://habr.com/ru/post/1745317/


All Articles