Search file only on target computer's path - Advanced Installer Community

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!

wyin
Posts: 9
Joined: Thu Sep 24, 2009 9:05 pm

Search file only on target computer's path

Is there a way to do a search file only on the target computer's path environment variable?
I tried using %Path, but that didn't seem to work.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Search file only on target computer's path

Hello,

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.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”