开发者

Select configfile during installation

Is it possible to add a custom buildaction which allows the user to select the wanted configfilesettings during installation?

My issue is that I have a large configfile (and logfile) which currently inc开发者_StackOverflowludes settings for developmentmachines, testenvironments, stagingenvironments and production. I would like the installer to ask me (for example through a dropdownlist) which environment I want to install for and then select the correct settings.

I have previously used TT-files to generate multiple files specified for different environment from a "master config file" with all settings defined, so this would work. The problem then is that I get multiple configfiles as output and then have to rename the correct one back to the "real configfiles name" (for exampe from web.config.prod back to web.config) and then delete all the others..

If anyone have some good pointers or resources on this I would really appriciate it!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜