Passing build parameters to .wxs file to dynamically build wix installers

后端 未结 3 2116
臣服心动
臣服心动 2021-02-13 21:52

I am a student developer and I have built several installers for the company I am working with now. So I am fairly familiar with WIX. We recently decided to have a Build server

3条回答
  •  隐瞒了意图╮
    2021-02-13 22:15

    As already answered, you need to pass the variables into WiX. We use Nant instead of MSBuild, but the concept remains the same.

    Here's a Nant example passing in half a dozen variables to candle (it's not the cleanest example, but is lifted verbatim from a project I worked on)

    
        
            
            
            
            
            
            
            
        
    
        
            
            
        
    
    
    
    
    
    
    
    
    
        
        
    
        
        
        
        
        
        
        
            
        
    
    

提交回复
热议问题