Objective Redact ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id Objective.Redact -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Objective.Redact -e --silentwinget uninstall --id Objective.Redact -e --silentInstaller အလိုက်
64-bit · MSI · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
msiexec /i Objective_Redact_x64.msi /qn /norestartLog ဖိုင် ရေးရန်
msiexec /i Objective_Redact_x64.msi /qn /norestart /l*v "%TEMP%\objective-redact-install.log"ဖယ်ရှားခြင်း (Uninstall)
msiexec /x {9F378550-80C1-43B1-9A12-B9A1D4146681} /qn /norestart- MSI product code
- {9F378550-80C1-43B1-9A12-B9A1D4146681}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9F378550-80C1-43B1-9A12-B9A1D4146681}
- UpgradeCode
- {F1BE1862-608D-4AD0-B4BE-3EEFF3A0F103}
32-bit · MSI · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
msiexec /i Objective_Redact_x86.msi /qn /norestartLog ဖိုင် ရေးရန်
msiexec /i Objective_Redact_x86.msi /qn /norestart /l*v "%TEMP%\objective-redact-install.log"ဖယ်ရှားခြင်း (Uninstall)
msiexec /x {E6E9AEEB-0686-4F97-A499-DB293FC7557B} /qn /norestart- MSI product code
- {E6E9AEEB-0686-4F97-A499-DB293FC7557B}
- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{E6E9AEEB-0686-4F97-A499-DB293FC7557B}
- UpgradeCode
- {F1BE1862-608D-4AD0-B4BE-3EEFF3A0F103}
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-objective-redact.ps1
$url = 'https://s3-ap-southeast-2.amazonaws.com/redactdownload.objective.com/Objective_Redact_x64.msi'
$sha256 = '057FA90AD44C8C97BAB3CBF180475DE2F48AA82B5753C61AF8EB3299CB63C189'
$file = Join-Path $env:TEMP 'Objective_Redact_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-objective-redact.ps1
$url = 'https://s3-ap-southeast-2.amazonaws.com/redactdownload.objective.com/Objective_Redact_x86.msi'
$sha256 = '55E7AD68DA74921A952D5B903374A45B4AAF3270704529060ED7A5185EA43AF8'
$file = Join-Path $env:TEMP 'Objective_Redact_x86.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