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

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
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.
Answered 02/11/2011 by: joedown
Second Degree Brown Belt

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