Kommandon för att installera 10x 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 PureDevSoftware.10x -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id PureDevSoftware.10x -e --silentwinget uninstall --id PureDevSoftware.10x -e --silentPer installationsfil
64-bitars · EXE (WiX Burn) · Alla användare
Tyst installation
download.php /quiet /norestartAvinstallation
msiexec /x {C8D75E36-60BF-42BA-BA33-A6709A4FB466} /qn /norestart- MSI-produktkod
- {c8d75e36-60bf-42ba-ba33-a6709a4fb466}
- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{c8d75e36-60bf-42ba-ba33-a6709a4fb466}
- UpgradeCode
- {9B881BA1-7F62-4CA2-873C-5916760E4340}
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-10x.ps1
$url = 'https://www.puredevsoftware.com/download.php?file=10x_prev_versions/10xInstaller_1_0_565_0.exe&type=exe'
$sha256 = '048ED5EBB999B95BE039254250A28F31CAF2D04D0620039DAB7248C19DB9AA6F'
$file = Join-Path $env:TEMP 'download.php'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/quiet /norestart' -Wait