WireGuard कोणत्याही प्रॉम्प्टशिवाय इन्स्टॉल करणे, पुन्हा काढणे आणि डिप्लॉयमेंट टूलमधून ओळखणे यासाठीच्या कमांड. एखादी कमांड तेव्हाच दाखवली जाते जेव्हा ती निश्चित असते: मॅनिफेस्टमधून, किंवा इन्स्टॉलर तंत्रज्ञानाच्या दस्तऐवजीकृत डिफॉल्टमधून.
संबंधित मार्गदर्शक: सायलेंट इन्स्टॉल स्विच: MSI, NSIS, Inno Setup · रजिस्ट्री किंवा PowerShell ने प्रोग्राम अनइन्स्टॉल करा
winget ने
PowerShell
winget install --id WireGuard.WireGuard -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id WireGuard.WireGuard -e --silentwinget uninstall --id WireGuard.WireGuard -e --silentइन्स्टॉलरनुसार
64-बिट · MSI · सर्व युजर
सायलेंट इन्स्टॉल
msiexec /i wireguard-amd64-1.1.1.msi /qn /norestartलॉग फाइल लिहा
msiexec /i wireguard-amd64-1.1.1.msi /qn /norestart /l*v "%TEMP%\wireguard-install.log"अनइन्स्टॉल
msiexec /x {5D46ED04-DEA2-47D0-A957-F82C3EF577FE} /qn /norestart- MSI प्रॉडक्ट कोड
- {5D46ED04-DEA2-47D0-A957-F82C3EF577FE}
- अनइन्स्टॉल रजिस्ट्री की
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5D46ED04-DEA2-47D0-A957-F82C3EF577FE}
- UpgradeCode
- {5E5A1DA5-BA36-404D-92EC-41050D1C799C}
ARM64 · MSI · सर्व युजर
सायलेंट इन्स्टॉल
msiexec /i wireguard-arm64-1.1.1.msi /qn /norestartलॉग फाइल लिहा
msiexec /i wireguard-arm64-1.1.1.msi /qn /norestart /l*v "%TEMP%\wireguard-install.log"अनइन्स्टॉल
msiexec /x {6684FF03-3A7A-4365-8C60-DBF9056BAC73} /qn /norestart- MSI प्रॉडक्ट कोड
- {6684FF03-3A7A-4365-8C60-DBF9056BAC73}
- अनइन्स्टॉल रजिस्ट्री की
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6684FF03-3A7A-4365-8C60-DBF9056BAC73}
- UpgradeCode
- {7FF76099-8940-4D3E-99B9-50A3B3CA1EE9}
32-बिट · MSI · सर्व युजर
सायलेंट इन्स्टॉल
msiexec /i wireguard-x86-1.1.1.msi /qn /norestartलॉग फाइल लिहा
msiexec /i wireguard-x86-1.1.1.msi /qn /norestart /l*v "%TEMP%\wireguard-install.log"अनइन्स्टॉल
msiexec /x {3A5B2353-1FC8-4B22-952B-F60C61EB09EE} /qn /norestart- MSI प्रॉडक्ट कोड
- {3A5B2353-1FC8-4B22-952B-F60C61EB09EE}
- अनइन्स्टॉल रजिस्ट्री की
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{3A5B2353-1FC8-4B22-952B-F60C61EB09EE}
- UpgradeCode
- {62754A0A-FEE9-4412-B739-E8DA2E7C9405}
PowerShell: डाउनलोड, तपासणी, इन्स्टॉल
अधिकृत फाइल डाउनलोड करते, तिचा SHA256 तपासते आणि ती सायलेंट मोडमध्ये इन्स्टॉल करते.
install-wireguard.ps1
$url = 'https://download.wireguard.com/windows-client/wireguard-amd64-1.1.1.msi'
$sha256 = '7BFED60AD61B785C914B38B61555A975488E1D3EC472DBFB2FCDF498FCA75242'
$file = Join-Path $env:TEMP 'wireguard-amd64-1.1.1.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-wireguard.ps1
$url = 'https://download.wireguard.com/windows-client/wireguard-arm64-1.1.1.msi'
$sha256 = '8336335C738D4AFF040FA9D11B752DA65A80B6F41D3262D6BA5E82F97EBD1BD4'
$file = Join-Path $env:TEMP 'wireguard-arm64-1.1.1.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-wireguard.ps1
$url = 'https://download.wireguard.com/windows-client/wireguard-x86-1.1.1.msi'
$sha256 = 'E3EC714FBFCE3BA3A416671252E16CD71517A837A7EBD18B8C24B29A441E8724'
$file = Join-Path $env:TEMP 'wireguard-x86-1.1.1.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait