ggcode ਨੂੰ ਬਿਨਾਂ ਕਿਸੇ ਸਵਾਲ ਦੇ ਇੰਸਟਾਲ ਕਰਨ, ਦੁਬਾਰਾ ਹਟਾਉਣ ਅਤੇ ਡਿਪਲੌਇਮੈਂਟ ਟੂਲਾਂ ਨਾਲ ਪਛਾਣਨ ਦੀਆਂ ਕਮਾਂਡਾਂ। ਕੋਈ ਕਮਾਂਡ ਤਾਂ ਹੀ ਦਿਖਾਈ ਜਾਂਦੀ ਹੈ ਜੇ ਉਹ ਪੱਕੀ ਹੋਵੇ: ਮੈਨੀਫ਼ੈਸਟ ਤੋਂ, ਜਾਂ ਇੰਸਟਾਲਰ ਤਕਨੀਕ ਦੇ ਦਰਜ ਡਿਫ਼ੌਲਟ ਤੋਂ।
ਸੰਬੰਧਿਤ ਗਾਈਡ: ਸਾਈਲੈਂਟ ਇੰਸਟਾਲ ਸਵਿੱਚ: MSI, NSIS, Inno Setup · ਰਜਿਸਟਰੀ ਜਾਂ PowerShell ਨਾਲ ਪ੍ਰੋਗਰਾਮ ਅਣਇੰਸਟਾਲ ਕਰੋ
winget ਨਾਲ
PowerShell
winget install --id gg.ai.ggcode-cli -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id gg.ai.ggcode-cli -e --silentwinget uninstall --id gg.ai.ggcode-cli -e --silentਹਰ ਇੰਸਟਾਲਰ ਮੁਤਾਬਕ
64-ਬਿੱਟ · MSI · ਸਿਰਫ਼ ਮੌਜੂਦਾ ਯੂਜ਼ਰ
ਸਾਈਲੈਂਟ ਇੰਸਟਾਲ
msiexec /i ggcode_1.3.267_windows_x64.msi /qn /norestartਲੌਗ ਫ਼ਾਈਲ ਲਿਖੋ
msiexec /i ggcode_1.3.267_windows_x64.msi /qn /norestart /l*v "%TEMP%\ggcode-install.log"ਅਣਇੰਸਟਾਲ
msiexec /x {133DD36A-36F7-4E29-ABB1-7156BCF31900} /qn /norestart- MSI ਪ੍ਰੋਡਕਟ ਕੋਡ
- {133DD36A-36F7-4E29-ABB1-7156BCF31900}
- ਅਣਇੰਸਟਾਲ ਰਜਿਸਟਰੀ ਕੀ
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{133DD36A-36F7-4E29-ABB1-7156BCF31900}
- UpgradeCode
- {B3C4D5E6-F7A8-9012-BCDE-F23456789012}
ARM64 · MSI · ਸਿਰਫ਼ ਮੌਜੂਦਾ ਯੂਜ਼ਰ
ਸਾਈਲੈਂਟ ਇੰਸਟਾਲ
msiexec /i ggcode_1.3.267_windows_arm64.msi /qn /norestartਲੌਗ ਫ਼ਾਈਲ ਲਿਖੋ
msiexec /i ggcode_1.3.267_windows_arm64.msi /qn /norestart /l*v "%TEMP%\ggcode-install.log"ਅਣਇੰਸਟਾਲ
msiexec /x {24298A2F-8345-46CF-A976-158DE5895602} /qn /norestart- MSI ਪ੍ਰੋਡਕਟ ਕੋਡ
- {24298A2F-8345-46CF-A976-158DE5895602}
- ਅਣਇੰਸਟਾਲ ਰਜਿਸਟਰੀ ਕੀ
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{24298A2F-8345-46CF-A976-158DE5895602}
- UpgradeCode
- {B3C4D5E6-F7A8-9012-BCDE-F23456789012}
PowerShell: ਡਾਊਨਲੋਡ, ਜਾਂਚ, ਇੰਸਟਾਲ
ਅਧਿਕਾਰਤ ਫ਼ਾਈਲ ਡਾਊਨਲੋਡ ਕਰਦੀ ਹੈ, ਉਸ ਦਾ SHA256 ਜਾਂਚਦੀ ਹੈ ਅਤੇ ਉਸ ਨੂੰ ਸਾਈਲੈਂਟ ਮੋਡ ਵਿੱਚ ਇੰਸਟਾਲ ਕਰਦੀ ਹੈ।
install-ggcode.ps1
$url = 'https://github.com/topcheer/ggcode/releases/download/v1.3.267/ggcode_1.3.267_windows_x64.msi'
$sha256 = '747EC3027381AA41DC38E8FE5F29EE4D29650CB33531B206D098ADEDE26DBF24'
$file = Join-Path $env:TEMP 'ggcode_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' -Wait install-ggcode.ps1
$url = 'https://github.com/topcheer/ggcode/releases/download/v1.3.267/ggcode_1.3.267_windows_arm64.msi'
$sha256 = '652817B036EAF176C7960EB2819B6C89835E0B0B53FF19373EE4F51DB2DB055A'
$file = Join-Path $env:TEMP 'ggcode_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' -Wait