Install features based on checkboxes

前端 未结 3 1175
遇见更好的自我
遇见更好的自我 2020-12-06 06:44

I am trying to make it so that when the user selects something via check box, a corresponding feature will be installed.

I am aware of the prebuilt feature tree that

3条回答
  •  抹茶落季
    2020-12-06 07:30

    This is my sample code for installing features

    Product.wxs

    
    
    
        
    
        
    
    
    
    
    
    
    
    
    
    
    
    
      
    
    
    
    
        
            
                
    
          
            
    
            
              
            
    
          
    
                
            
        
    
    
    
        
      
      
      
        
      
      
        
      
      
        
      
    
    
    
    
    
      
        
      
    
      
        
      
    
      
        
      
    
      
        
      
    
    
    
    
    
    
      
    
    
    

    UserInterface.wxs

    
    
      
      
    
      
      
      
    
      
    
      
      
      
      
      
      
      
    
    
    
    
      
    
      1
    
      1
      1
      1
      1
      1
    
    
    
      1
    
    
    
    

    This will give you a basic installer that installs base on the selected features checkbox UI

提交回复
热议问题