Override app.config settings embedded into a MSI?
Posted
by Seth Petry-Johnson
on Stack Overflow
See other posts from Stack Overflow
or by Seth Petry-Johnson
Published on 2010-04-30T13:36:44Z
Indexed on
2010/04/30
13:57 UTC
Read the original article
Hit count: 241
I have a .NET solution with an installer project that generates an MSI. One of the projects installed by the MSI contains an App.Config file. It appears that the values of that config file are embedded into the MSI at compile time. Is there a way to override them at runtime?
For instance, the App.Config I'm working with sets the URL of a web service that the installer talks to. Is it possible to override this URL at runtime, so that I don't have to recompile the MSI if the URL changes?
© Stack Overflow or respective owner