How do I add my application in the Default Programs list of Windows Vista/7?

前端 未结 4 546
夕颜
夕颜 2020-12-30 10:13

So many programs feature a list of possible extensions and protocols under the \"Default Programs\" control panel applet. \"Set Default PRograms\", more precisely. (Vista &a

4条回答
  •  没有蜡笔的小新
    2020-12-30 11:01

    Your'e going to do this as part of the installation process for your application. If you're using WIX, you can configure following the answer in this question:

    If you do want to do this through code, check out the following article. It is written using VB.Net, but the code is rather simple and can be easily translated to C#.

提交回复
热议问题