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

前端 未结 4 2073
离开以前
离开以前 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:39

    FROM: http://www.tramontana.co.hu/wix/lesson1.php#1.7

    If your application handles its own file data type, you will need to register a file association for it. Put a ProgId inside your component. FileId should refer to the Id attribute of the File element describing the file meant to handle the files of this extension. Note the exclamation mark: it will return the short path of the file instead of the long one:

    
      
        
      
    
    

    To assign an icon to this file type, you have to specify the appropriate registry entries yourself inside your component:

    
    
    
    

提交回复
热议问题