Příkazy pro instalaci programu 中文Git bez dotazů, jeho odinstalaci a detekci v nástrojích pro nasazení. Příkaz je uveden jen tehdy, když je přesně známý: z manifestu nebo ze zdokumentovaných parametrů technologie instalátoru.
Související návod: Parametry tiché instalace: MSI, NSIS, Inno Setup · Odinstalace programu přes registr nebo PowerShell
Přes winget
PowerShell
winget install --id DuckStudio.ChineseGit -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DuckStudio.ChineseGit -e --silentwinget uninstall --id DuckStudio.ChineseGit -e --silentPodle instalátoru
64bit · EXE (Inno Setup) · Všichni uživatelé · zh-CN
Tichá instalace
Chinese_git_Setup_v3.4.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Vlastní složka
Chinese_git_Setup_v3.4.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\git-duckstudio"- Instalační složka
- %ProgramFiles%\Chinese_git
ARM64 · EXE (Inno Setup) · Všichni uživatelé · zh-CN
Tichá instalace
Chinese_git_Setup_v3.4.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Vlastní složka
Chinese_git_Setup_v3.4.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\git-duckstudio"- Instalační složka
- %ProgramFiles%\Chinese_git
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-git-duckstudio.ps1
$url = 'https://github.com/DuckDuckStudio/Chinese_git/releases/download/v3.4/Chinese_git_Setup_v3.4.exe'
$sha256 = 'CB1AE14FD5D0AFF81CE67FB22CA53A4F1AAE7146BFECD21EEEB365A422DD3AFC'
$file = Join-Path $env:TEMP 'Chinese_git_Setup_v3.4.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-git-duckstudio.ps1
$url = 'https://github.com/DuckDuckStudio/Chinese_git/releases/download/v3.4/Chinese_git_Setup_v3.4.exe'
$sha256 = 'CB1AE14FD5D0AFF81CE67FB22CA53A4F1AAE7146BFECD21EEEB365A422DD3AFC'
$file = Join-Path $env:TEMP 'Chinese_git_Setup_v3.4.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait