Is there a way to have the install routine search the local hard drives for a specific file during the installation process. I've tried C:;D: in the Path Properties box and nothing in the Property Picker Dialog window looks like what I need
Generally, all the applications should be installed in the "Program Files" folder, on the Windows Volume.
However, to search for a file in multiple locations you have to create a couple of file searches with the same name. Each search will search for the same file, but will have another location (folder).
The drive where the Windows operating system is installed is given by the [WindowsVolume] property. The problem is that there is no other predefined property with the value of the other drives.
You can choose as the directory location for the file search say "d:\" but you cannot be sure that this drive exists. If it doesn't exists is no problem, only you have to make a search for every drive you suspect might be present on the target machine.
A better solution would be to search in the registry. Many applications have a key which stores the path where they are installed.
FOLLOW US
Get the latest news in Application Packaging