أوامر لتثبيت برنامج v2rayA دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام 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 --silentحسب المثبّت
64 بت · EXE (Inno Setup)
التثبيت الصامت
installer_windows_inno_x64_2.5.15.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-مجلد مخصص
installer_windows_inno_x64_2.5.15.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\v2raya"ARM64 · EXE (Inno Setup)
التثبيت الصامت
installer_windows_inno_arm64_2.5.15.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-مجلد مخصص
installer_windows_inno_arm64_2.5.15.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\v2raya"PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-v2raya.ps1
$url = 'https://github.com/v2rayA/v2rayA/releases/download/v2.5.15/installer_windows_inno_x64_2.5.15.exe'
$sha256 = '679B3251152BD5A344B74FCAA8BAF87EC5DD7CBD4BD9FF2376F67B1CFDCE038C'
$file = Join-Path $env:TEMP 'installer_windows_inno_x64_2.5.15.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.15/installer_windows_inno_arm64_2.5.15.exe'
$sha256 = '579FC3F0DEEEC732E63FD9EEA670D01EA1C1217674DE29B966C95E97C17B995B'
$file = Join-Path $env:TEMP 'installer_windows_inno_arm64_2.5.15.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