Kommandon för att installera Close utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id closeio.Close -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id closeio.Close -e --silentwinget uninstall --id closeio.Close -e --silentPer installationsfil
64-bitars · EXE (NSIS) · en-US
Tyst installation
Close-Setup-9.3.3.exe /SEgen mapp
Close-Setup-9.3.3.exe /S /D=C:\Apps\closeAvinstallation
msiexec /x {0632E588-67E7-5E7F-B7FF-ED2F97E0B6A1} /qn /norestart- MSI-produktkod
- {0632E588-67E7-5E7F-B7FF-ED2F97E0B6A1}
- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0632E588-67E7-5E7F-B7FF-ED2F97E0B6A1}
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-close.ps1
$url = 'https://github.com/closeio/closeio-desktop-releases/releases/download/v9.3.3/Close-Setup-9.3.3.exe'
$sha256 = '643AE6483B93545799735F39D4EF222C299BAACB960B8BFE0C46F59F0D7E782D'
$file = Join-Path $env:TEMP 'Close-Setup-9.3.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 '/S' -Wait