أوامر لتثبيت برنامج Microsoft Edge دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id Microsoft.Edge -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.Edge -e --silentwinget uninstall --id Microsoft.Edge -e --silentحسب المثبّت
64 بت · MSI · جميع المستخدمين · en-US
التثبيت الصامت
msiexec /i MicrosoftEdgeEnterpriseX64.msi /qn /norestartكتابة ملف سجل
msiexec /i MicrosoftEdgeEnterpriseX64.msi /qn /norestart /l*v "%TEMP%\microsoft-edge-install.log"ARM64 · MSI · جميع المستخدمين · en-US
التثبيت الصامت
msiexec /i MicrosoftEdgeEnterpriseARM64.msi /qn /norestartكتابة ملف سجل
msiexec /i MicrosoftEdgeEnterpriseARM64.msi /qn /norestart /l*v "%TEMP%\microsoft-edge-install.log"32 بت · MSI · جميع المستخدمين · en-US
التثبيت الصامت
msiexec /i MicrosoftEdgeEnterpriseX86.msi /qn /norestartكتابة ملف سجل
msiexec /i MicrosoftEdgeEnterpriseX86.msi /qn /norestart /l*v "%TEMP%\microsoft-edge-install.log"PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-microsoft-edge.ps1
$url = 'https://download.microsoft.com/download/6a05dff7-d4e0-4e1f-a773-efe3f9c17341/MicrosoftEdgeEnterpriseX64.msi'
$sha256 = '784051EBFCC8B28569127F381D515766866C4925312D35C52293382B97EEF2FB'
$file = Join-Path $env:TEMP 'MicrosoftEdgeEnterpriseX64.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 install-microsoft-edge.ps1
$url = 'https://download.microsoft.com/download/6a05dff7-d4e0-4e1f-a773-efe3f9c17341/MicrosoftEdgeEnterpriseARM64.msi'
$sha256 = 'EFBE5C1D991DA1A620F5AEE531729B6417FE8D6FAB49CB726A6C97E477B572B9'
$file = Join-Path $env:TEMP 'MicrosoftEdgeEnterpriseARM64.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 install-microsoft-edge.ps1
$url = 'https://download.microsoft.com/download/6a05dff7-d4e0-4e1f-a773-efe3f9c17341/MicrosoftEdgeEnterpriseX86.msi'
$sha256 = '8FC2F8E437980DDC0FEED79398295DD16A5B0CAB370DFD5D1D5D82340278EBE1'
$file = Join-Path $env:TEMP 'MicrosoftEdgeEnterpriseX86.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