本文介绍了如何在使用Wix安装程序创建的配置文件中更改连接字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hai, i have created One Setup using Windows installer XML(WIX) (actually using Dark.exe and i have created the Wix source file from .msi file and now given the new paths to all the things) and it is successfully installed in program files. Now After installation i want to change the Connections string of sqlserver in Config file in the program file folder(which is project installed location). i tried that by modifying the Config file connection string in programfiles folder but after saving the running setup .exe it showing error like " the source has been changed you need to restart the installation"(it only takes the connection string path as at the time of installation). i have the requirement to change the Connection string in program file based on the Client location string. what will be the problem for that , is am i have to change any properties to change the connection string(dynamically) after installation. Thnak you
推荐答案
在WIX中,您可以使用元素"util:XMLFile". 此处的更多信息: wix.tramontana.co.hu/tutorial/com-expression -syntax-miscellanea/xml [ ^ ] 希望这会有所帮助, 巴勃罗. In WIX, you can use the element ''util:XMLFile''. More here: wix.tramontana.co.hu/tutorial/com-expression-syntax-miscellanea/xml[^] Hope this helps, Pablo.
更多推荐
如何在使用Wix安装程序创建的配置文件中更改连接字符串
发布评论