Code::Blocks ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
winget install --id CodeBlocks.CodeBlocks -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id CodeBlocks.CodeBlocks -e --silentwinget uninstall --id CodeBlocks.CodeBlocks -e --silentInstaller အလိုက်
64-bit · EXE (NSIS) · လက်ရှိအသုံးပြုသူ · en-US
download /Sdownload /S /D=C:\Apps\code-blocks- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\CodeBlocks
- ထည့်သွင်းမည့် ဖိုင်တွဲ
- %ProgramFiles%\CodeBlocks
64-bit · EXE (NSIS) · အသုံးပြုသူအားလုံး · en-US
download /Sdownload /S /D=C:\Apps\code-blocks- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\CodeBlocks
- ထည့်သွင်းမည့် ဖိုင်တွဲ
- %ProgramFiles%\CodeBlocks
64-bit · ZIP
ထည့်သွင်းရန် မလိုပါ (portable)
32-bit · EXE (NSIS) · လက်ရှိအသုံးပြုသူ · en-US
download /Sdownload /S /D=C:\Apps\code-blocks- Uninstall registry key
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\CodeBlocks
- ထည့်သွင်းမည့် ဖိုင်တွဲ
- %ProgramFiles(x86)%\CodeBlocks
32-bit · EXE (NSIS) · အသုံးပြုသူအားလုံး · en-US
download /Sdownload /S /D=C:\Apps\code-blocks- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\CodeBlocks
- ထည့်သွင်းမည့် ဖိုင်တွဲ
- %ProgramFiles(x86)%\CodeBlocks
32-bit · ZIP
ထည့်သွင်းရန် မလိုပါ (portable)
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
$url = 'https://sourceforge.net/projects/codeblocks/files/Binaries/25.03/Windows/codeblocks-25.03-setup-nonadmin.exe/download'
$sha256 = '1B730F9C279F1BABFDEF92507078913DF18CFF9BBABC14DC69C2ABE6628A94ED'
$file = Join-Path $env:TEMP 'download'
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 $url = 'https://sourceforge.net/projects/codeblocks/files/Binaries/25.03/Windows/codeblocks-25.03-setup.exe/download'
$sha256 = '88BCA802DF27FD9A9BAE77453CF3BCA36A7B69CBB3863E62D70A42F204F28DF2'
$file = Join-Path $env:TEMP 'download'
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 $url = 'https://sourceforge.net/projects/codeblocks/files/Binaries/25.03/Windows/32bit/codeblocks-25.03-32bit-setup-nonadmin.exe/download'
$sha256 = 'A38EA26D993DEE185D279953151AC9CA976BEFF14AF8B98679647A5BDF1D3C3A'
$file = Join-Path $env:TEMP 'download'
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 $url = 'https://sourceforge.net/projects/codeblocks/files/Binaries/25.03/Windows/32bit/codeblocks-25.03-32bit-setup.exe/download'
$sha256 = '7CBC9E0F57502B8685EBEE1332D512FC2E48422857A94663562D2379554AEC28'
$file = Join-Path $env:TEMP 'download'
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