Hello Mike,
I'm afraid I misunderstood your first post. I'm sorry for that.
In case you are using our predefined support for a search, that search is executed in either
"Wizard Dialogs Stage" or
"Install Execution Stage" during the
"AppSearch" standard action, as stated in the
"Windows Installer Standard Actions" article. If the package uses an "UI", the search will be performed by
"InstallUISequence" -->
"AppSearch". Otherwise, the search will be performed by
"InstallExecyteSequence" -->
"AppSearch".
In this case, we have to condition the execution of the
"AppSearch" standard action. Please keep in mind that this will affect all your searches (in case you have more than one). In order to achieve this, you can go to
"Custom Actions" page --> under
"Install Execution Stage" right click on any of the action groups -->
"Show Standard Actions" -->
"Searches" --> and click on
"AppSearch". This way, the
"AppSearch" standard action will be shown in the actions groups. Now click on the earlier added action and in
"Execution condition" field you can add one of the following conditions:
or
or
Hope this helps!
Regards,
Catalin