Befehle, um VideoDownloader ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id APPIT.VideoDownloader -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id APPIT.VideoDownloader -e --silentwinget uninstall --id APPIT.VideoDownloader -e --silentNach Installer
64-Bit · MSI · Alle Benutzer · en-US
Stille Installation
msiexec /i VideoDownloader-0.7.3-Setup.msi /qn /norestartProtokoll schreiben
msiexec /i VideoDownloader-0.7.3-Setup.msi /qn /norestart /l*v "%TEMP%\videodownloader-install.log"Deinstallation
msiexec /x {4F6D1252-0DA1-42B8-AD54-10AFAD6857FC} /qn /norestart- MSI-Produktcode
- {4F6D1252-0DA1-42B8-AD54-10AFAD6857FC}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4F6D1252-0DA1-42B8-AD54-10AFAD6857FC}
- UpgradeCode
- {4AA3D2D1-3786-44AE-B9FF-231496767A1F}
- Installationsordner
- %ProgramFiles%/APPIT/VideoDownloader/runtimes
- DisplayVersion
- 0.7.3
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-videodownloader.ps1
$url = 'https://github.com/askowron/VideoDownloader/releases/download/v0.7.3/VideoDownloader-0.7.3-Setup.msi'
$sha256 = '89506A884A573918939A39A60A491668ACD2EEAFA12097F89EE97FA018094DCF'
$file = Join-Path $env:TEMP 'VideoDownloader-0.7.3-Setup.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait