Příkazy pro instalaci programu CodeShellManager bez dotazů, jeho odinstalaci a detekci v nástrojích pro nasazení. Příkaz je uveden jen tehdy, když je přesně známý: z manifestu nebo ze zdokumentovaných parametrů technologie instalátoru.
Související návod: Parametry tiché instalace: MSI, NSIS, Inno Setup · Odinstalace programu přes registr nebo PowerShell
Přes 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 --silentPodle instalátoru
64bit · MSI · Všichni uživatelé · en-US
Tichá instalace
msiexec /i CodeShellManager-0.9.0-Setup.msi /qn /norestartZapsat protokol
msiexec /i CodeShellManager-0.9.0-Setup.msi /qn /norestart /l*v "%TEMP%\codeshellmanager-install.log"Odinstalace
msiexec /x {1B65AA3C-06F8-47F3-95F8-13D1596F589F} /qn /norestart- Kód produktu MSI
- {1B65AA3C-06F8-47F3-95F8-13D1596F589F}
- Klíč odinstalace v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1B65AA3C-06F8-47F3-95F8-13D1596F589F}
- UpgradeCode
- {3F7A9B1C-2D5E-4F8A-B0C3-6E1D9A4F2B7E}
- Instalační složka
- %ProgramFiles%/umage/CodeShellManager
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
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