WiX Installer: using xslt with heat.exe to update attributes

后端 未结 3 1755
星月不相逢
星月不相逢 2020-12-06 01:57

I am trying to create a WiX installer for a Windows service, and I have read that I need to set the KeyPath to “no” for all my files, with the exception of the .exe in my Wi

3条回答
  •  醉话见心
    2020-12-06 02:25

    You have two different defined namespaces:

    1. In XML: http://schemas.microsoft.com/wix/2006/wi
    2. In XSLT: http://schemas.microsoft.com/wix/2006/wix

    As far as I know, correct namespace for WiX is http://schemas.microsoft.com/wix/2006/wi. So you should change your XSLT.

    XSLT:

    
    
        
    
        
    
        
            
                
            
        
    
        
            
                
                
                    no
                
            
        
    
    

    Input XML:

    
        
            
                
                    
                
                
                    
                
                
                    
                
                
                    
                
            
        
    
    

    Output XML:

    
      
        
          
            
          
          
            
          
          
            
          
          
            
          
        
      
    
    

提交回复
热议问题