i think it puts it in when you run mirc rather than when its installed, but i assume you have done this also
So i suggest this go to where it should be and check the permissions on the structure, if there ok try adding a key manually, can you?
If its not that, you dont have another process running thats changing it do you? like how some processes sit there and keep retaking file types when you change them.