WiX Heat.exe Win64 Components - Win64=“yes”

前端 未结 4 1825
独厮守ぢ
独厮守ぢ 2020-12-14 20:14

I\'m building an installer at the moment that targets just 64bit machines. Part of the process involves running Heat.exe to produce a Fragment ele

4条回答
  •  执笔经年
    2020-12-14 21:11

    Here would be the XSLT-file. Save it as e.g. HeatTransform.xslt:

    
    
    
      
    
      
        
          
          
          
          
        
      
    
      
      
    
        
          
            
            yes
    
            
            
        
    
      
    
      
        
          
        
      
    
    
    

    Then, in your heat-commandline add the parameter -t \HeatTransform.xslt. This will add the Win64-attribute to every component. Additionally I have Platform='x64'-attribute in my WiX source file(s) and add the -arch x64-parameter to the invocation of candle, as you already described in your question.

提交回复
热议问题