gitui ਨੂੰ ਬਿਨਾਂ ਕਿਸੇ ਸਵਾਲ ਦੇ ਇੰਸਟਾਲ ਕਰਨ, ਦੁਬਾਰਾ ਹਟਾਉਣ ਅਤੇ ਡਿਪਲੌਇਮੈਂਟ ਟੂਲਾਂ ਨਾਲ ਪਛਾਣਨ ਦੀਆਂ ਕਮਾਂਡਾਂ। ਕੋਈ ਕਮਾਂਡ ਤਾਂ ਹੀ ਦਿਖਾਈ ਜਾਂਦੀ ਹੈ ਜੇ ਉਹ ਪੱਕੀ ਹੋਵੇ: ਮੈਨੀਫ਼ੈਸਟ ਤੋਂ, ਜਾਂ ਇੰਸਟਾਲਰ ਤਕਨੀਕ ਦੇ ਦਰਜ ਡਿਫ਼ੌਲਟ ਤੋਂ।
ਸੰਬੰਧਿਤ ਗਾਈਡ: ਸਾਈਲੈਂਟ ਇੰਸਟਾਲ ਸਵਿੱਚ: MSI, NSIS, Inno Setup · ਰਜਿਸਟਰੀ ਜਾਂ PowerShell ਨਾਲ ਪ੍ਰੋਗਰਾਮ ਅਣਇੰਸਟਾਲ ਕਰੋ
winget ਨਾਲ
PowerShell
winget install --id StephanDilly.gitui -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id StephanDilly.gitui -e --silentwinget uninstall --id StephanDilly.gitui -e --silentਹਰ ਇੰਸਟਾਲਰ ਮੁਤਾਬਕ
64-ਬਿੱਟ · MSI · ਸਾਰੇ ਯੂਜ਼ਰ · en-US
ਸਾਈਲੈਂਟ ਇੰਸਟਾਲ
msiexec /i gitui-win.msi /qn /norestartਲੌਗ ਫ਼ਾਈਲ ਲਿਖੋ
msiexec /i gitui-win.msi /qn /norestart /l*v "%TEMP%\gitui-install.log"ਅਣਇੰਸਟਾਲ
msiexec /x {5B5FB6E7-5EB7-48C7-A342-82504D331743} /qn /norestart- MSI ਪ੍ਰੋਡਕਟ ਕੋਡ
- {5B5FB6E7-5EB7-48C7-A342-82504D331743}
- ਅਣਇੰਸਟਾਲ ਰਜਿਸਟਰੀ ਕੀ
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5B5FB6E7-5EB7-48C7-A342-82504D331743}
- UpgradeCode
- {C1CADE63-A601-4E02-96CC-FB921D5B174E}
PowerShell: ਡਾਊਨਲੋਡ, ਜਾਂਚ, ਇੰਸਟਾਲ
ਅਧਿਕਾਰਤ ਫ਼ਾਈਲ ਡਾਊਨਲੋਡ ਕਰਦੀ ਹੈ, ਉਸ ਦਾ SHA256 ਜਾਂਚਦੀ ਹੈ ਅਤੇ ਉਸ ਨੂੰ ਸਾਈਲੈਂਟ ਮੋਡ ਵਿੱਚ ਇੰਸਟਾਲ ਕਰਦੀ ਹੈ।
install-gitui.ps1
$url = 'https://github.com/extrawurst/gitui/releases/download/v0.28.1/gitui-win.msi'
$sha256 = '6B720D82C4AFAEB5ED07EB5B99C4E89868B5DF59530528CB873CF1A8D2D598E3'
$file = Join-Path $env:TEMP 'gitui-win.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