K
king kikapu
Hi, i have the following scenario and i am struggled to fidn a
solution.
I have made an app that i want to distribute with ClickOnce. That app
enables the use to change some settings and these settings are saved
in a file. The app when loads, it loads that .xml file and updates
some data structures in the program so the use has back his personal
settings.
If the program does not find this file, it initializes these
structures with some default values and thus, i do not distribute
initialy any file with my app.
So i publish my app to a software repository and users happily get it.
They run it for the first time, program see that settings file does
not exist and does what i said above.
But at next update that i make, i figured out that ClickOnce makes
another directory in C:\Documents and Settings\..., copies the files
form the repository and hence, no settings file again!
So program starts and user settings are lost!
Has anybody an idea how i can overcome this ?? I have seen several
problems with ClickOnce and i am sceptical about using it or i roll-up
my own (more simpler of cource) distrib. solution.
Thanks for any help!
solution.
I have made an app that i want to distribute with ClickOnce. That app
enables the use to change some settings and these settings are saved
in a file. The app when loads, it loads that .xml file and updates
some data structures in the program so the use has back his personal
settings.
If the program does not find this file, it initializes these
structures with some default values and thus, i do not distribute
initialy any file with my app.
So i publish my app to a software repository and users happily get it.
They run it for the first time, program see that settings file does
not exist and does what i said above.
But at next update that i make, i figured out that ClickOnce makes
another directory in C:\Documents and Settings\..., copies the files
form the repository and hence, no settings file again!
So program starts and user settings are lost!
Has anybody an idea how i can overcome this ?? I have seen several
problems with ClickOnce and i am sceptical about using it or i roll-up
my own (more simpler of cource) distrib. solution.
Thanks for any help!