Ordres per instal·lar GoodSync 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 SiberSystems.GoodSync -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SiberSystems.GoodSync -e --silentwinget uninstall --id SiberSystems.GoodSync -e --silentPer instal·lador
32 bits · EXE (NSIS) · Tots els usuaris
Instal·lació silenciosa
GoodSync-vsub-Setup.exe /SUna altra carpeta
GoodSync-vsub-Setup.exe /S /D=C:\Apps\goodsync32 bits · MSI
Instal·lació silenciosa
msiexec /i GoodSync-vsub-Setup.msi /qn /norestartDesar un registre
msiexec /i GoodSync-vsub-Setup.msi /qn /norestart /l*v "%TEMP%\goodsync-install.log"PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-goodsync.ps1
$url = 'https://www.goodsync.com/download/GoodSync-vsub-Setup.exe'
$sha256 = 'D853127575F08026BCE068B39EA9EB8D063E9A461E55157AC2E6B75A576AE6CF'
$file = Join-Path $env:TEMP 'GoodSync-vsub-Setup.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-goodsync.ps1
$url = 'https://www.goodsync.com/download/GoodSync-vsub-Setup.msi'
$sha256 = '36D7B8EB8F903C3DD9782C5A70B704678027290FCFCFBC7E89D89F78843A0EEE'
$file = Join-Path $env:TEMP 'GoodSync-vsub-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