W

X

Monday, June 14, 2010

User Defined Product File

The next beta release of Weather Message will add a user defined Product file.  In the current release, users that want to change the descriptions of products manually change Product.dat.  If they have user defined products, they update this file with their specific information.

The Weather Message Program Update installer asks the user if they want to install a revised Product.dat.  If this question is answered Yes, the installer overwrites the user's Product.dat.  In most cases that is not a problem.  For those users that are manually maintaining their Product.dat, it is a big problem.  The user can always restore the Product.dat file from the backup folder.  They however will not get the updated product file.

In the next beta, users that want to modify the product.dat file should update ProductUser.dat instead.  All additions and changes will be added or overwrite those in Product.dat.  This will allow users to easily add and change products without losing the ability to receive an updated Product.dat file.

This capability will allow me to easily define user specific products for the siren controller application.  I will not have to worry that the next update will wipe out my settings.

Thanks for the suggestion Todd.

No comments: