feat: add automated WireGuard runtime installation for Windows desktop client with bundled MSI installer

Add install-runtime command to tunnel-helper for automated WireGuard installation on Windows. Download and bundle official WireGuard MSI during build process with automatic version discovery from wireguard.com.

Add ensure_windows_runtime_installed checks before connect/disconnect operations. Implement install_windows_runtime with UAC elevation prompt and install_windows_runtime_direct for MS
This commit is contained in:
2026-03-24 18:35:19 +01:00
parent 3f7e830761
commit 5003a2f0f7
4 changed files with 144 additions and 1 deletions

View File

@@ -6,6 +6,7 @@
!macroend
!macro NSIS_HOOK_POSTINSTALL
nsExec::ExecToLog '"$INSTDIR\bundled\windows-x64\nexavpn-tunnel-helper.exe" install-runtime'
nsExec::ExecToLog '"$INSTDIR\bundled\windows-x64\nexavpn-tunnel-helper.exe" install-service'
!macroend