Matthew Toseland skrev:
> Zero3 has been working on a simple, fast windows-specific installer using 
> AutoHotKey. AHK is GPL, runs well under Wine according to winehq, and has a 
> command-line compiler. Wine can be built without the X libraries and does not 
> need root privelidges. So this can be done under a single restricted user. 
> However, if we go for the full bundle approach, we would need to trigger a 
> rebuild of the windows installer after successfully deploying a new stable 
> jar. This does NOT necessarily mean running it under the user that builds the 
> main jars: a simple protocol involving creating files and waiting for inotify 
> will probably suffice (something similar happens already with the jars and 
> the website).
>
> First, are there any unresolvable security issues? And do they specifically 
> relate to bundling?
>
> Second, is this a good idea in any case?
>
> Advantages:
> - Probably a smaller download.
> - Can transparently  auto-download Java if needed (unless proxy settings are 
> required, in which case Freenet itself probably won't work).
> - Much more control over the install process, so we can have far fewer steps 
> where the user has to click "Next", especially if we go for a 
> bundle-installer.
>   

Basically, just one step (check settings and click "Install"). Mockup: 
http://privat.zero3.dk/FreenetInstaller_Snapshot2.png (Note: The daemon 
question should be replaced by a note about the daemon being installed 
instead, as per toad's other mail)

> - Since we're moving all the config into the post-install wizard, there 
> should 
> be very little maintenance required.
>
> Disadvantages:
> - Have to do some work on emu.
> - Very few of the developers run Windows, or are familiar with AHK, so if we 
> DO need to change this, it will be a little problematic.
>   
I will be away February-May for military service. I do get free time 
(that's what they say at least :P), but I don't know how much time I 
will have to do Freenet stuff during those periods. I'd argue that most 
coders can figure out how AHK works quite easily though. There are a 
bunch of examples on the AHK site (e.g. 
http://www.autohotkey.com/docs/scripts/VolumeOSD.htm) if anyone is 
interested.

- Zero3

Reply via email to