How to use conditions in features in WiX?

前端 未结 2 476
臣服心动
臣服心动 2020-12-29 07:37

I am trying to make simple Windows intaller, and I don\'t know how to deal with this. I have two features - feature1 and feature2. I want feature2 to be installed only if th

2条回答
  •  梦毁少年i
    2020-12-29 08:28

    Have you considered making feature1 the parent of feature2? Then feature2 can't be installed unless feature1 will also be installed. No condition necessary.

    
        
        
        
        
        
        
            
        
    
    

提交回复
热议问题