أوامر لتثبيت برنامج pcvisit RemoteHost دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id pcvisit.pcvisitRemoteHost -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id pcvisit.pcvisitRemoteHost -e --silentwinget uninstall --id pcvisit.pcvisitRemoteHost -e --silentحسب المثبّت
32 بت · EXE (NSIS) · جميع المستخدمين
التثبيت الصامت
pcvisit_Remote-Host_Setup.exe /Sمجلد مخصص
pcvisit_Remote-Host_Setup.exe /S /D=C:\Apps\pcvisit-remotehost- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\pcvisit RemoteHost
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-pcvisit-remotehost.ps1
$url = 'https://d1kh5e79chg49w.cloudfront.net/1c90b34109fe7bf81f6cd062cb167620/pcvisit_Remote-Host_Setup.exe'
$sha256 = 'B28E6387233E5D9ECE7F3C4428495E675F3ACC591FCA850CCE4F5A9F2FBF597B'
$file = Join-Path $env:TEMP 'pcvisit_Remote-Host_Setup.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 '/S' -Wait