Ordres per instal·lar CloudDrive2 sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb winget
PowerShell
winget install --id Waytech.CloudDrive2 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Waytech.CloudDrive2 -e --silentwinget uninstall --id Waytech.CloudDrive2 -e --silentPer instal·lador
64 bits · EXE (Inno Setup) · Tots els usuaris
Instal·lació silenciosa
CloudDrive2Setup-X64-1.1.3.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
CloudDrive2Setup-X64-1.1.3.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\clouddrive2"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6A67D75D-B097-4828-B0DA-9257E00ECEF4}_is1
ARM64 · EXE (Inno Setup) · Tots els usuaris
Instal·lació silenciosa
CloudDrive2Setup-Arm64-1.1.3.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
CloudDrive2Setup-Arm64-1.1.3.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\clouddrive2"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6A67D75D-B097-4828-B0DA-9257E00ECEF4}_is1
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-clouddrive2.ps1
$url = 'https://github.com/cloud-fs/cloud-fs.github.io/releases/download/v1.1.3/CloudDrive2Setup-X64-1.1.3.exe'
$sha256 = 'F4B12582D31BC8FDF00F2A2A715F74D1AE3CED65F5D19EFFCEC590ED24DFCE13'
$file = Join-Path $env:TEMP 'CloudDrive2Setup-X64-1.1.3.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-clouddrive2.ps1
$url = 'https://github.com/cloud-fs/cloud-fs.github.io/releases/download/v1.1.3/CloudDrive2Setup-Arm64-1.1.3.exe'
$sha256 = '94CBE920B2411F89969538A5E4C7CA3BE6FA747B22903B3853174484EDB61AD4'
$file = Join-Path $env:TEMP 'CloudDrive2Setup-Arm64-1.1.3.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait