| pblais@odstrategies.org 2007-06-06, 9:56 pm |
| I just updated an app that checks the O/S version and copies the data
tables to the new location. I basically check the O/S then use a CASE
structure to determine where the files belong and if they are where
they are not supposed to be then either they don't exist (program is
being run for the first time) or they need to be moved. Under UAC if
you upgrade a machine to Vista you suddenly can't delete your own
files so you need to copy them to where they belong then you need to
do some tricks to remove the old ones.
You need to deal with user settings, program settings, user data and
application data in the appropriate manner. Each has a place where it
belongs under Vista and it's not in the registry or the program
install directory. I've about given up using INI files as XML is
easier to deal with and handles data types much better. You just load
the whole mess at one time and be done with it.
On 6 Jun 2007 00:33:26 -0400, "Steve Bywaters" <steve@marvyn.com.au>
wrote:
>
>So - what will you do re. installation with your *new* version?
>What will you put 'where'?
---------------------------------------
Paul Blais - Hayes, Virginia
|