คำสั่งสำหรับติดตั้ง GitStudio โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id GitStudioHQ.GitStudio -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id GitStudioHQ.GitStudio -e --silentwinget uninstall --id GitStudioHQ.GitStudio -e --silentแยกตามตัวติดตั้ง
64 บิต · EXE (NSIS) · ผู้ใช้ปัจจุบัน
ติดตั้งแบบเงียบ
GitStudio-Setup-2.0.0.exe /Sกำหนดโฟลเดอร์เอง
GitStudio-Setup-2.0.0.exe /S /D=C:\Apps\gitstudio- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\f6388c48-c5ec-57e5-9486-b832915a90eb
- โฟลเดอร์ที่ติดตั้ง
- %LocalAppData%\Programs\GitStudio
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-gitstudio.ps1
$url = 'https://github.com/GitStudioHQ/gitstudio/releases/download/app-v2.0.0/GitStudio-Setup-2.0.0.exe'
$sha256 = 'A4C72FD6B646C6687C08DB71F795907510052F57071AE927F1443C1754CE898F'
$file = Join-Path $env:TEMP 'GitStudio-Setup-2.0.0.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 '/S' -Wait