Commands for installing Lya Studio Coder 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 StudioCodeAI.LyaStudioCoder -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id StudioCodeAI.LyaStudioCoder -e --silentwinget uninstall --id StudioCodeAI.LyaStudioCoder -e --silentBy installer
64-bit · MSI · All users · en-US
Silent install
msiexec /i Lya.Studio.Coder_1.6.0_x64_en-US.msi /qn /norestartWrite a log
msiexec /i Lya.Studio.Coder_1.6.0_x64_en-US.msi /qn /norestart /l*v "%TEMP%\lya-studio-coder-install.log"Uninstall
msiexec /x {B23B4D1D-D71A-489C-8E1E-A4FA7406D2A1} /qn /norestart- MSI product code
- {B23B4D1D-D71A-489C-8E1E-A4FA7406D2A1}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B23B4D1D-D71A-489C-8E1E-A4FA7406D2A1}
- UpgradeCode
- {807EAAC8-27B7-54FA-8BEF-262874C56408}
- Install folder
- %ProgramFiles%\Lya Studio Coder
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-lya-studio-coder.ps1
$url = 'https://github.com/StudioCodeAI/Lya-Studio-Coder/releases/download/v1.6.0/Lya.Studio.Coder_1.6.0_x64_en-US.msi'
$sha256 = '45D1C09E8993C09B5D2382F33DA7B1827D2409166F3AA45786758424461143AE'
$file = Join-Path $env:TEMP 'Lya.Studio.Coder_1.6.0_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