Parancsok a LeafView program kérdések nélküli telepítéséhez, eltávolításához és telepítőeszközökből való észleléséhez. Csak biztos parancs jelenik meg: a manifestből vagy a telepítőtechnológia dokumentált alapértelmezéséből.
Kapcsolódó útmutató: Csendes telepítési kapcsolók: MSI, NSIS, Inno Setup · Program eltávolítása beállításjegyzékből, PowerShellből
winget használatával
PowerShell
winget install --id sprout2000.LeafView -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id sprout2000.LeafView -e --silentwinget uninstall --id sprout2000.LeafView -e --silentTelepítőnként
64 bites · EXE (NSIS) · Csak az aktuális felhasználó · en-US
Csendes telepítés
LeafView-4.5.5-win32-x64-installer.exe /SEgyéni mappa
LeafView-4.5.5-win32-x64-installer.exe /S /D=C:\Apps\leafviewEltávolítás
msiexec /x {8A6068BC-6694-57D2-9871-8AEDABBB31B1} /qn /norestart- MSI-termékkód
- {8A6068BC-6694-57D2-9871-8AEDABBB31B1}
- Eltávolítási beállításkulcs
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8A6068BC-6694-57D2-9871-8AEDABBB31B1}
64 bites · EXE (NSIS) · Minden felhasználó · en-US
Csendes telepítés
LeafView-4.5.5-win32-x64-installer.exe /SEgyéni mappa
LeafView-4.5.5-win32-x64-installer.exe /S /D=C:\Apps\leafviewEltávolítás
msiexec /x {8A6068BC-6694-57D2-9871-8AEDABBB31B1} /qn /norestart- MSI-termékkód
- {8A6068BC-6694-57D2-9871-8AEDABBB31B1}
- Eltávolítási beállításkulcs
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8A6068BC-6694-57D2-9871-8AEDABBB31B1}
PowerShell: letöltés, ellenőrzés, telepítés
Letölti a hivatalos fájlt, ellenőrzi az SHA256 összegét, majd csendesen telepíti.
install-leafview.ps1
$url = 'https://github.com/sprout2000/leafview/releases/download/v4.5.5/LeafView-4.5.5-win32-x64-installer.exe'
$sha256 = 'CEEBC96797F1F485C04C6EE3D55DEE48090856813BEAC773AE85012D32E37D0D'
$file = Join-Path $env:TEMP 'LeafView-4.5.5-win32-x64-installer.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 install-leafview.ps1
$url = 'https://github.com/sprout2000/leafview/releases/download/v4.5.5/LeafView-4.5.5-win32-x64-installer.exe'
$sha256 = 'CEEBC96797F1F485C04C6EE3D55DEE48090856813BEAC773AE85012D32E37D0D'
$file = Join-Path $env:TEMP 'LeafView-4.5.5-win32-x64-installer.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