Opened 6 months ago

Closed 6 months ago

Last modified 6 months ago

#2510 closed enhancement (worksforme)

Silent option for console install

Reported by: SGLG Owned by:
Priority: minor Milestone: undecided
Component: unspecified Version: 0.9.40
Keywords: installer Cc:
Parent Tickets: Sensitive: no

Description

I have a project (soon to be many projects technically) that involve fetching the latest I2P installer on first run using bash. The whole process is automated for the end user, except for the I2P install itself. The user has to input options. I've tried a few workarounds in bash but they don't work. It would be very useful is the installer had an option to install silently. Maybe assume 1 on first prompt, empty on second, and 1 on third. Or maybe, even better, would be the option to specify the inputs (or at least the second input) in the command along with -console. This enhancement would allow for scripts to automate the install of I2P without the need of user input.

For the sake of completeness, the projects in question are:
https://github.com/IITFA/i2pgetterlinux
https://github.com/IITFA/i2pbundlelin64 (uses the i2pgetter script)

Subtickets

Change History (1)

comment:1 Changed 6 months ago by zzz

Resolution: worksforme
Status: newclosed

Works as documented at http://zzz.i2p/topics/721

echo 'INSTALL_PATH=/path/to/install/dir' > /tmp/foo
java -jar i2pinstall_0.9.xx.jar -options /tmp/foo
rm -f /tmp/foo

retested on .38, .39, and .40 (izpack 4) and with new izpack 5 installer for .41

Last edited 6 months ago by zzz (previous) (diff)
Note: See TracTickets for help on using tickets.