I'd like to condition a file or component based on the appsearch feature.

What I've done was used the appsearch feature to look for a file. I now go to the file file component and for condition I've used this parameter:

%LDFCHECKER~="Audit.LDF"

Whereas LDFCHECKER is the property of the appsearch and Audit.LDF is the Componentname. I want the product to install only if the %LDFCHECKER comes back as ZERO or Not Found.

i would have checked this by installing but it's a big compile and will take some time. Yes I could have simply created a dummy package but I've come here. So should what I've done work?

Thanks for your help.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
The simplest route is to set the property to a string (I typically use the word NONE) then test for it still being NONE (or not, depending on hoew convoluted you want your logic!) in your condition. I would avoid using '%' in the property name as this has a special meaning in formatted text terms (see MSI.CHM for details on formatted text).
Answered 11/02/2011 by: VBScab
Red Belt

Please log in to comment
0
Thank You, this worked out perfect.
Answered 11/02/2011 by: Secondlaw
Third Degree Blue Belt

Please log in to comment
Answer this question or Comment on this question for clarity