Commands for installing Emdash 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 GeneralAction.Emdash -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id GeneralAction.Emdash -e --silentwinget uninstall --id GeneralAction.Emdash -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
emdash-x64.exe /SCustom folder
emdash-x64.exe /S /D=C:\Apps\emdash- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\08411f99-9cb4-5850-8e23-4ddce9cac7dd
- Install folder
- %LocalAppData%\Programs\Emdash
64-bit · EXE (NSIS) · All users
Silent install
emdash-x64.exe /SCustom folder
emdash-x64.exe /S /D=C:\Apps\emdash- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\08411f99-9cb4-5850-8e23-4ddce9cac7dd
- Install folder
- %ProgramFiles%\Emdash
64-bit · MSI · All users
Silent install
msiexec /i emdash-x64.msi /qn /norestartWrite a log
msiexec /i emdash-x64.msi /qn /norestart /l*v "%TEMP%\emdash-install.log"Uninstall
msiexec /x {5BF6DB42-DE98-432C-ABC5-109DEC3C5F61} /qn /norestart- MSI product code
- {5BF6DB42-DE98-432C-ABC5-109DEC3C5F61}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5BF6DB42-DE98-432C-ABC5-109DEC3C5F61}
- UpgradeCode
- {451DC545-2793-59BD-9D0E-EE5BF5D4CA4C}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-emdash.ps1
$url = 'https://github.com/generalaction/emdash/releases/download/v1.2.13/emdash-x64.exe'
$sha256 = 'FDF8B453DB5D6588DF5B08F824A70D13A8C8869555C343E7648E1218D393D36C'
$file = Join-Path $env:TEMP 'emdash-x64.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-emdash.ps1
$url = 'https://github.com/generalaction/emdash/releases/download/v1.2.13/emdash-x64.exe'
$sha256 = 'FDF8B453DB5D6588DF5B08F824A70D13A8C8869555C343E7648E1218D393D36C'
$file = Join-Path $env:TEMP 'emdash-x64.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-emdash.ps1
$url = 'https://github.com/generalaction/emdash/releases/download/v1.2.13/emdash-x64.msi'
$sha256 = '85942B34147C46DEAAAFB7814A0CF1A5CC8EAC529011953E32BC05CC151ABC25'
$file = Join-Path $env:TEMP 'emdash-x64.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