We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

dwilley

Local Hard Drive File Search

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
Mike
Posts: 292
Joined: Wed Jun 01, 2005 10:50 am
Location: Craiova, Romania
Contact: Website

Hi,

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.

All the best,
Mihai
Mihai Bobaru
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”