I have an MFC application. The user can check for update, then (if an update is needed) a new executable with a different name is downloaded. I want now to associate documents that the application opens, with the new executable. I found a web site that provides an example how to reset file association:
But though a new entry is added in the registry, nothing changes, and the document is still opened with an old version of the program, and the icon in the Windows Explorer looks like before.
I use Windows XP, but of course I want the program to work also in the higher versions.
Could you please tell what I am missing?