WiX overwrites config files during setup. How can I avoid this?

前端 未结 5 823
傲寒
傲寒 2020-12-14 01:54

I\'m using WiX to create a windows installer. Unfortunately my installer overwrites a config file on every update. What I really want is, that the installer only creates th

5条回答
  •  萌比男神i
    2020-12-14 02:41

    You can change the default behavior with REINSTALLMODE property. It defaults to "Reinstall if the file is missing or is an older version", which is logically correct, as for me. But you can experiment with other values to find the behavior you need.

    Hope this helps.

提交回复
热议问题