Setup App.Config As Custom Action in Setup Project

Mark Koops picture Mark Koops · Oct 30, 2008 · Viewed 20k times · Source

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.

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

Answer

MarkGr picture MarkGr · Feb 23, 2009

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-install/