Commands for installing 编程猫定制课 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 Codemao.Lessons -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Codemao.Lessons -e --silentwinget uninstall --id Codemao.Lessons -e --silentBy installer
64-bit · EXE (NSIS) · zh-CN
Silent install
编程猫定制课-3.6.0.exe /SCustom folder
编程猫定制课-3.6.0.exe /S /D=C:\Apps\codemao-lessons- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\74250611-d048-521e-9de4-2229f26abb0d
32-bit · EXE (NSIS) · zh-CN
Silent install
编程猫定制课-3.6.0.exe /SCustom folder
编程猫定制课-3.6.0.exe /S /D=C:\Apps\codemao-lessons- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\74250611-d048-521e-9de4-2229f26abb0d
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-codemao-lessons.ps1
$url = 'https://static.codemao.cn/codemaster-octopus-client/releases/gray/production/%E7%BC%96%E7%A8%8B%E7%8C%AB%E5%AE%9A%E5%88%B6%E8%AF%BE-3.6.0.exe'
$sha256 = 'DB65C5C01BE1A192761A287B502E7BB9BF455076C4A2AB2A52B1D0597E6237AD'
$file = Join-Path $env:TEMP '编程猫定制课-3.6.0.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-codemao-lessons.ps1
$url = 'https://static.codemao.cn/codemaster-octopus-client/releases/gray/production/%E7%BC%96%E7%A8%8B%E7%8C%AB%E5%AE%9A%E5%88%B6%E8%AF%BE-3.6.0.exe'
$sha256 = 'DB65C5C01BE1A192761A287B502E7BB9BF455076C4A2AB2A52B1D0597E6237AD'
$file = Join-Path $env:TEMP '编程猫定制课-3.6.0.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