Skip to content

Commit b2a4fb3

Browse files
committed
(fix) Specifies Source for Microsoft Edge Install
Offline installs that didn't have edge caught this issue, where an unspecified source meant it would try (and fail) to grab it from remote(s).
1 parent 01fb057 commit b2a4fb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Start-C4bNexusSetup.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ process {
9494
# Install a non-IE browser for browsing the Nexus web portal.
9595
if (-not (Test-Path 'C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe')) {
9696
Write-Host "Installing Microsoft Edge, to allow viewing the Nexus site"
97-
choco install microsoft-edge -y
97+
choco install microsoft-edge -y --source ChocolateyInternal
9898
if ($LASTEXITCODE -eq 0) {
9999
if (Test-Path 'HKLM:\SOFTWARE\Microsoft\Edge') {
100100
$RegArgs = @{

0 commit comments

Comments
 (0)