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 Alibaba.MiniProgramStudio -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Alibaba.MiniProgramStudio -e --silentwinget uninstall --id Alibaba.MiniProgramStudio -e --silentBy installer
64-bit · EXE (NSIS) · All users
Silent install
MiniProgramStudio-3.10.5-x64.exe /SCustom folder
MiniProgramStudio-3.10.5-x64.exe /S /D=C:\Apps\alibaba-miniprogramstudio- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\d62c6ca9-18a8-5361-90f2-bf27002a49f0
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-alibaba-miniprogramstudio.ps1
$url = 'https://alipay-miniapp-public.oss-cn-hangzhou.aliyuncs.com/mfupload/MiniProgramStudio-3.10.5-x64.exe'
$sha256 = '06A877523B55B2688C0AEC20062C1F2288FA7187AAD66D6B6585721270553F7A'
$file = Join-Path $env:TEMP 'MiniProgramStudio-3.10.5-x64.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