Ordres per instal·lar GGCode Desktop 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 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 --silentPer instal·lador
64 bits · MSI · Usuari actual
Instal·lació silenciosa
msiexec /i ggcode-desktop_1.3.267_windows_x64.msi /qn /norestart /qnDesar un registre
msiexec /i ggcode-desktop_1.3.267_windows_x64.msi /qn /norestart /qn /l*v "%TEMP%\ggcode-desktop-install.log"Desinstal·lar
msiexec /x {D42A90F0-DB9D-4DB1-9AB3-0E98CADB70BD} /qn /norestart- Codi de producte MSI
- {D42A90F0-DB9D-4DB1-9AB3-0E98CADB70BD}
- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D42A90F0-DB9D-4DB1-9AB3-0E98CADB70BD}
- UpgradeCode
- {D4E5F6A7-B8C9-0123-CDEF-345678901234}
ARM64 · MSI · Usuari actual
Instal·lació silenciosa
msiexec /i ggcode-desktop_1.3.267_windows_arm64.msi /qn /norestart /qnDesar un registre
msiexec /i ggcode-desktop_1.3.267_windows_arm64.msi /qn /norestart /qn /l*v "%TEMP%\ggcode-desktop-install.log"Desinstal·lar
msiexec /x {8BCABE40-542E-4110-B44D-3EE770D9BB6B} /qn /norestart- Codi de producte MSI
- {8BCABE40-542E-4110-B44D-3EE770D9BB6B}
- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8BCABE40-542E-4110-B44D-3EE770D9BB6B}
- UpgradeCode
- {D4E5F6A7-B8C9-0123-CDEF-345678901234}
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
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