Commands for installing CodeShellManager 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 UmageAI.CodeShellManager -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id UmageAI.CodeShellManager -e --silentwinget uninstall --id UmageAI.CodeShellManager -e --silentBy installer
64-bit · MSI · All users · en-US
Silent install
msiexec /i CodeShellManager-0.9.0-Setup.msi /qn /norestartWrite a log
msiexec /i CodeShellManager-0.9.0-Setup.msi /qn /norestart /l*v "%TEMP%\codeshellmanager-install.log"Uninstall
msiexec /x {1B65AA3C-06F8-47F3-95F8-13D1596F589F} /qn /norestart- MSI product code
- {1B65AA3C-06F8-47F3-95F8-13D1596F589F}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1B65AA3C-06F8-47F3-95F8-13D1596F589F}
- UpgradeCode
- {3F7A9B1C-2D5E-4F8A-B0C3-6E1D9A4F2B7E}
- Install folder
- %ProgramFiles%/umage/CodeShellManager
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-codeshellmanager.ps1
$url = 'https://github.com/umage-ai/CodeShellManager/releases/download/v0.9.0/CodeShellManager-0.9.0-Setup.msi'
$sha256 = '17E447C65D10720ACC878A08B3D54EBE1D3C7E81BBEB9F9FB84A2DCB9F380069'
$file = Join-Path $env:TEMP 'CodeShellManager-0.9.0-Setup.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