Alternative installer for Freenet using Inno Setup further to Issue 5456#c9883.
See:
--
- Download InnoSetup from http://www.jrsoftware.org/download.php/is-unicode.exe (see http://www.jrsoftware.org/isdl.php)
- Download AutoHotkey104805.zip from http://ahkscript.org/download/1.0/
- Extract AutoHotkey104805.zip and copy the content of the folder "Compiler" into \tools\ahk\Compiler
- Install InnoSetup : wine is-unicode.exe /SILENT
- Build AHK binaries (folder AutoHotKey_files) : wine cmd /c build_AHK_binaries.cmd
- Build the Setup : wine "C:\Program Files (x86)\Inno Setup 5\ISCC.exe" "FreenetInstall_InnoSetup.iss"
- See Output folder
- Install InnoSetup
- Build AHK binaries (folder AutoHotKey_files) : build_AHK_binaries.cmd
- Build the Setup : ISCC.exe "FreenetInstall_InnoSetup.iss"
- See Output folder
- Freenet files updated with Freenet 0.7.5 build 1459
- Freenet files updated with Freenet 0.7.5 build 1455
- Freenet files updated with Freenet 0.7.5 build 1451
- Freenet files updated with the build 1449
- Port availability is handled by a dll (only way to do complex operations) (ref)
- Preset of wrapper.java.maxmemory (via the dll too) (ref)
- Correction typo (ref)
- Added, more verbose error message if launching of jre-online-installer.exe fails (ref)
- Added, additional options : Start Freenet on Windows startup
- Added, text when Java is successfully installed
- Modified, use SaveStringsToUTF8File to write freenet.ini instead of SaveStringToFile
(freenet.ini must be in UTF8 not in ANSI !)
limitations:
- Doesn't check port availability (ref)
- Doesn't set wrapper.java.maxmemory (ref)
- No translations of the custom Java page and other custom texts (but can always be manually imported from current installer translations)
- maybe I forget other ?