คำสั่งสำหรับติดตั้ง MeshCommander โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id Ylianst.MeshCommander -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Ylianst.MeshCommander -e --silentwinget uninstall --id Ylianst.MeshCommander -e --silentแยกตามตัวติดตั้ง
32 บิต · MSI · ผู้ใช้ทุกคน · en-US
ติดตั้งแบบเงียบ
msiexec /i MeshCommander-0.9.7.msi /qn /norestartบันทึกไฟล์ log
msiexec /i MeshCommander-0.9.7.msi /qn /norestart /l*v "%TEMP%\meshcommander-install.log"ถอนการติดตั้ง
msiexec /x {FE14470C-795C-4524-97C8-660C03CC30D8} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {FE14470C-795C-4524-97C8-660C03CC30D8}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{FE14470C-795C-4524-97C8-660C03CC30D8}
- UpgradeCode
- {3B356F7A-0854-4EBA-B10D-4CC4FB522694}
- โฟลเดอร์ที่ติดตั้ง
- %ProgramFiles(x86)%\Open Source\MeshCommander
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-meshcommander.ps1
$url = 'https://meshcommander.com/Releases/MeshCommander-0.9.7.msi'
$sha256 = 'AD8DDF812EAA3532CE3A63651CAB0C8110D071412C366B3491C9ECD2D03ADFB4'
$file = Join-Path $env:TEMP 'MeshCommander-0.9.7.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