Compose Generator ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id ChilliBits.ComposeGenerator -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ChilliBits.ComposeGenerator -e --silentwinget uninstall --id ChilliBits.ComposeGenerator -e --silentInstaller အလိုက်
64-bit · MSI · အသုံးပြုသူအားလုံး · en-US
အသံတိတ်ထည့်သွင်းခြင်း
msiexec /i compose-generator_x64_setup.msi /qn /norestartLog ဖိုင် ရေးရန်
msiexec /i compose-generator_x64_setup.msi /qn /norestart /l*v "%TEMP%\compose-generator-install.log"ဖယ်ရှားခြင်း (Uninstall)
msiexec /x {E26E05D2-7DE0-47FA-B85E-418D286B9B59} /qn /norestart- MSI product code
- {E26E05D2-7DE0-47FA-B85E-418D286B9B59}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E26E05D2-7DE0-47FA-B85E-418D286B9B59}
32-bit · MSI · အသုံးပြုသူအားလုံး · en-US
အသံတိတ်ထည့်သွင်းခြင်း
msiexec /i compose-generator_x86_setup.msi /qn /norestartLog ဖိုင် ရေးရန်
msiexec /i compose-generator_x86_setup.msi /qn /norestart /l*v "%TEMP%\compose-generator-install.log"ဖယ်ရှားခြင်း (Uninstall)
msiexec /x {E4416087-C821-4267-ADC8-63D4758BAF6A} /qn /norestart- MSI product code
- {E4416087-C821-4267-ADC8-63D4758BAF6A}
- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{E4416087-C821-4267-ADC8-63D4758BAF6A}
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-compose-generator.ps1
$url = 'https://github.com/compose-generator/compose-generator/releases/download/1.9.0/compose-generator_x64_setup.msi'
$sha256 = '54D2450399CCA2525DC4FF67CF90AB6C89970DF39B37331C9833166A69DC2341'
$file = Join-Path $env:TEMP 'compose-generator_x64_setup.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 install-compose-generator.ps1
$url = 'https://github.com/compose-generator/compose-generator/releases/download/1.9.0/compose-generator_x86_setup.msi'
$sha256 = '9ECD27213CE409A077189E1BB6BAA4B414DE59A092D025D50DD73D332C37B6BE'
$file = Join-Path $env:TEMP 'compose-generator_x86_setup.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