related to this: http://stackoverflow.com/questions/138550/how-to-register-file-types-extensions-with-a-wix-installer but not a duplicate.
I need to handle existing file types (.jpg files).
I do not want to be the default handler for .jpg, I would just like to extend the "Open with" menu with a link to my app.
I see HKCR\.jpg\OpenWithList\
and HKCR\.jpg\OpenWithProgIds\
in the registry but I am not sure whether to write to these and how to do it correctly with WiX. Should I use something like this?
<ProgId Id='??what here?' Description='Jpeg handled by my App'>
<Extension Id='jpg' ContentType='image/jpeg'>
<Verb Id='openwithmyapp' Sequence='10' Command='OpenWithMyApp' Target='[!FileId]' Argument='"%1"' />
</Extension>
</ProgId>
There are many ways how to fail here (like Photo Mechanics did, the HKCR for image file types is a real mess after I have installed this software)
How to do this correctly with WiX?