Ordres per instal·lar Todo清单 sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb winget
PowerShell
winget install --id evestudio.todo-list -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id evestudio.todo-list -e --silentwinget uninstall --id evestudio.todo-list -e --silentPer instal·lador
64 bits · EXE (NSIS)
Instal·lació silenciosa
"Todo清单 Setup 3.13.2.exe" /SUna altra carpeta
"Todo清单 Setup 3.13.2.exe" /S /D=C:\Apps\todo- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\6833e0c6-eb87-5e89-9f79-0ff9bb0f96ae
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-todo.ps1
$url = 'https://updatetodo.evestudio.cn/Todo%E6%B8%85%E5%8D%95%20Setup%203.13.2.exe'
$sha256 = '5778211950BBDB1E61B17462AE20A8424ED0D92C8F17EB5FE46A07F176C0D380'
$file = Join-Path $env:TEMP 'Todo清单 Setup 3.13.2.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