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.
This commit is contained in:
2026-03-24 18:56:52 +01:00
parent 5003a2f0f7
commit 3aca2ca55a

View File

@@ -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}"))?;