Kommandon för att installera Arc Agent 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 Jul13n1.ArcAgent -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Jul13n1.ArcAgent -e --silentwinget uninstall --id Jul13n1.ArcAgent -e --silentPer installationsfil
64-bitars · EXE (NSIS) · Alla användare · en-US
Tyst installation
Arc_Installer_v1.6.1_windows.exe /SEgen mapp
Arc_Installer_v1.6.1_windows.exe /S /D=C:\Apps\arc-agent- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Arc
- Installationsmapp
- %ProgramFiles%\Arc
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-arc-agent.ps1
$url = 'https://github.com/Jul13n1/arc-release/releases/download/agent-v1.6.1/Arc_Installer_v1.6.1_windows.exe'
$sha256 = 'BB1DBEC63A56A83D340F8342D363F9D5FBB1896BBDFEAD9CC95FB662C50C77EF'
$file = Join-Path $env:TEMP 'Arc_Installer_v1.6.1_windows.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 '/S' -Wait