Skip to content

Commit

Permalink
Try a fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
dima-iholkin committed Aug 13, 2024
1 parent 2fb441c commit cfdf5bc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Installer/_scripts/_helpers.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -257,10 +257,13 @@ function RunVS2022 {
$wshell = New-Object -ComObject wscript.shell
# Wait until activating the target process succeeds.
# Note: You may want to implement a timeout here.
Start-Sleep -Seconds 30
Start-Sleep -Seconds 40
Write-Output "Sending enter to the VS 2022 window"
$wshell.SendKeys('{ENTER}')
Start-Sleep -Seconds 20
Start-Sleep -Seconds 10
Write-Output "Sending enter to the VS 2022 window"
$wshell.SendKeys('{ENTER}')
Start-Sleep -Seconds 10
# Write-Output "Sending enter to the VS 2022 window"
# $wshell.SendKeys('{ENTER}')
# Start-Sleep -Seconds 10
Expand Down

0 comments on commit cfdf5bc

Please sign in to comment.