Hello,
In order to search for the related file directory location you can go in the
Search page and use the
Wizard New Search toolbar button to quickly and easily set up a new search, following step-by-step directions. The result of your search will be stored in the property assigned to your search operation (by default it is
RESULT_PROPERTY).
Then, you can set the
APPDIR with the value of the property assigned to the search operation through the
Set installer property custom action. Please note that you need to condition the execution of this custom action so it can only be executed when the search operation is successfully (e.g. the related file was found). Just add the name of the search operation in the
Condition field of the custom action. (e.g.
RESULT_PROPERTY). If you won't condition the execution of this custom action, the APPDIR might be set with an empty string when the .EXE is not found; so you will get an error during installation.
Please let us know if that helped.
Best regards,
Dan
FOLLOW US
Get the latest news in Application Packaging