Befehle, um ownCloud 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 ownCloud.ownCloudDesktop -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ownCloud.ownCloudDesktop -e --silentwinget uninstall --id ownCloud.ownCloudDesktop -e --silentNach Installer
64-Bit · MSI · Alle Benutzer · en-US
Stille Installation
msiexec /i ownCloud-6.0.3.18040.x64.msi /qn /norestartProtokoll schreiben
msiexec /i ownCloud-6.0.3.18040.x64.msi /qn /norestart /l*v "%TEMP%\owncloud-install.log"Deinstallation
msiexec /x {1D382CF5-AF11-4E42-A85B-7504BD2D3240} /qn /norestart- MSI-Produktcode
- {1D382CF5-AF11-4E42-A85B-7504BD2D3240}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1D382CF5-AF11-4E42-A85B-7504BD2D3240}
- UpgradeCode
- {EB15081D-1892-4DB5-872C-9424BFFFF22F}
- Installationsordner
- %ProgramFiles%\ownCloud
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-owncloud.ps1
$url = 'https://download.owncloud.com/desktop/ownCloud/stable/6.0.3.18040/win/ownCloud-6.0.3.18040.x64.msi'
$sha256 = '474D390F144CA91AAB550A9D3E83291690401310432BBDE28F1D1C4F1480FF45'
$file = Join-Path $env:TEMP 'ownCloud-6.0.3.18040.x64.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