คำสั่งสำหรับติดตั้ง SchemaCrawler โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id schemacrawler.schemacrawler -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id schemacrawler.schemacrawler -e --silentwinget uninstall --id schemacrawler.schemacrawler -e --silentแยกตามตัวติดตั้ง
64 บิต · MSI · ผู้ใช้ทุกคน · en-US
ติดตั้งแบบเงียบ
msiexec /i SchemaCrawler-17.12.2.msi /qn /norestartบันทึกไฟล์ log
msiexec /i SchemaCrawler-17.12.2.msi /qn /norestart /l*v "%TEMP%\schemacrawler-install.log"ถอนการติดตั้ง
msiexec /x {37FCA658-7188-39BA-B3BE-ECD9A93CEEE2} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {37FCA658-7188-39BA-B3BE-ECD9A93CEEE2}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{37FCA658-7188-39BA-B3BE-ECD9A93CEEE2}
- UpgradeCode
- {20062F6A-6343-3EB4-953F-6C5D08EF2AB2}
- โฟลเดอร์ที่ติดตั้ง
- %ProgramFiles%/SchemaCrawler
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-schemacrawler.ps1
$url = 'https://github.com/schemacrawler/SchemaCrawler-Installers/releases/download/v17.12.2/SchemaCrawler-17.12.2.msi'
$sha256 = '8D932ED77C45C3AE77C83D85DF56ECC66BE17A19521A2C8CEB038FA07049B160'
$file = Join-Path $env:TEMP 'SchemaCrawler-17.12.2.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