Implement Exec Path Check in ExtractPrograms.ps1

This commit is contained in:
Rohan Barar 2024-09-02 12:09:44 +10:00
parent f2afc99339
commit e224e233cc

View File

@ -192,8 +192,10 @@ function AppSearchWinReg {
# Get corresponding application names for unique installed executable files.
foreach ($exePath in $exePaths) {
if (Test-Path -Path $exePath) {
$exeNames += GetApplicationName -exePath $exePath
}
}
# Process extracted executable file paths.
PrintArrayData -Names $exeNames -Paths $exePaths -Source "winreg"