Texmaker ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id Texmaker.Texmaker -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Texmaker.Texmaker -e --silentwinget uninstall --id Texmaker.Texmaker -e --silentInstaller အလိုက်
64-bit · MSI · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
msiexec /i Texmaker_6.0.2_Win_x64.msi /qn /norestartLog ဖိုင် ရေးရန်
msiexec /i Texmaker_6.0.2_Win_x64.msi /qn /norestart /l*v "%TEMP%\texmaker-install.log"ဖယ်ရှားခြင်း (Uninstall)
msiexec /x {2D2EA2E0-47C8-4BCE-8B1C-6AEC215EADBE} /qn /norestart- MSI product code
- {2D2EA2E0-47C8-4BCE-8B1C-6AEC215EADBE}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2D2EA2E0-47C8-4BCE-8B1C-6AEC215EADBE}
- UpgradeCode
- {002AC03D-DC46-4770-802C-F67EE8F1C831}
- ထည့်သွင်းမည့် ဖိုင်တွဲ
- %ProgramFiles%\Texmaker\Texmaker
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-texmaker.ps1
$url = 'https://www.xm1math.net/texmaker/assets/files/Texmaker_6.0.2_Win_x64.msi'
$sha256 = 'E583B56E995235CF860E47920FF0665B15E9188C66990F23E3D1658244D069AB'
$file = Join-Path $env:TEMP 'Texmaker_6.0.2_Win_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