Skip to content

Commit

Permalink
(MAINT) Update to .Net 4.6.2
Browse files Browse the repository at this point in the history
As the latest version of .Net available
  • Loading branch information
John O'Connor committed Jul 24, 2017
1 parent 03f2199 commit 4983400
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions scripts/windows/slipstream.package.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ if (Test-PendingReboot){ Invoke-Reboot }
Write-BoxstarterMessage "Disabling Sleep timers"
Disable-PC-Sleep

if (-not (Test-Path "A:\NET461.installed"))
if (-not (Test-Path "A:\NET462.installed"))
{
# Install .Net Framework 4.5.2
Write-BoxstarterMessage "Installing .Net 4.6.1"
choco install dotnet4.6.1 -y --install-arguments="/q /norestart"
Touch-File "A:\NET461.installed"
Write-BoxstarterMessage "Installing .Net 4.6.2"
choco install dotnet-4.6.2 -y --install-arguments="/q /norestart"
Touch-File "A:\NET462.installed"
if (Test-PendingReboot) { Invoke-Reboot }
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ if (-not (Test-Path "A:\Autologon.installed"))
Touch-File "A:\Autologon.installed"
}

if (-not (Test-Path "A:\NET45.installed"))
if (-not (Test-Path "A:\NET462.installed"))
{
# Install .Net Framework 4.5.2
Write-BoxstarterMessage "Installing .Net 4.5"
choco install dotnet4.6.1 -y --install-arguments="/q /norestart"
Touch-File "A:\NET45.installed"
Write-BoxstarterMessage "Installing .Net 4.6.2"
choco install dotnet-4.6.2 -y --install-arguments="/q /norestart"
Touch-File "A:\NET462.installed"
if (Test-PendingReboot) { Invoke-Reboot }
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ if (Test-PendingReboot){ Invoke-Reboot }
Write-BoxstarterMessage "Disabling Sleep timers"
Disable-PC-Sleep

if (-not (Test-Path "A:\NET45.installed"))
if (-not (Test-Path "A:\NET462.installed"))
{
# Install .Net Framework 4.5.2
# Using explicit install here as choco install seems to misbehave sligtly with the /q argument
Write-BoxstarterMessage "Installing .Net 4.5"
choco install dotnet4.6.1 -y --install-arguments="/q /norestart"
Touch-File "A:\NET45.installed"
Write-BoxstarterMessage "Installing .Net 4.6.2"
choco install dotnet-4.6.2 -y --install-arguments="/q /norestart"
Touch-File "A:\NET462.installed"
if (Test-PendingReboot) { Invoke-Reboot }
}

Expand Down

0 comments on commit 4983400

Please sign in to comment.