Ordres per instal·lar Arc 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
winget install --id TheBrowserCompany.Arc -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id TheBrowserCompany.Arc -e --silentwinget uninstall --id TheBrowserCompany.Arc -e --silentPer instal·lador
64 bits · MSIX
Add-AppxPackage -Path Arc.x64.msixGet-AppxPackage -Name TheBrowserCompany.Arc | Remove-AppxPackageARM64 · MSIX
Add-AppxPackage -Path Arc.arm64.msixGet-AppxPackage -Name TheBrowserCompany.Arc | Remove-AppxPackagePowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
$url = 'https://releases.arc.net/windows/prod/1.127.0.297/Arc.x64.msix'
$sha256 = 'D7614D41E31FEE2F14E453BBD92319DFC4FD0B4ACF40897CCB1A3E36E2E3405A'
$file = Join-Path $env:TEMP 'Arc.x64.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file $url = 'https://releases.arc.net/windows/prod/1.127.0.297/Arc.arm64.msix'
$sha256 = '3D8729ED65C714F38DD9C1960E08B1A58DC77FF6EE276F50D4B4714FB715A620'
$file = Join-Path $env:TEMP 'Arc.arm64.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file