Forcing an upgrade of a file that is modified during its initial installation

后端 未结 3 1652

I\'m working on the upgrade feature for my WiX-based installer.

As part of the instalation, we are installing a web.config file and then using a custom action to upd

3条回答
  •  离开以前
    2020-11-27 06:22

    Don't use a custom action to update your config file is the other obvious idea. Instead get WIX to do the update via the XML extensions. E.g.

    
        
    
        
    
    

    This is using a [SQLSERVERANDINSTANCE] variable which needs to be setup before hand.

提交回复
热议问题