Commands for installing apic-gui 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 rizukirr.apic-gui -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id rizukirr.apic-gui -e --silentwinget uninstall --id rizukirr.apic-gui -e --silentBy installer
64-bit · MSI · All users · en-US
Silent install
msiexec /i apic-gui-v1.2.0-x86_64.msi /qn /norestartWrite a log
msiexec /i apic-gui-v1.2.0-x86_64.msi /qn /norestart /l*v "%TEMP%\apic-gui-install.log"Uninstall
msiexec /x {281440F9-191B-4852-9E90-46518B2D53B5} /qn /norestart- MSI product code
- {281440F9-191B-4852-9E90-46518B2D53B5}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{281440F9-191B-4852-9E90-46518B2D53B5}
- UpgradeCode
- {7776307A-9369-4D4D-837D-85F0BD9D715E}
- Install folder
- %ProgramFiles%/apic-gui
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-apic-gui.ps1
$url = 'https://github.com/rizukirr/apic/releases/download/v1.2.0/apic-gui-v1.2.0-x86_64.msi'
$sha256 = 'E237EEBFE7D6F934E17FA3554322FBEB5DC923DCB8EC9F0428250C8EC1687AA8'
$file = Join-Path $env:TEMP 'apic-gui-v1.2.0-x86_64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait