Installshield在创建MSI时动态更改app.config [英] Installshield to change app.config dynamically while creating MSI

查看:83
本文介绍了Installshield在创建MSI时动态更改app.config的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用installshield2009创建msi。与windows msi builder相比,它自动将我的app.config更新为当前目录路径(即程序文件中的路径),installshield保持原始路径不变(即我当前项目位置的路径)我错过了installshield中的任何设置来使这个工作,我假设应该有一些简单的方法使它与installshield一起工作。

I am trying to create msi using installshield2009. As compared to windows msi builder which automatically updates my app.config to current directory path(i.e path inside program files) installshield keeps the original path intact(i.e. path of my current project location) Am i missing out any settings in installshield to make this work,i am assuming there should be some easy way around to make it work with installshield.

推荐答案

如果windows msi builder更新了app.config文件中的值您是否考虑过使用合并模块progect?



如果它没有帮助,还有另一种方法可以更改.config文件中的XML值。

请参考以下链接

http://community.flexerasoftware.com/showthread.php?147500-Dynamic-XMLs-(app-config)/ page3 [ ^ ]
If windows msi builder updates a value in your app.config file have you considered to use merge module progect?

If it won''t help, there is another way to change values in .config files which are XMLs.
Please refer following link
http://community.flexerasoftware.com/showthread.php?147500-Dynamic-XMLs-(app-config)/page3[^]


这篇关于Installshield在创建MSI时动态更改app.config的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆