/build/static/layout/Breadcrumb_cap_w.png

File or component condition

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

Answers (2)

Posted by: anonymous_9363 12 years ago
Red Belt
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).
Posted by: Secondlaw 12 years ago
Third Degree Blue Belt
0
Thank You, this worked out perfect.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ