WIX: How to register an Application to a URL Protocol?

Posted by NOP slider on Stack Overflow See other posts from Stack Overflow or by NOP slider
Published on 2011-11-29T01:46:53Z Indexed on 2011/11/29 1:50 UTC
Read the original article Hit count: 182

Filed under:
|
|

In WIX 3.5 you can register file types easily:

<ProgId Id="MyApp.File" Description="MyApp File" Icon="MyAppEXE" IconIndex="0">
  <Extension Id="ext" ContentType="application/x-myapp-file">
    <Verb Id="open" Command="&amp;Open" TargetFile="MyAppEXE" Argument="&quot;%1&quot;"/>
  </Extension>
</ProgId>

What if I want to register an URL protocol, as specified here? Obviously, it has no extension so where would I put the Verb tag? Or should I use another approach?

Thanks.

© Stack Overflow or respective owner

Related posts about url

Related posts about wix