How can I set an icon for an asscociated file using WiX?

前端 未结 4 2072
离开以前
离开以前 2021-01-12 14:24

My application install file is being generated using WiX. In the WiX configuration I am associating a file type that works with the application. How can I associate an icon

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-12 14:34

    Please note that Dracos answer is not suffiecent for a complete icon/file association.

    The following code:

    This is how I did it. I declared:

     
    
              
                
              
    
    

    Is only registering a file/icon association for the dialouges created by the application which is installed by the given wix-project. To get an icon that is shown overall for all the dialogues, desktop etc. in windows you also need to register your icon for a specific filetype (extension) in regedit.

提交回复
热议问题