Search property was found condition - 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!

stevo.zilik
Posts: 42
Joined: Thu Jul 19, 2007 1:39 pm

Search property was found condition

Hi,

I have a Property that is filled using Search from target computer registry value. Based on this value, I need to define custom action launch condition. This Property must be set to launch that custom action. Lets say Property name is INSTALL_DIR , so my launch condition now looks like:

INSTALL_DIR<>""

this doesn't work. It always throws Is Valid when validating (the registry value is not set yet). Even if opposite is used (INSTALL_DIR=""), it Is Valid too...

how to define that this property is not set condition ?

thankx
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

In order to use the result of a search to condition the custom action you can use these conditions:

Code: Select all

INSTALL_DIR (the search was succesful)
NOT INSTALL_DIR (the search found nothing)
Note that the value of the property used by the search is set after the "AppSearch" standard action.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”