Keep settings during upgrade

Got a problem you cannot solve? Try here.
maurosturaro
Posts: 22
Joined: Tue Mar 14, 2006 6:29 am

Keep settings during upgrade

Postby maurosturaro » Mon Apr 16, 2007 11:52 am

I release a new version of my product every 2 month, so users want to launch setup and click next,next,next (I'm adding a Finish button ;-)).

But...
How can I keep the same settings (folders, features, and user input) of the previous version ?
I've start to put each variable in a registry entry at the end of setup script, reading it at the begin.
But it sound a not so nice solution, expecially for the selection of features.
Do you have a better and more Scripting Aware solution ?

Tanks.

neillans
Posts: 536
Joined: Sat Nov 04, 2006 6:21 am
Location: Scottish Borders, UK
Contact:

Postby neillans » Wed Apr 18, 2007 9:18 am

Fraid not - this will have to be something you write specifically for your own product.

Solutions:
- Store in registry
- Store in INI / XML file in your application directory
Andy Neillans

maurosturaro
Posts: 22
Joined: Tue Mar 14, 2006 6:29 am

Postby maurosturaro » Tue Apr 24, 2007 7:02 am

Can't be done in application directory becouse the new setup dosn't know where the previous version was installed.
the only way is register or some fixed folder.

but... :o

4 days after your answer the new version 6.5 has a specific function for this! :wink:
and it works better :D , so I'v discard my work and replaced.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 87 guests