أوامر لتثبيت برنامج SchemaCrawler دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو 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-18.0.1.msi /qn /norestartكتابة ملف سجل
msiexec /i SchemaCrawler-18.0.1.msi /qn /norestart /l*v "%TEMP%\schemacrawler-install.log"إلغاء التثبيت
msiexec /x {554D8DDC-86C2-33B3-8DEA-D8FE9E19F619} /qn /norestart- رمز منتج MSI
- {554D8DDC-86C2-33B3-8DEA-D8FE9E19F619}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{554D8DDC-86C2-33B3-8DEA-D8FE9E19F619}
- UpgradeCode
- {20062F6A-6343-3EB4-953F-6C5D08EF2AB2}
- مجلد التثبيت
- %ProgramFiles%/SchemaCrawler
- DisplayVersion
- 18.0.1
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-schemacrawler.ps1
$url = 'https://github.com/schemacrawler/SchemaCrawler-Installers/releases/download/v18.0.1/SchemaCrawler-18.0.1.msi'
$sha256 = '702C5ECF96657ADAF2368ED7B1583C4583E0AEAF48D22F4C0DB89EEBDA028C64'
$file = Join-Path $env:TEMP 'SchemaCrawler-18.0.1.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