问题描述
嗨
我必须每隔几个月构建几个C#部署的应用程序才能创建msi安装程序.我可以在Dev Studio.NET或Dev Studio 2005 Professional中执行此操作.
我们经常会发现我用作各种项目的配置文件的某些xml文件存在问题,这些项目中需要更改xml中的一项设置.
目前,我必须重新构建整个项目以仅针对一个xml文件更改重新创建msi.
我想做的是让安装程序在安装过程中检查是否有可用的xml配置文件的更高版本(放置在安装程序CD上的某处),如果有,请覆盖打包在带有更新版本的msi.
这可能吗?
谢谢.
Hi
I have several C# deployed applications that I have to build every few months to create the msi installers. I do this in either Dev Studio.NET or Dev Studio 2005 professional.
Quite often we find problems with some of the xml files I use as config files for various projects where one setting in the xml needs changing.
At present I have to rebuild the whole project to recreate the msi just for one xml file change.
What I''d like to be able to do is have the installer check during install if there is a later version of its xml config file available (placed on the installer CD somwhere) and if so overwrite the one that is packaged up in the msi with the newer version.
Is this possible and how?
Thanks.
推荐答案
这篇关于自定义DevStudio部署项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!