mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-14 22:09:26 +00:00
[Windows] Update Edge installer (#8006)
This commit is contained in:
@@ -1,13 +1,8 @@
|
||||
################################################################################
|
||||
## File: Install-Edge.ps1
|
||||
## Desc: Install latest stable version of Microsoft Edge browser
|
||||
## Desc: Configure Edge browser and install Edge WebDriver
|
||||
################################################################################
|
||||
|
||||
# Installed by default on Windows Server 2022
|
||||
if (-not (Test-IsWin22)) {
|
||||
Choco-Install -PackageName microsoft-edge
|
||||
}
|
||||
|
||||
# Disable Edge auto-updates
|
||||
Rename-Item -Path "C:\Program Files (x86)\Microsoft\EdgeUpdate\MicrosoftEdgeUpdate.exe" -NewName "Disabled_MicrosoftEdgeUpdate.exe" -ErrorAction Stop
|
||||
|
||||
|
||||
Reference in New Issue
Block a user