ImageView programını soru sormadan kurmak, kaldırmak ve dağıtım araçlarında algılamak için komutlar. Bir komut yalnızca kesinse gösterilir: manifestteki anahtar ya da kurulum teknolojisinin belgelenmiş varsayılanı.
İlgili rehber: Sessiz kurulum parametreleri: MSI, NSIS, Inno Setup · Kayıt defteri veya PowerShell ile program kaldırma
winget ile
PowerShell
winget install --id TonyPottier.ImageView -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id TonyPottier.ImageView -e --silentwinget uninstall --id TonyPottier.ImageView -e --silentKurulum dosyasına göre
32 bit · EXE (NSIS) · Tüm kullanıcılar · en-US
Sessiz kurulum
ImageView_2.4.6_Setup.exe /SFarklı klasör
ImageView_2.4.6_Setup.exe /S /D=C:\Apps\imageviewPowerShell: indir, doğrula, kur
Resmî dosyayı indirir, SHA256 değerini doğrular ve sessizce kurar.
install-imageview.ps1
$url = 'https://github.com/tonyp7/ImageView/releases/download/v2.4.6/ImageView_2.4.6_Setup.exe'
$sha256 = '7B94D378EBE5F488C8774869DB9974439822BC5D6CE960205A11C56078AA66C7'
$file = Join-Path $env:TEMP 'ImageView_2.4.6_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