/build/static/layout/Breadcrumb_cap_w.png

Setting condition on component

I have a component that is tied to a single registry entry. I only want the registry entry to deploy if a specific exe is not in Program Files\Progress\bin\dnewsite.exe. I have populated the following tables to check for the exe: AppSearch, Signature, and DrLocator. I'm not sure how to set the condition on the component to evaluate for true or false condition. My public property "DNEWSITE" always gets set to the value of C:\Program Files whether the exe exists or not.

Is this the best way to accomplish this or am I making this harder than it should be. I wish to do this in InstEd since it gives me a much better understanding of what is actually going on.

My table entries follow:

AppSearch:
DNEWSITE Dnewsite

DrLocator:
Dnewsite [ProgramFilesFolder] 4

Signature:
DNEWSITE dnewsite.exe

0 Comments   [ + ] Show comments

Answers (1)

Posted by: joedown 13 years ago
Third Degree Brown Belt
0
Figured it out. Set component condition to Not FileExists

My fixed table entries follow:

AppSearch:
FileExists DNEWSITE

DrLocator:
DNEWSITE [ProgramFilesFolder]Progress\DataXtend\bin 0

Signature:
DNEWSITE dnewsite.exe

Works great now. Learned something new.
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