w0pr / blizztv

Automatically exported from code.google.com/p/blizztv
0 stars 0 forks source link

Allow automatic enabling of plugin on first installation (or betterwhen there is no settings file found) so we can stop pushing a defined settings file with releases #82

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Allow automatic enabling of plugin on first installation (or betterwhen there 
is no settings file found) so we can stop pushing a defined settings file with 
releases.

This will also make let the updated versions preserve existing settins of the 
user. Not sure if this will work as serilization may prevent us to read old 
settings file when the new program version has an updated setting class 
structure.

Original issue reported on code.google.com by shalafir...@gmail.com on 26 Nov 2010 at 9:19

GoogleCodeExporter commented 9 years ago
Or maybe we should start saving settings in config files?

Original comment by shalafir...@gmail.com on 26 Nov 2010 at 10:32

GoogleCodeExporter commented 9 years ago
Settings.Upgrade():

http://msdn.microsoft.com/en-us/library/system.configuration.applicationsettings
base.upgrade.aspx

http://blogs.msdn.com/b/rprabhu/archive/2005/06/29/433979.aspx

Original comment by shalafir...@gmail.com on 27 Nov 2010 at 10:32

GoogleCodeExporter commented 9 years ago
.dll.setttings resources;

http://stackoverflow.com/questions/594298/c-dll-config-file
http://stackoverflow.com/questions/154837/app-config-for-dll
http://stackoverflow.com/questions/1208793
http://social.msdn.microsoft.com/Forums/en/csharpide/thread/16cb226b-4e22-454d-b
f2e-61b5a5ad1311

Original comment by shalafir...@gmail.com on 27 Nov 2010 at 1:42

GoogleCodeExporter commented 9 years ago
http://www.codeproject.com/KB/cs/SystemConfiguration.aspx

Original comment by shalafir...@gmail.com on 27 Nov 2010 at 6:12

GoogleCodeExporter commented 9 years ago
.config files for DLL's are very problematic, http://nini.sourceforge.net/ is 
another good alternative.

Original comment by shalafir...@gmail.com on 27 Nov 2010 at 7:21

GoogleCodeExporter commented 9 years ago
Fixed with r147 using the new settings API with nini underlying.

Original comment by shalafir...@gmail.com on 29 Nov 2010 at 11:27