Please note that the path variable contains not one path, but many paths concatenated and separated by ';'. Note that there is no way to know how many paths it contains. Therefore, for your purposes, it is recommended that the search be done by a custom action instead of Windows Installer.
FOLLOW US
Get the latest news in Application Packaging