Príkazy na inštaláciu programu CodeShellManager bez otázok, na jeho odinštalovanie a na detekciu v nástrojoch na nasadzovanie. Príkaz je uvedený iba vtedy, keď je presne známy: z manifestu alebo zo zdokumentovaných parametrov technológie inštalátora.
Súvisiaci návod: Parametre tichej inštalácie: MSI, NSIS, Inno Setup · Odinštalovanie programu cez register alebo PowerShell
Cez 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 --silentPodľa inštalátora
64-bit · MSI · Všetci používatelia · en-US
Tichá inštalácia
msiexec /i CodeShellManager-0.9.0-Setup.msi /qn /norestartZapísať protokol
msiexec /i CodeShellManager-0.9.0-Setup.msi /qn /norestart /l*v "%TEMP%\codeshellmanager-install.log"Odinštalovanie
msiexec /x {1B65AA3C-06F8-47F3-95F8-13D1596F589F} /qn /norestart- Kód produktu MSI
- {1B65AA3C-06F8-47F3-95F8-13D1596F589F}
- Kľúč odinštalovania v registri
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1B65AA3C-06F8-47F3-95F8-13D1596F589F}
- UpgradeCode
- {3F7A9B1C-2D5E-4F8A-B0C3-6E1D9A4F2B7E}
- Inštalačný priečinok
- %ProgramFiles%/umage/CodeShellManager
PowerShell: stiahnuť, overiť, nainštalovať
Stiahne oficiálny súbor, overí SHA256 a program nainštaluje v tichom režime.
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