views:

19

answers:

0

I have the following situation: - Need to check manually for updates (Can not use clickOne i suppose) for several of our applications. So i need a master application which can launch for example 5 applications. This master application can check for updates of his child applications. So what i did is empty the folder with the old application files and finally copy the files for the newest version to the path of the application. Everything works as expected (the application is updated) but now i stumbled upon the fact that we also need to keep the user settings. I know how i can get to the path of the user settings manually by navigating to the correct folder, but i can not manage to get the user settings of the older version by code.

I've already tried this: - Read the old application (before the update) with reflection and try to retrieve the user settings path. => I could not find the code to do this

Can anyone get me on the right track for solving this problem?