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!

ucramos
Posts: 16
Joined: Wed Jan 15, 2014 9:57 pm

Rerun a CUSTOM BEHAVIOR SEARCH during the config process

I have several searches defined.

One of the searches is a FILE SEARCH with no min or max version that i use to fill a text box with a "Found" or "Not Found" message.
The other one is a FILE SEARCH with a min and max version that i use to fill a text box with a "Compatible" or "Not Compatible" message.
Then these result enable/disable the NEXT button.

However i need to rerun these 2 searches every time i browse the appdir on the installer and update it, by selecting the same or another one.

I´m not finding a way to rerun the search, not even using CUSTOM ACTIONS.

Could anyone help?

Or if this isn´t possible, maybe use a vbs script that does the same?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Rerun a CUSTOM BEHAVIOR SEARCH during the config process

Hello,

Unfortunately, this cannot be done by using our "Search" page. All searches defined in "Search" page are executed only once during the "Wizard Dialogs Stage -> AppSearch" standard action (if the installation is launched with full UI) or during "Install Execution Stage -> AppSearch" standard action (if the installation is not launched with full UI).

You can implement this dynamic custom search behavior only by using a custom action (triggered by a published event of an UI control - e.g. a button) which will search for the file and set the results into installer properties. However, I'm afraid we don't have any code example for such custom actions.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”