[quoted text, click to view] "John" <John@nospam.infovis.co.uk> wrote in message
news:OqBB$bZiHHA.5048@TK2MSFTNGP03.phx.gbl...
> Hi
>
> I need to store the path to db in my app. I have used app setting for
> this.
> Unfortunately various clients have different db paths and I have set them
> up
> once on each client location. The problem is that when I send them updates
> and they uninstall the old version and reinstall the new version the
> setting
> is reset to my settings. This is because the old configuration file is
> deleted and replaced by the new one included in the app. Is there a way to
> have a setting that is not overwritten by an application reinstall?
>
Whatever install package you're using doesn't it have an exclude file
feature?
Simply, exclude the configuration file in the install setup so that it
doesn't overlay the existing one on the machine during the install.