Lines Matching refs:Path
29 New-Item -Path $DefaultDownloadFolder -ItemType Container -ErrorAction SilentlyContinue in Start-Setup()
63 Remove-Item -Path "C:\Downloads" -Recurse -ErrorAction SilentlyContinue in Stop-Setup()
117 $file = [System.IO.Path]::Combine("C:\Downloads", $FileName) in Get-File()
163 Set-Item -Path Env:$Name -Value $Value in Add-EnvironmentVariable()
164 …New-Item -Path "HKLM:\System\CurrentControlSet\Control\Session Manager\Environment" -ItemType Stri… in Add-EnvironmentVariable()
352 [string]$Path, in Install-FromMSI() variable
365 if (-not (Test-Path $Path)) in Install-FromMSI() variable
367 throw "CDPXERROR: Could not find the MSI installer package at $Path" in Install-FromMSI() variable
370 $fileNameOnly = [System.IO.Path]::GetFileNameWithoutExtension($Path) in Install-FromMSI()
372 $log = [System.IO.Path]::Combine($env:TEMP, $fileNameOnly + ".log") in Install-FromMSI()
374 $args = "/quiet /qn /norestart /lv! `"$log`" /i `"$Path`" $Arguments" in Install-FromMSI()
376 Trace-Message "Installing from $Path" in Install-FromMSI() variable
379 $ex = Start-ExternalProcess -Path "msiexec.exe" -Arguments $args in Install-FromMSI()
383 …Trace-Message "Install from $Path exited with code 3010. Ignoring since that is just indicating re… in Install-FromMSI() variable
393 Trace-Message "Install from $Path succeeded with exit code $ex" in Install-FromMSI() variable
399 Trace-Error "Failed to install from $Path. Process exited with code $ex" in Install-FromMSI() variable
403 throw "Failed to install from $Path. Process exited with code $ex" in Install-FromMSI() variable
436 [string]$Path, in Install-FromEXE() variable
449 Trace-Message "Running $Path" in Install-FromEXE() variable
451 $ex = Start-ExternalProcess -Path $Path -Arguments $Arguments in Install-FromEXE()
455 …Trace-Message "Install from $Path exited with code 3010. Ignoring since that is just indicating re… in Install-FromEXE() variable
465 Trace-Message "Install from $Path succeeded with exit code $ex" in Install-FromEXE() variable
471 Trace-Error "Failed to install from $Path. Process exited with code $ex" in Install-FromEXE() variable
475 throw "Failed to install from $Path. Process exited with code $ex" in Install-FromEXE() variable
507 [string]$Path, in Install-FromInnoSetup() variable
518 $fileNameOnly = [System.IO.Path]::GetFileNameWithoutExtension($Path) in Install-FromInnoSetup()
525 …Install-FromEXE -Path $Path -Arguments $args -IgnoreExitCodes $IgnoreExitCodes -IgnoreFailures:$Ig… in Install-FromInnoSetup() variable
556 [string]$Path, in Install-FromDevDivToolsInstaller() variable
567 $fileNameOnly = [System.IO.Path]::GetFileNameWithoutExtension($Path) in Install-FromDevDivToolsInstaller()
577 … Install-FromEXE -Path $Path -Arguments $args -IgnoreExitCodes $iec -IgnoreFailures:$IgnoreFailures in Install-FromDevDivToolsInstaller() variable
605 …Start-ExternalProcess -Path "C:\ProgramData\chocolatey\bin\choco.exe" -Arguments @("install","-y",… in Install-FromChocolatey()
639 [string]$Path, in Install-FromEXEAsyncWithDevenvKill() variable
659 Trace-Message "Running $Path with $Arguments" in Install-FromEXEAsyncWithDevenvKill() variable
661 $process = Start-Process $Path -PassThru -Verbose -NoNewWindow -ArgumentList $Arguments in Install-FromEXEAsyncWithDevenvKill()
663 $pn = [System.IO.Path]::GetFileNameWithoutExtension($Path) in Install-FromEXEAsyncWithDevenvKill()
680 …Wait-WithMessage -Message "Waiting for process with ID $pid launched from $Path to finish now that… in Install-FromEXEAsyncWithDevenvKill()
688 Trace-Message "Install from $Path succeeded with exit code 0" in Install-FromEXEAsyncWithDevenvKill() variable
697 Trace-Message "Install from $Path succeeded with exit code $ex" in Install-FromEXEAsyncWithDevenvKill() variable
703 Trace-Error "Failed to install from $Path. Process exited with code $ex" in Install-FromEXEAsyncWithDevenvKill() variable
707 throw "CDPXERROR: Failed to install from $Path. Process exited with exit code $ex" in Install-FromEXEAsyncWithDevenvKill() variable
742 [string]$Path = $Env:TEMP, in Confirm-PresenceOfVisualStudioErrorLogFile() variable
751 if (Test-Path $Path) in Confirm-PresenceOfVisualStudioErrorLogFile() variable
753 Trace-Message "Checking if error log files matching the filter $Filter exist in $Path" in Confirm-PresenceOfVisualStudioErrorLogFile()
755 Get-ChildItem -Path $Path -Filter $Filter | in Confirm-PresenceOfVisualStudioErrorLogFile() variable
765 … throw "CDPXERROR: At least one error log file $file matching $Filter was found in $Path." in Confirm-PresenceOfVisualStudioErrorLogFile()
776 Trace-Warning "Folder $Path does not exist. Skipping checks." in Confirm-PresenceOfVisualStudioErrorLogFile() variable
955 Get-ChildItem -Directory -Path $Env:TEMP | ForEach-Object { in Reset-TempFolders()
958 Remove-Item -Recurse -Force -Path $p -ErrorAction SilentlyContinue in Reset-TempFolders()
961 Get-ChildItem -File -Path $Env:TEMP | ForEach-Object { in Reset-TempFolders()
964 Remove-Item -Force -Path $_.FullName -ErrorAction SilentlyContinue in Reset-TempFolders()
967 Get-ChildItem -Directory -Path "C:\Windows\Temp" | ForEach-Object { in Reset-TempFolders()
970 Remove-Item -Recurse -Force -Path $_.FullName -ErrorAction SilentlyContinue in Reset-TempFolders()
973 Get-ChildItem -File -Path "C:\Windows\Temp" | ForEach-Object { in Reset-TempFolders()
976 Remove-Item -Force -Path $_.FullName -ErrorAction SilentlyContinue in Reset-TempFolders()
1015 [string]$Path, in Confirm-FileHash() variable
1026 Trace-Message "Verifying content hash for file $Path" in Confirm-FileHash() variable
1028 $exists = Test-Path -Path $Path -PathType Leaf in Confirm-FileHash()
1032 throw "CDPXERROR: Failed to find file $Path in order to verify hash." in Confirm-FileHash() variable
1035 $hash = Get-FileHash $Path -Algorithm $Algorithm in Confirm-FileHash()
1039 throw "File $Path hash $hash.Hash did not match expected hash $expectedHash" in Confirm-FileHash() variable
1068 [string]$Path, in Start-ExternalProcess() variable
1074 Trace-Message "Executing application: $Path $Arguments" in Start-ExternalProcess() variable
1079 $errLogFile = Join-Path -Path $Env:TEMP -ChildPath $errLogFileName in Start-ExternalProcess()
1080 $outLogFile = Join-Path -Path $Env:TEMP -ChildPath $outLogFileName in Start-ExternalProcess()
1081 $workDir = [System.IO.Path]::GetDirectoryName($Path) in Start-ExternalProcess()
1086 …$process = Start-Process -FilePath $Path -ArgumentList $Arguments -NoNewWindow -PassThru -Redirect… in Start-ExternalProcess()
1090 …$process = Start-Process -FilePath $Path -NoNewWindow -PassThru -RedirectStandardError $errLogFile… in Start-ExternalProcess()
1097 Trace-Message -Message "Started process from $Path with PID $pid (and cached handle $handle)" in Start-ExternalProcess() variable
1158 [string]$Path, in Run-ExternalProcessWithWaitAndKill() variable
1171 …Trace-Message "Executing application: $Path $Arguments. Will wait $Minutes minutes before killing … in Run-ExternalProcessWithWaitAndKill() variable
1176 $errLogFile = Join-Path -Path $Env:TEMP -ChildPath $errLogFileName in Run-ExternalProcessWithWaitAndKill()
1177 $outLogFile = Join-Path -Path $Env:TEMP -ChildPath $outLogFileName in Run-ExternalProcessWithWaitAndKill()
1178 $workDir = [System.IO.Path]::GetDirectoryName($Path) in Run-ExternalProcessWithWaitAndKill()
1183 …$process = Start-Process -FilePath $Path -NoNewWindow -PassThru -RedirectStandardError $errLogFile… in Run-ExternalProcessWithWaitAndKill()
1187 …$process = Start-Process -FilePath $Path -ArgumentList $Arguments -NoNewWindow -PassThru -Redirect… in Run-ExternalProcessWithWaitAndKill()
1194 Trace-Message -Message "Started process from $Path with PID $pid (and cached handle $handle)" in Run-ExternalProcessWithWaitAndKill() variable
1216 Trace-Message "Application $Path exited with exit code $ex" in Run-ExternalProcessWithWaitAndKill() variable
1435 $sourceDir = [System.IO.Path]::GetDirectoryName($Source); in Expand-ArchiveWith7Zip()
1443 …Install-FromEXE -Path $ToolPath -Arguments "x -aoa -y `"$Source`" -o`"$Destination`"" -IgnoreFailu… in Expand-ArchiveWith7Zip()
1487 … Trace-Message "Invoking AzCopy CLI to download package $Name version $Version to $Path from $url" in Get-BlobPackageFromBase()
1491 … Run-ExternalProcessWithWaitAndKill -Path "C:\AzCopy\azcopy.exe" -Arguments $Arguments -Minutes 30 in Get-BlobPackageFromBase()
1497 return $Path in Get-BlobPackageFromBase() variable
1530 [string]$Path="C:\Downloads", in Get-BlobPackageFromEdge() variable
1738 $ppath = $process.Path in Run-VisualStudioInstallerProcessMonitor()
1764 Get-Content -Path $setupLogPath | Write-Host in Run-VisualStudioInstallerProcessMonitor()