أوامر لتثبيت برنامج EasyDB دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id qingwz1994.EasyDB -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id qingwz1994.EasyDB -e --silentwinget uninstall --id qingwz1994.EasyDB -e --silentحسب المثبّت
64 بت · EXE (NSIS) · المستخدم الحالي
التثبيت الصامت
EasyDB_1.3.2_x64-setup.exe /Sمجلد مخصص
EasyDB_1.3.2_x64-setup.exe /S /D=C:\Apps\easydb- مفتاح إلغاء التثبيت في السجل
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\EasyDB
64 بت · MSI · جميع المستخدمين
التثبيت الصامت
msiexec /i EasyDB_1.3.2_x64_en-US.msi /qn /norestartكتابة ملف سجل
msiexec /i EasyDB_1.3.2_x64_en-US.msi /qn /norestart /l*v "%TEMP%\easydb-install.log"إلغاء التثبيت
msiexec /x {B8AC9065-C965-42A5-BF34-A23601CDEEE9} /qn /norestart- رمز منتج MSI
- {B8AC9065-C965-42A5-BF34-A23601CDEEE9}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B8AC9065-C965-42A5-BF34-A23601CDEEE9}
- UpgradeCode
- {5AF565F7-9A58-5335-9F31-96BC6B5DCDDC}
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-easydb.ps1
$url = 'https://github.com/qingwz1994/easydb/releases/download/v1.3.2/EasyDB_1.3.2_x64-setup.exe'
$sha256 = 'A3CF7A38ABDCC258C24D96024FD9581ACF5FEC234A525EA8F8C6654D05B9E306'
$file = Join-Path $env:TEMP 'EasyDB_1.3.2_x64-setup.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-easydb.ps1
$url = 'https://github.com/qingwz1994/easydb/releases/download/v1.3.2/EasyDB_1.3.2_x64_en-US.msi'
$sha256 = '4F39B1F5D6B5813BEAAF2AEEE8CB46332F5EFE27C8B76EBE019673E6B5EC0201'
$file = Join-Path $env:TEMP 'EasyDB_1.3.2_x64_en-US.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