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,7 +192,9 @@ function AppSearchWinReg {
# Get corresponding application names for unique installed executable files.
foreach ($exePath in $exePaths) {
$exeNames += GetApplicationName -exePath $exePath
if (Test-Path -Path $exePath) {
$exeNames += GetApplicationName -exePath $exePath
}
}
# Process extracted executable file paths.