$NetFx4ClientUrl = 'http://download.microsoft.com/download/5/6/2/562A10F9-C9F4-4313-A044-9C94E0A8FAC8/dotNetFx40_Client_x86_x64.exe' $NetFx4FullUrl = 'http://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe' $NetFx4Path = 'c:\vagrantshared\resources\NetFx4' $NetFx4InstallerFile = 'dotNetFx40.exe' $NetFx4Installer = Join-Path $NetFx4Path $NetFx4InstallerFile function Is64Bit { [IntPtr]::Size -eq 8 } function Enable-Net40 { if(Is64Bit) {$fx="framework64"} else {$fx="framework"} if(!(test-path "$env:windir\Microsoft.Net\$fx\v4.0.30319")) { if (!(Test-Path $NetFx4Path)) { Write-Host "Creating folder `'$NetFx4Path`'" $null = New-Item -Path "$NetFx4Path" -ItemType Directory } if (!(Test-Path $NetFx4Installer)) { Write-Host "Downloading `'$NetFx4ClientUrl`' to `'$NetFx4Installer`'" (New-Object Net.WebClient).DownloadFile("$NetFx4ClientUrl","$NetFx4Installer") } $psi = New-Object System.Diagnostics.ProcessStartInfo $psi.WorkingDirectory = "$NetFx4Path" $psi.FileName = "$NetFx4InstallerFile" $psi.Arguments = "/q /norestart /repair /log `'$NetFx4Path\NetFx4Install.log`'" #$psi.WindowStyle = [System.Diagnostics.ProcessWindowStyle]::Minimized; Write-Host "Installing `'$NetFx4Installer`'" $s = [System.Diagnostics.Process]::Start($psi); $s.WaitForExit(); # if ($s.ExitCode -ne 0) { # Write-Error ".NET Framework install failed with exit code `'$($s.ExitCode)`'." # } } } Enable-Net40
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 25621 | Jen Bottom | Integrating sone fixes from dev to main | ||
#1 | 25032 | Jen Bottom | Creating the 'moddern_ie' folder, for the Microsoft created Vagrant box | ||
//guest/jen_bottom/vagrant/windows/win10/install_net4.ps1 | |||||
#3 | 25031 | Jen Bottom | Resorecting older versions of the Windows boxes based on Microsoft Vagrant images, to see if they resolve the audio issue | ||
#2 | 24911 | Jen Bottom |
Integrating changes to Windows10 setup from dev to main. Currently Audio is very choppy with NVDA. Unsure if this is a issue with drivers, VirtualBox, my environment... |
||
#1 | 24041 | Jen Bottom | Integrating changes to Windows scripts layout and Windows box changes to main | ||
//guest/jen_bottom/vagrant/windows/install_net4.ps1 | |||||
#1 | 18706 | jenbottom | Moving some files aroudn to make things less messy and hopefully easier to find | ||
//guest/jen_bottom/vagrant/install_net4.ps1 | |||||
#1 | 18023 | jenbottom | Adding the scripts to install chocolaty on the windows VM |