Commands for installing AnkerWork without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id Anker.AnkerWork -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Anker.AnkerWork -e --silentwinget uninstall --id Anker.AnkerWork -e --silentBy installer
32-bit · EXE (NSIS) · Current user
Silent install
AnkerWork-Setup-ia32.exe /SCustom folder
AnkerWork-Setup-ia32.exe /S /D=C:\Apps\ankerwork- Uninstall registry key
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\2e1d67ce-8fdb-5060-b9a8-9eeff65926fb
- Install folder
- %LocalAppData%\Programs\AnkerWork
32-bit · EXE (NSIS) · All users
Silent install
AnkerWork-Setup-ia32.exe /SCustom folder
AnkerWork-Setup-ia32.exe /S /D=C:\Apps\ankerwork- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\2e1d67ce-8fdb-5060-b9a8-9eeff65926fb
- Install folder
- %ProgramFiles(x86)%\AnkerWork
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-ankerwork.ps1
$url = 'https://ankerwork.s3.us-west-2.amazonaws.com/electron/AnkerWork-Setup-ia32.exe'
$sha256 = '5D3CA6B3A746C516468FC23DCD7FF19FA24D3E089649B4CBDB36CA9CC20E4D9E'
$file = Join-Path $env:TEMP 'AnkerWork-Setup-ia32.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 install-ankerwork.ps1
$url = 'https://ankerwork.s3.us-west-2.amazonaws.com/electron/AnkerWork-Setup-ia32.exe'
$sha256 = '5D3CA6B3A746C516468FC23DCD7FF19FA24D3E089649B4CBDB36CA9CC20E4D9E'
$file = Join-Path $env:TEMP 'AnkerWork-Setup-ia32.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