أوامر لتثبيت برنامج Dais دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id Dais.Dais -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Dais.Dais -e --silentwinget uninstall --id Dais.Dais -e --silentحسب المثبّت
64 بت · EXE (NSIS) · المستخدم الحالي
التثبيت الصامت
Dais_0.16.3_x64-setup.exe /Sمجلد مخصص
Dais_0.16.3_x64-setup.exe /S /D=C:\Apps\dais- مفتاح إلغاء التثبيت في السجل
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Dais
64 بت · MSI · جميع المستخدمين
التثبيت الصامت
msiexec /i Dais_0.16.3_x64_en-US.msi /qn /norestartكتابة ملف سجل
msiexec /i Dais_0.16.3_x64_en-US.msi /qn /norestart /l*v "%TEMP%\dais-install.log"إلغاء التثبيت
msiexec /x {E22AB3DB-CF6A-4A47-8DE8-4380051D7F33} /qn /norestart- رمز منتج MSI
- {E22AB3DB-CF6A-4A47-8DE8-4380051D7F33}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E22AB3DB-CF6A-4A47-8DE8-4380051D7F33}
- UpgradeCode
- {4F1EF755-A3C3-5E42-B1C3-DA56D31ED950}
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-dais.ps1
$url = 'https://github.com/Dais-Project/Dais/releases/download/app-v0.16.3/Dais_0.16.3_x64-setup.exe'
$sha256 = '85B7027AC3963E9EF903B4263AF38494041F499F683A604FE191A4DDE28B9009'
$file = Join-Path $env:TEMP 'Dais_0.16.3_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-dais.ps1
$url = 'https://github.com/Dais-Project/Dais/releases/download/app-v0.16.3/Dais_0.16.3_x64_en-US.msi'
$sha256 = '5A59A357D523E97B82028FB51E5C5E078A3ACE021306855B662495CD99EBAE5F'
$file = Join-Path $env:TEMP 'Dais_0.16.3_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