Ordres per instal·lar WebDrive 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 SouthRiverTechnologies.WebDrive -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SouthRiverTechnologies.WebDrive -e --silentwinget uninstall --id SouthRiverTechnologies.WebDrive -e --silentPer instal·lador
64 bits · EXE (NSIS) · Tots els usuaris
Instal·lació silenciosa
"WebDrive Setup 1.1.18.exe" /SUna altra carpeta
"WebDrive Setup 1.1.18.exe" /S /D=C:\Apps\webdrive- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\2a87808c-65b5-5432-95ec-14ba90f2133d
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-webdrive.ps1
$url = 'https://srtcdnstorage.blob.core.windows.net/software/nextgen/webdrive/WebDrive%20Setup%201.1.18.exe'
$sha256 = '2A9572C8A58AEB6E4A21D5FF036E274F23E4C2C0FE710F4996E69E96BE047AD5'
$file = Join-Path $env:TEMP 'WebDrive Setup 1.1.18.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