Annotator ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id Snijderlab.Annotator -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Snijderlab.Annotator -e --silentwinget uninstall --id Snijderlab.Annotator -e --silentInstaller အလိုက်
64-bit · EXE (NSIS) · လက်ရှိအသုံးပြုသူ
အသံတိတ်ထည့်သွင်းခြင်း
Annotator_1.2.1_x64-setup.exe /Sစိတ်ကြိုက် ဖိုင်တွဲ
Annotator_1.2.1_x64-setup.exe /S /D=C:\Apps\annotator- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Annotator
64-bit · MSI · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
msiexec /i Annotator_1.2.1_x64_en-US.msi /qn /norestartLog ဖိုင် ရေးရန်
msiexec /i Annotator_1.2.1_x64_en-US.msi /qn /norestart /l*v "%TEMP%\annotator-install.log"ဖယ်ရှားခြင်း (Uninstall)
msiexec /x {CD54010F-22D5-4D73-BBF3-D0BEC5AB75CE} /qn /norestart- MSI product code
- {CD54010F-22D5-4D73-BBF3-D0BEC5AB75CE}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{CD54010F-22D5-4D73-BBF3-D0BEC5AB75CE}
- UpgradeCode
- {7EEB6BC5-23EA-51E1-B28D-FC9633D3F90D}
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-annotator.ps1
$url = 'https://github.com/snijderlab/annotator/releases/download/v1.2.1/Annotator_1.2.1_x64-setup.exe'
$sha256 = '8E33ECE379158DB40133992A0BF176B67F1C802EDBA409DD28FCE687D2C88452'
$file = Join-Path $env:TEMP 'Annotator_1.2.1_x64-setup.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-annotator.ps1
$url = 'https://github.com/snijderlab/annotator/releases/download/v1.2.1/Annotator_1.2.1_x64_en-US.msi'
$sha256 = '0DC50728D0D487B5AAD1B3F73498C2FD9579BDD311DA453385ABE4DEFD5677F6'
$file = Join-Path $env:TEMP 'Annotator_1.2.1_x64_en-US.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