Ordres per instal·lar Indirect 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 TungH.Indirect -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id TungH.Indirect -e --silentwinget uninstall --id TungH.Indirect -e --silentPer instal·lador
64 bits · MSIX
Instal·lació silenciosa
Add-AppxPackage -Path Indirect_2.9.0.0_neutral.msixbundleDesinstal·lar
Get-AppxPackage -Name 18496Starpine.Indirect | Remove-AppxPackageARM64 · MSIX
Instal·lació silenciosa
Add-AppxPackage -Path Indirect_2.9.0.0_neutral.msixbundleDesinstal·lar
Get-AppxPackage -Name 18496Starpine.Indirect | Remove-AppxPackage32 bits · MSIX
Instal·lació silenciosa
Add-AppxPackage -Path Indirect_2.9.0.0_neutral.msixbundleDesinstal·lar
Get-AppxPackage -Name 18496Starpine.Indirect | Remove-AppxPackageARM · MSIX
Instal·lació silenciosa
Add-AppxPackage -Path Indirect_2.9.0.0_neutral.msixbundleDesinstal·lar
Get-AppxPackage -Name 18496Starpine.Indirect | Remove-AppxPackagePowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-indirect.ps1
$url = 'https://github.com/huynhsontung/Indirect/releases/download/v2.9.0/Indirect_2.9.0.0_neutral.msixbundle'
$sha256 = 'E715A72A2548F0CE9111199F1BE898A10A6E8FCAF75A983C100067E742D53AFF'
$file = Join-Path $env:TEMP 'Indirect_2.9.0.0_neutral.msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-indirect.ps1
$url = 'https://github.com/huynhsontung/Indirect/releases/download/v2.9.0/Indirect_2.9.0.0_neutral.msixbundle'
$sha256 = 'E715A72A2548F0CE9111199F1BE898A10A6E8FCAF75A983C100067E742D53AFF'
$file = Join-Path $env:TEMP 'Indirect_2.9.0.0_neutral.msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-indirect.ps1
$url = 'https://github.com/huynhsontung/Indirect/releases/download/v2.9.0/Indirect_2.9.0.0_neutral.msixbundle'
$sha256 = 'E715A72A2548F0CE9111199F1BE898A10A6E8FCAF75A983C100067E742D53AFF'
$file = Join-Path $env:TEMP 'Indirect_2.9.0.0_neutral.msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-indirect.ps1
$url = 'https://github.com/huynhsontung/Indirect/releases/download/v2.9.0/Indirect_2.9.0.0_neutral.msixbundle'
$sha256 = 'E715A72A2548F0CE9111199F1BE898A10A6E8FCAF75A983C100067E742D53AFF'
$file = Join-Path $env:TEMP 'Indirect_2.9.0.0_neutral.msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file