"Robert" == Robert O'Connor <[EMAIL PROTECTED]> writes: >> Robert> Is a subfolder called >> 'C:\<Programs>\Plucker\plucker-desktop' okay? >> Robert> Easiest to code/maintain if there is as few forks as >> possible with the >> Robert> Linux/Mac versions. >> >> Yes, it seams OK. But why not the root of the PluckerHome >> "C:\<Programs>\Plucker\"? IMHO there are the best place.
Robert> Just using /Plucker/plucker-desktop/ so all the files and Robert> components for the plucker-desktop are contained in a single Robert> directory that is kept separate from other aspects like Robert> /Plucker/viewer. OK, fine with me. Robert> Agree that there should be something clickable in the /Plucker Robert> folder so people know what they click on to do things if they Robert> are looking in the root directory for stuff to do...Perhaps a We that why there are Start menu Shortcuts, no need to Browse the Folder :-) Robert> shortcut(Win) and alias (Mac)in the root Plucker directory Robert> that points to the plucker-desktop executable? Or, And as i just found out. Create an Registry Entry like: ---------- REGEDIT4 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\plucker-desktop.exe] "Path"="C:\\Programme\\Plucker" @="C:\\Programme\\Plucker\\plucker-desktop.exe" -------- And you could type also plucker-desktop<ENTER> somewhere in the command line. :-) Robert> technically, the executable should be written so that it can Robert> find things anywhere on the system and not just relying on Robert> relative paths--Can do this by using your Plucker Team Agreed. Robert> registry key of where Plucker is installed, and then using That why i create the "Path" Key. (HINT: Do not expect that the "\" are always there) BTW: About your ToDo comment about "Were to search plucker-build". Read the Plucker Home path from registry and call <PluckerHome>\plucker-build.exe (Do not expect that there an plucker-build in the Win Directory) Robert> that to get the filepath locations of resources, channel Robert> folder, etc. This finding of paths have already been pulled Robert> out into a get_plucker_directory( RESOURCES ) or Robert> get_plucker_directory( CHANNELS ) function throughout the Robert> code, to be used for such a purpose. BTW: The install are currently designed for an Single user system. So the user need have full read/write access to the Plucker folder. With the more modern Windows Systems in mind its really time do rewrite this to use an common Program Files Folder for the static (all user) Program Files an an user Based Folder for the User ini and the Data. I will going to change the installer to go in this way in the future. So its maybe also a good idea if plucker-desktop read the location of the "channels" folder also from the registry. I suggest a key called "ChannelPath". Robert> The folders for individual channels should probably certainly off root as Robert> the /Plucker/channels/..., since probalby these would be a shared resource Robert> used by other applications that want to interface with Plucker. Yes, again the Registry key. >> Robert> Probably easier if all rolled into one installer. What are your >> Robert> considerations? >> >> Yes, IMHO it should be included there. Robert> Just as a mention here, I must say I tried out your installer last month Robert> when I was upgrading to PIL, and the installer sure looks slick. Very nicely Robert> done! But still need some work (to cover the selection of all languages for the viewer for example) :-) >> >> > BTW: Is it allowed to redistribute the cygwin1.dll alone? IIRC i have >> >> read something about this DLL long time ago, but i'm not sure? Robert> That said, the source of plucker-desktop is 58k zipped if it does need to be Robert> included in distributions. Sound OK. >> It seams not a good idea to use the Channel name the user enter as the >> section name for the plucker.ini. Because if the user for example call >> the channel "Default" you overwrite the Default section. Whats about >> the idea to add the string "CHANNEL-" in front of the Section Name, so >> the Channel Named "News" will be Stored in "CHANNEL-News"? Robert> This seems like an excellent idea. Robert> Will still allow power-users to call their channel sections whatever they Robert> want and they will be read as a channel as long as there is a starting page Robert> key. However, will implement this new idea, so that new channels are Robert> prefixed CHANNEL-. This adds no overhead, since already have to reformat the Robert> channel name to section name to get rid of illegal characters to create a Robert> subdirectory name that works on all platforms. And IMHO also only read this Section that Start with CHANNEL- cu, Dirk -- Permanent URLs to the latest Version (1.1.13) of the Plucker Windows installer - For the Webpage: http://www.dirk-heiser.de/plucker - Direct Download: http://www.dirk-heiser.de/plucker/plucker.exe [2.08MB]
