GSmartControl ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် 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 --silentInstaller အလိုက်
64-bit · EXE (NSIS) · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
gsmartcontrol-2.0.2-win64.exe /Sစိတ်ကြိုက် ဖိုင်တွဲ
gsmartcontrol-2.0.2-win64.exe /S /D=C:\Apps\gsmartcontrol- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\gsmartcontrol
32-bit · EXE (NSIS) · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
gsmartcontrol-2.0.2-win32.exe /Sစိတ်ကြိုက် ဖိုင်တွဲ
gsmartcontrol-2.0.2-win32.exe /S /D=C:\Apps\gsmartcontrol- Uninstall registry key
- 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