Ordres per instal·lar Indicative 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 ExplodingCB.Indicative -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ExplodingCB.Indicative -e --silentwinget uninstall --id ExplodingCB.Indicative -e --silentPer instal·lador
64 bits · EXE (Inno Setup) · Usuari actual · en-US
Instal·lació silenciosa
indicative-setup-0.1.1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
indicative-setup-0.1.1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\indicative"- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8F3C2A51-6B7E-4D2A-9C41-2E5B7A9D3F10}_is1
64 bits · EXE (Inno Setup) · Tots els usuaris · en-US
Instal·lació silenciosa
indicative-setup-0.1.1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
indicative-setup-0.1.1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\indicative"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8F3C2A51-6B7E-4D2A-9C41-2E5B7A9D3F10}_is1
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-indicative.ps1
$url = 'https://github.com/ExplodingCB/indicative/releases/download/v0.1.1/indicative-setup-0.1.1.exe'
$sha256 = '75780A6A01F693DFB5E3795952FF1536184841071E207C871A4BB7D28F366243'
$file = Join-Path $env:TEMP 'indicative-setup-0.1.1.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-indicative.ps1
$url = 'https://github.com/ExplodingCB/indicative/releases/download/v0.1.1/indicative-setup-0.1.1.exe'
$sha256 = '75780A6A01F693DFB5E3795952FF1536184841071E207C871A4BB7D28F366243'
$file = Join-Path $env:TEMP 'indicative-setup-0.1.1.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait