mirror of
https://github.com/winapps-org/winapps.git
synced 2025-08-06 02:38:26 +02:00
Implement Exec Path Check in ExtractPrograms.ps1
This commit is contained in:
@@ -192,8 +192,10 @@ function AppSearchWinReg {
|
|||||||
|
|
||||||
# Get corresponding application names for unique installed executable files.
|
# Get corresponding application names for unique installed executable files.
|
||||||
foreach ($exePath in $exePaths) {
|
foreach ($exePath in $exePaths) {
|
||||||
|
if (Test-Path -Path $exePath) {
|
||||||
$exeNames += GetApplicationName -exePath $exePath
|
$exeNames += GetApplicationName -exePath $exePath
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
# Process extracted executable file paths.
|
# Process extracted executable file paths.
|
||||||
PrintArrayData -Names $exeNames -Paths $exePaths -Source "winreg"
|
PrintArrayData -Names $exeNames -Paths $exePaths -Source "winreg"
|
||||||
|
Reference in New Issue
Block a user