Příkazy pro instalaci programu GGCode Desktop 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 gg.ai.ggcode-desktop -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id gg.ai.ggcode-desktop -e --silentwinget uninstall --id gg.ai.ggcode-desktop -e --silentPodle instalátoru
64bit · MSI · Aktuální uživatel
Tichá instalace
msiexec /i ggcode-desktop_1.3.267_windows_x64.msi /qn /norestart /qnZapsat protokol
msiexec /i ggcode-desktop_1.3.267_windows_x64.msi /qn /norestart /qn /l*v "%TEMP%\ggcode-desktop-install.log"Odinstalace
msiexec /x {D42A90F0-DB9D-4DB1-9AB3-0E98CADB70BD} /qn /norestart- Kód produktu MSI
- {D42A90F0-DB9D-4DB1-9AB3-0E98CADB70BD}
- Klíč odinstalace v registru
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D42A90F0-DB9D-4DB1-9AB3-0E98CADB70BD}
- UpgradeCode
- {D4E5F6A7-B8C9-0123-CDEF-345678901234}
ARM64 · MSI · Aktuální uživatel
Tichá instalace
msiexec /i ggcode-desktop_1.3.267_windows_arm64.msi /qn /norestart /qnZapsat protokol
msiexec /i ggcode-desktop_1.3.267_windows_arm64.msi /qn /norestart /qn /l*v "%TEMP%\ggcode-desktop-install.log"Odinstalace
msiexec /x {8BCABE40-542E-4110-B44D-3EE770D9BB6B} /qn /norestart- Kód produktu MSI
- {8BCABE40-542E-4110-B44D-3EE770D9BB6B}
- Klíč odinstalace v registru
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8BCABE40-542E-4110-B44D-3EE770D9BB6B}
- UpgradeCode
- {D4E5F6A7-B8C9-0123-CDEF-345678901234}
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-ggcode-desktop.ps1
$url = 'https://github.com/topcheer/ggcode/releases/download/v1.3.267/ggcode-desktop_1.3.267_windows_x64.msi'
$sha256 = 'FCAA6086812B887A87A70403769B7122573AE4EF80EDCF822C747849228A345A'
$file = Join-Path $env:TEMP 'ggcode-desktop_1.3.267_windows_x64.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', '/qn' -Wait install-ggcode-desktop.ps1
$url = 'https://github.com/topcheer/ggcode/releases/download/v1.3.267/ggcode-desktop_1.3.267_windows_arm64.msi'
$sha256 = '2F4089C55041B80F9D82EBAD63C0D569B704A13922657F1ED545A1A406D4675B'
$file = Join-Path $env:TEMP 'ggcode-desktop_1.3.267_windows_arm64.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', '/qn' -Wait