دستورهایی برای نصب Map Windower بدون پنجره و پرسش، حذف دوباره آن و تشخیص آن در ابزارهای توزیع نرمافزار. هر دستور فقط وقتی نمایش داده میشود که قطعی باشد: از مانیفست یا از پیشفرض مستند فناوری نصبکننده.
آموزش مرتبط: سوییچهای نصب بیصدا: MSI، NSIS و Inno Setup · حذف برنامه با رجیستری یا PowerShell در ویندوز
با winget
PowerShell
winget install --id BenBurwood.MapWindower -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id BenBurwood.MapWindower -e --silentwinget uninstall --id BenBurwood.MapWindower -e --silentبر اساس نصبکننده
۶۴ بیتی · EXE (NSIS) · en-US
نصب بیصدا
map-windower_0.1.7_x64-setup.exe /Sپوشه دلخواه
map-windower_0.1.7_x64-setup.exe /S /D=C:\Apps\map-windowerPowerShell: دانلود، بررسی، نصب
فایل رسمی را دانلود میکند، هش SHA256 آن را بررسی میکند و آن را بیصدا نصب میکند.
install-map-windower.ps1
$url = 'https://github.com/ben-burwood/window/releases/download/0.1.7/map-windower_0.1.7_x64-setup.exe'
$sha256 = '3CFC75012914B66775F62BE0060080C65BC0CEB21B290581C0D4BD28CBCE7076'
$file = Join-Path $env:TEMP 'map-windower_0.1.7_x64-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