在安装程序中将App.Config设置为自定义操作 [英] Setup App.Config As Custom Action in Setup Project

查看:147
本文介绍了在安装程序中将App.Config设置为自定义操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用简单app.config的自定义应用程序,指定SQL Server名称和数据库,我想提示用户在应用程序安装应用程序配置项目,然后更新app.config文件。

I have a custom application with a simple app.config specifying SQL Server name and Database, I want to prompt the user on application install for application configuration items and then update the app.config file.

我承认我完全是设计项目的新手,正在寻找一些指导。
谢谢
Mark Koops

I admit I'm totally new to setup projects and am looking for some guidance. Thank You Mark Koops

推荐答案

我在64位链接到的代码Gulzar有问题机。我发现以下链接是将配置文件的值从app.config中获取的简单解决方案。

I had problems with the code Gulzar linked to on a 64 bit machine. I found the link below to be a simple solution to getting values from the config ui into the app.config.

http://raquila.com/software/configure-app-config-application-settings-during-msi-安装/

这篇关于在安装程序中将App.Config设置为自定义操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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