Commands for installing Codem 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 sdcxb.Codem -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id sdcxb.Codem -e --silentwinget uninstall --id sdcxb.Codem -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
Codem_1.18.14_x64-setup.exe /SCustom folder
Codem_1.18.14_x64-setup.exe /S /D=C:\Apps\codem- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Codem
- Install folder
- %LocalAppData%\Codem
64-bit · MSI · All users
Silent install
msiexec /i Codem_1.18.14_x64_en-US.msi /qn /norestartWrite a log
msiexec /i Codem_1.18.14_x64_en-US.msi /qn /norestart /l*v "%TEMP%\codem-install.log"Uninstall
msiexec /x {13C51170-AFA9-4B3A-A10B-7569A2F21082} /qn /norestart- MSI product code
- {13C51170-AFA9-4B3A-A10B-7569A2F21082}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{13C51170-AFA9-4B3A-A10B-7569A2F21082}
- UpgradeCode
- {6B666EB2-F970-552E-B228-7491E4B708A9}
- Install folder
- %ProgramFiles%\Codem
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-codem.ps1
$url = 'https://github.com/sdcxb/codem/releases/download/v1.18.14/Codem_1.18.14_x64-setup.exe'
$sha256 = '7159879F5035D550507A5AB9BD4B48B92B3EA6C16A7FB36F06B75CE1C217CC03'
$file = Join-Path $env:TEMP 'Codem_1.18.14_x64-setup.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-codem.ps1
$url = 'https://github.com/sdcxb/codem/releases/download/v1.18.14/Codem_1.18.14_x64_en-US.msi'
$sha256 = '3A0D259F58EC86752C54852B9454A77517E8C30773CBCE0774D2D63413122608'
$file = Join-Path $env:TEMP 'Codem_1.18.14_x64_en-US.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