ffs unattended installation

Discuss new features and functions
Posts: 39
Joined: 29 Jan 2018

acg

Linux Install:
sudo ./FreeFileSync_11.18_Install.run --accept-license
but the installation stops and i have to press ENTER to continue with the default parameters
1. Install for all users:    YES (requires root password)
2. Installation directory:   /opt/FreeFileSync
3. Create desktop shortcuts: NO
_____________________________
Press a number [1-3] to change settings,
ENTER to begin installation:
Is there an option for this part and accept the default parameters of the installation on Linux? Thanks

PD: I didn't find anything about linux in the documentation
Posts: 309
Joined: 7 Jan 2018

bgstack15

If you cannot find anything in the documentation about that, you could use the program "expect" to script interacting with this install script. I haven't used expect in quite a while so cannot give you a specific example, but it would basically look for the line of text that represents the question "ENTER to begin installation:" and then it could "type in" the number 3. Or whatever your choices are.
Posts: 39
Joined: 29 Jan 2018

acg

If you cannot find anything in the documentation about that, you could use the program "expect" to script interacting with this install script. I haven't used expect in quite a while so cannot give you a specific example, but it would basically look for the line of text that represents the question "ENTER to begin installation:" and then it could "type in" the number 3. Or whatever your choices are. bgstack15, 19 Mar 2022, 23:47
that's exactly why I'm asking the question, to avoid using the expect command, which is what I currently do
Posts: 2
Joined: 21 Mar 2023

h___m

There are more options. This command installs without interrupt:
FreeFileSync_12.1_Install.run --accept-license --for-all-users true --create-shortcuts false --skip-overview
You can find this with
less /opt/FreeFileSync/FreeFileSync_12.1_Install.run
in a terminal. Accept with y and search for "--accept-license" by entering /--accept-license .