Command line switch to check for, automatically download, and install new update
|Reported by:||Brian Hart||Owned by:|
|Keywords:||update, silent, scriptable||Cc:|
|Component version:||Operating system type:||Windows|
|Operating system version:||7, SP1, 64-Bit|
As of FileZilla 3.19.0, you can click on the Help menu and then click the Check for Updates command.
I have Windows 7 SP1 x64. I keep all my software installs around and I do not always update the setups for my commonly-used programs, since I know those programs have updaters such as the one available from the Help menu of FileZilla. I keep all the various installs, and when I have to format and reinstall my computer, then I just run lots of batch files. So, I have, say, v3.10.0 of FileZilla as the Setup exe from SourceForge currently. I know that I can run the installer silently, which is a real time saver, that makes it possible to "chain" the install with several others via a batch file (*.bat) script.
It would be nice to get the latest update version via the batch script, too; say, maybe on the next line of the script....first line installs FileZilla silently, and then the next line automatically checks for, downloads, and installs FileZilla to the latest update in the next command line.
My thought is to make it possible to say
and then the program will start, check for updates. If an update is found, do not prompt to click OK, but just passively and automatically download and install the update.
Or, we could do a
command-line parameter to invoke Check for Updates exactly as is from the Help menu, dialog that prompts for OK button click and all, but then add a -silentupdate option (specified by itself) so that the Check for Updates command is run, but if an update is found, the OK button does not have to be clicked, but instead, the update's installer is downloaded and then a silent install is done on it. And the EXE should be waitable when this happens; i.e., I should be able to invoke
and be able to "wait" on the process until the whole process is completed, so that I can script this.