คำสั่งสำหรับติดตั้ง GSmartControl โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id AlexanderShaduri.GSmartControl -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id AlexanderShaduri.GSmartControl -e --silentwinget uninstall --id AlexanderShaduri.GSmartControl -e --silentแยกตามตัวติดตั้ง
64 บิต · EXE (NSIS) · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
gsmartcontrol-2.0.2-win64.exe /Sกำหนดโฟลเดอร์เอง
gsmartcontrol-2.0.2-win64.exe /S /D=C:\Apps\gsmartcontrol- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\gsmartcontrol
32 บิต · EXE (NSIS) · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
gsmartcontrol-2.0.2-win32.exe /Sกำหนดโฟลเดอร์เอง
gsmartcontrol-2.0.2-win32.exe /S /D=C:\Apps\gsmartcontrol- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\gsmartcontrol
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-gsmartcontrol.ps1
$url = 'https://github.com/ashaduri/gsmartcontrol/releases/download/v2.0.2/gsmartcontrol-2.0.2-win64.exe'
$sha256 = 'D0AF33E71CEE0D3E25142B615D673EC93E87D6AD27C78086155D49D971B52C03'
$file = Join-Path $env:TEMP 'gsmartcontrol-2.0.2-win64.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 install-gsmartcontrol.ps1
$url = 'https://github.com/ashaduri/gsmartcontrol/releases/download/v2.0.2/gsmartcontrol-2.0.2-win32.exe'
$sha256 = '035AE4C4A10C340949C6C2AE017C0AEEF07A10B557E51CD93E3556AB0B7E2D93'
$file = Join-Path $env:TEMP 'gsmartcontrol-2.0.2-win32.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