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!

jfuhr
Posts: 41
Joined: Wed Mar 19, 2008 4:52 pm

Search for file to set the program's install folder

Currently using version 7.7 and the Search feature to locate an exectuable on the computer.

The problem is that the value returned is the full path including the filename. i.e. c:\program files\my company\myprogram.exe

There should be an option to just return the path: c:\program files\my company

so that it can be used to set the program's installation folder.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Search for file to set the program's install folder

Hello,

The search is executed by Windows Installer itself. You can create a custom action that takes the path and removes the part after the last backslash.

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

Return to “Feature Requests”