Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Jonny Proud <jonny@lemonjuice.tk>
To: Andrew Burkett <burkett.andrew@gmail.com>, wireguard@lists.zx2c4.com
Subject: Re: wireguard.exe no MessageBox option?
Date: Fri, 14 May 2021 16:15:58 +0100	[thread overview]
Message-ID: <8aa62767-1d62-29ca-cc1a-d5bb9511e7bf@lemonjuice.tk> (raw)
In-Reply-To: <CAONL4-+8aiE3tKUn04rp8Zjc=j8vRO56OxLk5k0MoE5aqtURbA@mail.gmail.com>

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
> 

  reply	other threads:[~2021-05-14 16:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-13 23:18 Andrew Burkett
2021-05-14 15:15 ` Jonny Proud [this message]
2021-05-17 15:07 ` Jason A. Donenfeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8aa62767-1d62-29ca-cc1a-d5bb9511e7bf@lemonjuice.tk \
    --to=jonny@lemonjuice.tk \
    --cc=burkett.andrew@gmail.com \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).