Skip to content

Commit

Permalink
chocolatey-visualstudio.extension: make sure no existing VS installer…
Browse files Browse the repository at this point in the history
… processes are running

GitHub-Issue: GH-13
  • Loading branch information
jberezanski committed May 15, 2018
1 parent 29f4b71 commit 128c24c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
)
Write-Debug "Running 'Start-VSServicingOperation' for $packageName with silentArgs:'$silentArgs', file:'$file', logFilePath:$logFilePath', operationTexts:'$operationTexts', assumeNewVS2017Installer:'$assumeNewVS2017Installer'"

Wait-VSInstallerProcesses -Behavior 'Fail'

$frobbed, $frobbing, $frobbage = $operationTexts

$successExitCodes = @(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
)
Write-Debug "Running 'Start-VisualStudioModifyOperation' with PackageName:'$PackageName' ArgumentList:'$ArgumentList' VisualStudioYear:'$VisualStudioYear' ApplicableProducts:'$ApplicableProducts' OperationTexts:'$OperationTexts' Operation:'$Operation' RequiredProductVersion:'$RequiredProductVersion' BootstrapperUrl:'$BootstrapperUrl' BootstrapperChecksum:'$BootstrapperChecksum' BootstrapperChecksumType:'$BootstrapperChecksumType'";

Wait-VSInstallerProcesses -Behavior 'Fail'

$frobbed, $frobbing, $frobbage = $OperationTexts

if ($PackageParameters -eq $null)
Expand Down

0 comments on commit 128c24c

Please sign in to comment.