From: Curt Hibbs Date: 2004-07-03T08:23:42+09:00 Subject: Re: Registry Entries [was [ANN] Ruby Installer for Windows 1.8.2-14 Release Candidate] Lothar Scholz wrote: > > Hello Curt, > > CH> This is fine with me. When there are multiple versions > installed, there also > CH> needs to be a pointer to the default installation (the one > that is on the > CH> path). wxRuby currently uses this to decide where to install itself. > > CH> Is there anyone out there (other than wxRuby) that is using > the current > CH> registry schema? > > CH> How's this look (as an example relative to > CH> "HKEY_LOCAL_MACHINE\SOFTWARE"): > > CH> Ruby\RubyCore\default = "182-14" > CH> Ruby\RubyCore\182-14\InstallPath = "c:\ruby" > CH> Ruby\RubyCore\182-14\InstallDate = "June 30, 2004" > CH> Ruby\RubyCore\182-14\Version = "1.8.2" > CH> Ruby\RubyCore\182-14\Help\Main Ruby Documentation = > CH> "c:\ruby\ProgrammingRuby.chm" > > I vote against it because it assumes that your installer is the only > one in the windows world. For example in the first month i shipped my > own ruby distribution with my IDE and maybe i will do this later again > when i target people at "download.com" or "winfiles.com" to try > another programming language. While the core should be the same, the > "site-lib" directory tree could be different. > > So whats about: > > Ruby\RubyCore\default = "1.8.2" > Ruby\RubyCore\1.8.2\default = "1.8.2\14pp" > Ruby\RubyCore\1.8.2\pp14\InstallPath = "c:\ruby" > Ruby\RubyCore\1.8.2\pp14\InstallDate = "June 30, 2004" > Ruby\RubyCore\1.8.2\pp14\Help\Main Ruby Documentation = > "c:\ruby\ProgrammingRuby.chm" > > "pp14" is a shortcut for "pragmatic programmers" or however you want > call it, maybe only 14 because this is the installer for the masses. > > You see the problem in the python world where there is the > www.python.org installer and then there exists also a few > "scientific" pythons and of course the one from ActiveState. > > Think that my solution is a little bit more flexible, and its only a > few lines more for persons who use it/write it. This sounds reasonable to me, and it doesn't look like anyone else (besides me in wxRuby) is using these registry entries, so I don't have to worry about breaking things for anyone else. Curt