UrBackup Server ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id UrBackup.UrBackup.Server -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id UrBackup.UrBackup.Server -e --silentwinget uninstall --id UrBackup.UrBackup.Server -e --silentInstaller အလိုက်
64-bit · EXE (NSIS) · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
"UrBackup Server 2.5.38.exe" /Sစိတ်ကြိုက် ဖိုင်တွဲ
"UrBackup Server 2.5.38.exe" /S /D=C:\Apps\urbackup-server- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\UrBackupServer
64-bit · MSI · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
msiexec /i "UrBackup Server 2.5.38(x64).msi" /qn /norestartLog ဖိုင် ရေးရန်
msiexec /i "UrBackup Server 2.5.38(x64).msi" /qn /norestart /l*v "%TEMP%\urbackup-server-install.log"ဖယ်ရှားခြင်း (Uninstall)
msiexec /x {91E0AA35-A492-11F1-A586-00155D88C710} /qn /norestart- MSI product code
- {91E0AA35-A492-11F1-A586-00155D88C710}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{91E0AA35-A492-11F1-A586-00155D88C710}
- UpgradeCode
- {B79B4110-E31A-453A-B9B4-2CE0663A55CE}
32-bit · EXE (NSIS) · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
"UrBackup Server 2.5.38.exe" /Sစိတ်ကြိုက် ဖိုင်တွဲ
"UrBackup Server 2.5.38.exe" /S /D=C:\Apps\urbackup-server- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\UrBackupServer
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-urbackup-server.ps1
$url = 'https://hndl.urbackup.org/Server/2.5.38/UrBackup%20Server%202.5.38.exe'
$sha256 = 'B381551A3CB46E29064319F17E134A0786B1073F61004C68497E954998C51086'
$file = Join-Path $env:TEMP 'UrBackup Server 2.5.38.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-urbackup-server.ps1
$url = 'https://hndl.urbackup.org/Server/2.5.38/UrBackup%20Server%202.5.38(x64).msi'
$sha256 = 'D1C3CADFD27D4114090496F646726E532AA1188A1FEF1E613421449FA5167361'
$file = Join-Path $env:TEMP 'UrBackup Server 2.5.38(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 install-urbackup-server.ps1
$url = 'https://hndl.urbackup.org/Server/2.5.38/UrBackup%20Server%202.5.38.exe'
$sha256 = 'B381551A3CB46E29064319F17E134A0786B1073F61004C68497E954998C51086'
$file = Join-Path $env:TEMP 'UrBackup Server 2.5.38.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