-
-
Save developerprofiles/079b70ac123fa66785707bc0e186f7ec to your computer and use it in GitHub Desktop.
Install Microsoft Visual Studio 2010 Shell (Isolated) Redistributable Package
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if ((Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Where-Object {$_.DisplayName -eq "Microsoft Visual Studio 2010 Shell (Isolated) - ENU"}) -ne $null) | |
| { | |
| Write-Host "Microsoft Visual Studio 2010 Shell (Isolated) Redistributable Package already installed." | |
| } | |
| else | |
| { | |
| Measure-command { | |
| Write-Host "Downloading Microsoft Visual Studio 2010 Shell (Isolated) Redistributable Package..." | |
| $exePath = "$($env:USERPROFILE)\VSIsoShell.exe" | |
| (New-Object Net.WebClient).DownloadFile('https://download.microsoft.com/download/1/9/3/1939AD78-F8E8-4336-83F3-E2470F422C62/VSIsoShell.exe', $exePath) | |
| Write-Host "Installing Microsoft Visual Studio 2010 Shell (Isolated) Redistributable Package..." | |
| cmd /c start /wait "$exePath" /q /norestart | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment