أوامر لتثبيت برنامج Desktop Countdown Timer دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id SoftSea.DesktopCountdownTimer -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SoftSea.DesktopCountdownTimer -e --silentwinget uninstall --id SoftSea.DesktopCountdownTimer -e --silentحسب المثبّت
32 بت · EXE (Inno Setup) · جميع المستخدمين · en-US
التثبيت الصامت
get.php /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-مجلد مخصص
get.php /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\desktop-countdown-timer"- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{F44A1ACF-FC6D-4606-B233-8BA09EE9B575}_is1
- مجلد التثبيت
- %ProgramFiles%\Desktop Countdown Timer
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-desktop-countdown-timer.ps1
$url = 'https://file1.softsea.com/get.php?file=desktopcountdowntimer_setup.exe'
$sha256 = '13BCD6BCAF9C740F3751B20457DB76DCBA61CA187093C7621E7E77B039C9FB92'
$file = Join-Path $env:TEMP 'get.php'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait