Ordres per instal·lar Whatly 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 shakaran.whatly -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id shakaran.whatly -e --silentwinget uninstall --id shakaran.whatly -e --silentPer instal·lador
64 bits · MSI · Tots els usuaris
Instal·lació silenciosa
msiexec /i whatly-7.6.6-x64.msi /qn /norestartDesar un registre
msiexec /i whatly-7.6.6-x64.msi /qn /norestart /l*v "%TEMP%\whatly-install.log"Desinstal·lar
msiexec /x {9C64B442-E778-4E9B-A49C-622DF9375943} /qn /norestart- Codi de producte MSI
- {9C64B442-E778-4E9B-A49C-622DF9375943}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9C64B442-E778-4E9B-A49C-622DF9375943}
- UpgradeCode
- {F425705D-B59A-4ABB-A4CA-4F5F01A8D594}
- Carpeta d’instal·lació
- %ProgramFiles%\Whatly
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-whatly.ps1
$url = 'https://github.com/shakaran/whatly/releases/download/v7.6.6/whatly-7.6.6-x64.msi'
$sha256 = '8BE7E0A12CA706B6E15FDFDE67BC95BDFC638E2D44955D4DE6726B5784A0B071'
$file = Join-Path $env:TEMP 'whatly-7.6.6-x64.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