Befehle, um v2rayA ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id v2rayA.v2rayA -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id v2rayA.v2rayA -e --silentwinget uninstall --id v2rayA.v2rayA -e --silentNach Installer
64-Bit · EXE (Inno Setup)
Stille Installation
installer_windows_inno_x64_2.5.10.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Eigener Ordner
installer_windows_inno_x64_2.5.10.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\v2raya"ARM64 · EXE (Inno Setup)
Stille Installation
installer_windows_inno_arm64_2.5.10.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Eigener Ordner
installer_windows_inno_arm64_2.5.10.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\v2raya"PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-v2raya.ps1
$url = 'https://github.com/v2rayA/v2rayA/releases/download/v2.5.10/installer_windows_inno_x64_2.5.10.exe'
$sha256 = '96E639542E352ED12B09B81ECFB054BBD982BCE662B20B714EB39F537A8AE0AC'
$file = Join-Path $env:TEMP 'installer_windows_inno_x64_2.5.10.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-v2raya.ps1
$url = 'https://github.com/v2rayA/v2rayA/releases/download/v2.5.10/installer_windows_inno_arm64_2.5.10.exe'
$sha256 = '93E441D4DB48591E30335891C6509546672B8C1E78BE5E951CFA8F521903869A'
$file = Join-Path $env:TEMP 'installer_windows_inno_arm64_2.5.10.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait