Hi Andrew, This would be a great idea for deployments using SCCM or SCCM like tools.
It would be best if the installer had a silent install argument (/silent), and then depending on the outcome of the install would change the exit code of the process. Then you can check the returned exit code from the installer process.
Example codes; 0 - Successful 1 - Known Error 1 2 - Known Error 2 3010 - A reboot is required to complete the install. and so on. Then a /log "c:\path\to\file.log" argument to output the installation log Jonny Proud On 14/05/2021 00:18, Andrew Burkett wrote:
Would it be possible to add an option to wireguard.exe to output the return message for the /install* and /uninstall* commands either to stdout/stderr or a logfile? It would make it a bit easier to script installation/management to not have to worry about a MessageBox popping up with an error. Thanks for the great software. Andrew
