دستورهایی برای نصب Webstarted Screen Capture بدون پنجره و پرسش، حذف دوباره آن و تشخیص آن در ابزارهای توزیع نرمافزار. هر دستور فقط وقتی نمایش داده میشود که قطعی باشد: از مانیفست یا از پیشفرض مستند فناوری نصبکننده.
آموزش مرتبط: سوییچهای نصب بیصدا: MSI، NSIS و Inno Setup · حذف برنامه با رجیستری یا PowerShell در ویندوز
با winget
PowerShell
winget install --id Webstarted.ScreenCapture -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Webstarted.ScreenCapture -e --silentwinget uninstall --id Webstarted.ScreenCapture -e --silentبر اساس نصبکننده
۶۴ بیتی · EXE (NSIS) · کاربر فعلی
نصب بیصدا
WebstartedScreenCapture-windows-setup.exe /Sپوشه دلخواه
WebstartedScreenCapture-windows-setup.exe /S /D=C:\Apps\webstarted-screen-capture- کلید حذف در رجیستری
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Webstarted Screen Capture
PowerShell: دانلود، بررسی، نصب
فایل رسمی را دانلود میکند، هش SHA256 آن را بررسی میکند و آن را بیصدا نصب میکند.
install-webstarted-screen-capture.ps1
$url = 'https://github.com/webstarted/webstarted-screen-capture-builds/releases/download/v1.11.8/WebstartedScreenCapture-windows-setup.exe'
$sha256 = 'BC4EAAA22E547BA1523BA1D65F5BA927D118072F4BEFE76465F130F88364E6FA'
$file = Join-Path $env:TEMP 'WebstartedScreenCapture-windows-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