Cannot Save Personal settings
-
We have this program(.exe) on the web where it is being downloaded by people, in the program they set their preferences. It is a program similar to Paint The problem is that when they download a new version of our program and install it, they loose their personal preferences set in the older version. This facility was always working, till we got the new version of the program on the net.( I did it) For the personal settings we have a file Profile.xml where all the settings get saved(in the folder bin\release and bin\Debug. We also have two other files Profile.xml_backup and ProfileInstaller.xml in the same folders which I am not sure what they do. So guys would anyone know what changes do i have to make, and where so that the personal changes save in the new version of the program insatlled
-
We have this program(.exe) on the web where it is being downloaded by people, in the program they set their preferences. It is a program similar to Paint The problem is that when they download a new version of our program and install it, they loose their personal preferences set in the older version. This facility was always working, till we got the new version of the program on the net.( I did it) For the personal settings we have a file Profile.xml where all the settings get saved(in the folder bin\release and bin\Debug. We also have two other files Profile.xml_backup and ProfileInstaller.xml in the same folders which I am not sure what they do. So guys would anyone know what changes do i have to make, and where so that the personal changes save in the new version of the program insatlled
-
I dont think I get you. You wrote this program, but you do not know how it works?
xacc.ide - now with TabsToSpaces support
IronScheme - 1.0 alpha 4a out now (29 May 2008)OK I am sorry for not being very clear. I just made a few changes to the already existing code(Bug fixes) made a new version(exe) and uploaded it on the internet. There is also a class UserProfile.cs which is responsible for the Profile.xml file.(If that helps)
-
We have this program(.exe) on the web where it is being downloaded by people, in the program they set their preferences. It is a program similar to Paint The problem is that when they download a new version of our program and install it, they loose their personal preferences set in the older version. This facility was always working, till we got the new version of the program on the net.( I did it) For the personal settings we have a file Profile.xml where all the settings get saved(in the folder bin\release and bin\Debug. We also have two other files Profile.xml_backup and ProfileInstaller.xml in the same folders which I am not sure what they do. So guys would anyone know what changes do i have to make, and where so that the personal changes save in the new version of the program insatlled
Sounds to me like you download Profile.xml with the new version. Also, why have the debug version available?
humayunlalzad wrote:
This facility was always working, till we got the new version of the program on the net.( I did it)
Did you write it or is it a 3rd party app you are installing?
humayunlalzad wrote:
We also have two other files Profile.xml_backup and ProfileInstaller.xml in the same folders which I am not sure what they do.
Have a look in them and see what they contain - probably some default settings at a guess. Personally I would back up the profile.xml file and restore it after the new version is installed - of course, if it's a 3rd party app it may need some settings in the new file.
Bob Ashfield Consultants Ltd
-
Sounds to me like you download Profile.xml with the new version. Also, why have the debug version available?
humayunlalzad wrote:
This facility was always working, till we got the new version of the program on the net.( I did it)
Did you write it or is it a 3rd party app you are installing?
humayunlalzad wrote:
We also have two other files Profile.xml_backup and ProfileInstaller.xml in the same folders which I am not sure what they do.
Have a look in them and see what they contain - probably some default settings at a guess. Personally I would back up the profile.xml file and restore it after the new version is installed - of course, if it's a 3rd party app it may need some settings in the new file.
Bob Ashfield Consultants Ltd
The code was written in-house, but by the coders before me. We keep upgrading things, debugging the present program and upload. It is not a 3rd party app. So how do you restore the backup of the profile.xml file in the new version thats what I want to know. We are using VS2005 And Thanx for taking the trouble
-
The code was written in-house, but by the coders before me. We keep upgrading things, debugging the present program and upload. It is not a 3rd party app. So how do you restore the backup of the profile.xml file in the new version thats what I want to know. We are using VS2005 And Thanx for taking the trouble
humayunlalzad wrote:
This facility was always working, till we got the new version of the program on the net.( I did it) ...... So guys would anyone know what changes do i have to make, and where so that the personal changes save in the new version of the program insatlled
I sort of assumed you had put the copy of a 3rd party app on the network for others to install, particularly when you asked "So guys would anyone know what changes do i have to make.." As it is written in house and you have the source code why would anyone else know what to change? Just because someone else wrote it is no excuse, I have spent about 90% of my coding life working with other people's code (as have most professional coders), and you just have to work out whats being done. I suggested backing up the profile and restoring it as a work around when I was under the illusion it was a bought in app. I would just do it as part of the install.
Bob Ashfield Consultants Ltd
-
The code was written in-house, but by the coders before me. We keep upgrading things, debugging the present program and upload. It is not a 3rd party app. So how do you restore the backup of the profile.xml file in the new version thats what I want to know. We are using VS2005 And Thanx for taking the trouble
humayunlalzad wrote:
So how do you restore the backup of the profile.xml file in the new version thats what I want to know. We are using VS2005
Learn to read and understand code, or embarrass yourself by asking your boss or manager. Just think for a bit, just HTF must we know how to fix your application??? :doh:
xacc.ide - now with TabsToSpaces support
IronScheme - 1.0 alpha 4a out now (29 May 2008) -
humayunlalzad wrote:
So how do you restore the backup of the profile.xml file in the new version thats what I want to know. We are using VS2005
Learn to read and understand code, or embarrass yourself by asking your boss or manager. Just think for a bit, just HTF must we know how to fix your application??? :doh:
xacc.ide - now with TabsToSpaces support
IronScheme - 1.0 alpha 4a out now (29 May 2008)This is a small start up company and I am student volunteering for this company. The only coder has gone on a vacation of Europe for 15 days and we cant contact him. The boss does not know anything. I know Csharp code but not the installer stuff.
-
This is a small start up company and I am student volunteering for this company. The only coder has gone on a vacation of Europe for 15 days and we cant contact him. The boss does not know anything. I know Csharp code but not the installer stuff.
So how do expect us to know? What you described is a bespoke solution and not something I heard of, so get in touch with the holiday maker, or better, dont make releases till he is back.
xacc.ide - now with TabsToSpaces support
IronScheme - 1.0 alpha 4a out now (29 May 2008)