How to register file types/extensions with a WiX installer?

Posted by OregonGhost on Stack Overflow See other posts from Stack Overflow or by OregonGhost
Published on 2008-09-26T09:59:31Z Indexed on 2010/05/11 6:04 UTC
Read the original article Hit count: 325

I didn't find an explicit answer to this question in the WiX Documentation (or Google, for that matter). Of course I could just write the appropriate registry keys in HKCR, but it makes me feel dirty and I'd expect this to be a standard task which should have a nice default solution.

For bonus points, I'd like to know how to make it "safe", i.e. don't overwrite existing registrations for the file type and remove the registration on uninstall only if it has been registered during installation and is unchanged.

© Stack Overflow or respective owner

Related posts about wix

Related posts about wix3