أوامر لتثبيت برنامج Emdash دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id GeneralAction.Emdash -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id GeneralAction.Emdash -e --silentwinget uninstall --id GeneralAction.Emdash -e --silentحسب المثبّت
64 بت · EXE (NSIS) · المستخدم الحالي
التثبيت الصامت
emdash-x64.exe /Sمجلد مخصص
emdash-x64.exe /S /D=C:\Apps\emdash- مفتاح إلغاء التثبيت في السجل
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\08411f99-9cb4-5850-8e23-4ddce9cac7dd
- مجلد التثبيت
- %LocalAppData%\Programs\Emdash
64 بت · EXE (NSIS) · جميع المستخدمين
التثبيت الصامت
emdash-x64.exe /Sمجلد مخصص
emdash-x64.exe /S /D=C:\Apps\emdash- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\08411f99-9cb4-5850-8e23-4ddce9cac7dd
- مجلد التثبيت
- %ProgramFiles%\Emdash
64 بت · MSI · جميع المستخدمين
التثبيت الصامت
msiexec /i emdash-x64.msi /qn /norestartكتابة ملف سجل
msiexec /i emdash-x64.msi /qn /norestart /l*v "%TEMP%\emdash-install.log"إلغاء التثبيت
msiexec /x {8CB32585-5230-4F3E-963D-9657B4DD9794} /qn /norestart- رمز منتج MSI
- {8CB32585-5230-4F3E-963D-9657B4DD9794}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8CB32585-5230-4F3E-963D-9657B4DD9794}
- UpgradeCode
- {451DC545-2793-59BD-9D0E-EE5BF5D4CA4C}
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-emdash.ps1
$url = 'https://github.com/generalaction/emdash/releases/download/v1.2.10/emdash-x64.exe'
$sha256 = '7A772E11F4C5F68BC2D661C264BF93EEF427DD2CFCE5042FC572720549F35F03'
$file = Join-Path $env:TEMP 'emdash-x64.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-emdash.ps1
$url = 'https://github.com/generalaction/emdash/releases/download/v1.2.10/emdash-x64.exe'
$sha256 = '7A772E11F4C5F68BC2D661C264BF93EEF427DD2CFCE5042FC572720549F35F03'
$file = Join-Path $env:TEMP 'emdash-x64.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-emdash.ps1
$url = 'https://github.com/generalaction/emdash/releases/download/v1.2.10/emdash-x64.msi'
$sha256 = '226D454352C21EFE8D1538243F4165C6CCACA88B8BAA8C1149D5860018BC495C'
$file = Join-Path $env:TEMP 'emdash-x64.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