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:
@@ -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}"))?;
|
||||
|
||||
Reference in New Issue
Block a user