Commands for installing ipaSim 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 JanJoneš.ipaSim -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id JanJoneš.ipaSim -e --silentwinget uninstall --id JanJoneš.ipaSim -e --silentBy installer
Any CPU · ZIP
Silent install
Add-AppxPackage -Path ipasim-build-v1.0.1-2023-01-01.zipUninstall
Get-AppxPackage -Name 0ee863f9-dcc5-4d3b-9c2a-457bcfafc07e | Remove-AppxPackagePowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-ipasim.ps1
$url = 'https://github.com/ipasimulator/ipasim/releases/download/v1.0.1/ipasim-build-v1.0.1-2023-01-01.zip'
$sha256 = '89A6742D44FCB4105DE050669DCA877DD2C91A6C4B70C5317BD6432865E62265'
$file = Join-Path $env:TEMP 'ipasim-build-v1.0.1-2023-01-01.zip'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file