How to associate application with existing file types using WiX installer in a per-user installer?
installation, windows-installer, wix
Solution
I believe this is not really different from the per-Machine case. For downmarker (which is installed per-User) I put this in the component which installs the application executable:
<!-- associate .md file extension with downmarker -->
<ProgId Id="DownMarker" Icon="downmarker.exe"
Description="Markdown Document">
<Extension Id="md" >
<Verb Id="open" Argument=""%1""
TargetFile="downmarker.exe" />
</Extension>
</ProgId>
Or you can look at the full wxs file.
Problem
Related to How to associate application with existing file types using WiX installer? and How to register file types/extensions with a WiX installer?. How I can associate application with existing file types if the installation is per-user? No HKLM key allowed