From 3aca2ca55a8057db7d6585569953dcf1516ce3f2 Mon Sep 17 00:00:00 2001 From: nessi Date: Tue, 24 Mar 2026 18:56:52 +0100 Subject: [PATCH] feat: suppress WireGuard GUI auto-launch after MSI installation on Windows Add DO_NOT_LAUNCH=1 argument to msiexec command to prevent WireGuard application from automatically starting after runtime installation completes. --- desktop-client/tunnel-helper/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/desktop-client/tunnel-helper/src/main.rs b/desktop-client/tunnel-helper/src/main.rs index 3c4712f..03f4370 100644 --- a/desktop-client/tunnel-helper/src/main.rs +++ b/desktop-client/tunnel-helper/src/main.rs @@ -381,6 +381,7 @@ fn install_windows_runtime_direct() -> Result<(), String> { .arg(&installer) .arg("/qn") .arg("/norestart") + .arg("DO_NOT_LAUNCH=1") .creation_flags(CREATE_NO_WINDOW) .status() .map_err(|err| format!("Unable to launch bundled WireGuard MSI: {err}"))?;