mirror of
https://github.com/msvc-win/get.msvc.win.git
synced 2025-12-14 12:17:40 +00:00
Show progress inside PS window
This commit is contained in:
parent
2b379de41f
commit
5ed7b9e19a
2 changed files with 4 additions and 4 deletions
|
|
@ -248,10 +248,10 @@ function Main {
|
|||
}
|
||||
else {
|
||||
if ($isServer) {
|
||||
Start-Process -FilePath "$env:SystemRoot\System32\Dism.exe" -ArgumentList "/online /enable-feature /featurename:netfx3 /all" -Wait
|
||||
Dism /Online /Enable-Feature /FeatureName:NetFx3 /All
|
||||
}
|
||||
else {
|
||||
Start-Process -FilePath "$env:SystemRoot\System32\Dism.exe" -ArgumentList "/online /enable-feature /featurename:netfx3" -Wait
|
||||
Dism /Online /Enable-Feature /FeatureName:NetFx3
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
4
net35
4
net35
|
|
@ -162,10 +162,10 @@ function Main {
|
|||
}
|
||||
else {
|
||||
if ($isServer) {
|
||||
Start-Process -FilePath "$env:SystemRoot\System32\Dism.exe" -ArgumentList "/online /enable-feature /featurename:netfx3 /all" -Wait
|
||||
Dism /Online /Enable-Feature /FeatureName:NetFx3 /All
|
||||
}
|
||||
else {
|
||||
Start-Process -FilePath "$env:SystemRoot\System32\Dism.exe" -ArgumentList "/online /enable-feature /featurename:netfx3" -Wait
|
||||
Dism /Online /Enable-Feature /FeatureName:NetFx3
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue