views:

60

answers:

2

Hi all,

In short I'm after a setting in a .net installer project that turns off automatic reinstall if the installed files are deleted.

I've built a c#.net application using VS2005. After install on the client machine the user has complained that if they delete a file contained within the installation the reinstaller kicks in. The reinstaller overwrites the application.exe.config file which is frustrating. We're allowing the user to modify this file but a reinstall causes a loss of their customisation.

Regards AndyB

+3  A: 

I think it would be best practice to allow user customisations in a separate user.config file in the user area of the file system. Your app can then check whether the user has overridden the setting from app.config and to use that setting instead.

Sam Meldrum
thanks Sam. I was thinking i'm going about this the wrong way.
A: 

I'd like to be able to do the same - is there no way of disabling the reinstaller?

Ronnie