TeamWild
TeamWild

Reputation: 2550

Set app.config parameters from a Visual Studio 2008 Setup project

I have a WinForms application that uses a config file to specify where it's external files will be created.

Is it possible to use the installer to question the user where the files should be located and add this value to the config file?

It would also be good if I could confirm that the user has entered a valid path but that's just a "Nice-to-have" at the moment.

Upvotes: 3

Views: 2965

Answers (1)

TeamWild
TeamWild

Reputation: 2550

Following the helpful hints from Pete, I was able to find this blog that does exactly what I need.

There are a few Gotchas to watch out for and I've covered them here but these may be Visual Studio 2008 specific issues.

Upvotes: 2

Related Questions