Added -Wait flag to Start-Process
Must wait in order for script to be availablepull/4420/head
parent
9c4220832a
commit
618b47cd77
|
@ -79,4 +79,4 @@ else
|
|||
$FileName = $DownLoadUrl.Split('/')[-1]
|
||||
download-file $downloadurl "$powershellpath\$filename"
|
||||
|
||||
Start-Process -FilePath "$powershellpath\$filename /quiet" -WindowStyle Hidden
|
||||
Start-Process -FilePath $powershellpath\$filename -WindowStyle Hidden -Wait
|
||||
|
|
Loading…
Reference in New Issue