Ordres per instal·lar Microsoft Edge Beta sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb winget
PowerShell
winget install --id Microsoft.Edge.Beta -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.Edge.Beta -e --silentwinget uninstall --id Microsoft.Edge.Beta -e --silentPer instal·lador
64 bits · MSI · Tots els usuaris · en-US
Instal·lació silenciosa
msiexec /i MicrosoftEdgeBetaEnterpriseX64.msi /qn /norestartDesar un registre
msiexec /i MicrosoftEdgeBetaEnterpriseX64.msi /qn /norestart /l*v "%TEMP%\microsoft-edge-beta-install.log"ARM64 · MSI · Tots els usuaris · en-US
Instal·lació silenciosa
msiexec /i MicrosoftEdgeBetaEnterpriseARM64.msi /qn /norestartDesar un registre
msiexec /i MicrosoftEdgeBetaEnterpriseARM64.msi /qn /norestart /l*v "%TEMP%\microsoft-edge-beta-install.log"32 bits · MSI · Tots els usuaris · en-US
Instal·lació silenciosa
msiexec /i MicrosoftEdgeBetaEnterpriseX86.msi /qn /norestartDesar un registre
msiexec /i MicrosoftEdgeBetaEnterpriseX86.msi /qn /norestart /l*v "%TEMP%\microsoft-edge-beta-install.log"PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-microsoft-edge-beta.ps1
$url = 'https://download.microsoft.com/download/1534abe1-c667-4748-b434-e1f028289a60/MicrosoftEdgeBetaEnterpriseX64.msi'
$sha256 = '67BF795A970E537AF59138D1968AEDCA21B8A42915968BE796870059046B76F3'
$file = Join-Path $env:TEMP 'MicrosoftEdgeBetaEnterpriseX64.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-beta.ps1
$url = 'https://download.microsoft.com/download/1534abe1-c667-4748-b434-e1f028289a60/MicrosoftEdgeBetaEnterpriseARM64.msi'
$sha256 = '7EF143D6B264AB736D674410984495C11D588BA609D772B071D3CDC8B91FECFC'
$file = Join-Path $env:TEMP 'MicrosoftEdgeBetaEnterpriseARM64.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-beta.ps1
$url = 'https://download.microsoft.com/download/1534abe1-c667-4748-b434-e1f028289a60/MicrosoftEdgeBetaEnterpriseX86.msi'
$sha256 = '79B7ED2079E2277891B7B179E5424926E3EA5F2A592478CAC94E6791A7F6D0DC'
$file = Join-Path $env:TEMP 'MicrosoftEdgeBetaEnterpriseX86.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