How to modify .NET config files during installation?

前端 未结 5 908
有刺的猬
有刺的猬 2020-11-27 03:40

I use the app.config file to store some values (path to a mapping database, data connection selections). These settings differ on the user machines and I would like the inst

5条回答
  •  醉酒成梦
    2020-11-27 04:16

    I've used the WIX toolset to produce an msi. The tool allows you to declaratively specify changes to XML files like app.config during installation. Problem is though there is a significant learning curve. Search sourceforge for wix.

提交回复
热议问题