/build/static/layout/Breadcrumb_cap_w.png

Launch Condition Help

I am writing an installation that requires Oracle using WPS. I have created a property called:

ORAPATH: C:\Oracle\ora92\bin\

My launch condition is set to

If NOT ORAPATH then (display not installed error message)

The NOT ORAPATH is what is in the condition builder but I believe incorrect. Launch condition won't work.
Could someone help me with the correct syntax? Thanks

0 Comments   [ + ] Show comments

Answers (5)

Posted by: AngelD 17 years ago
Red Belt
0
Your launch condition is correct and should work.
Verify that the launch condition has been added in the LaunchCondition table, should look something like:
Condition; Description
NOT ORAPATH; Oracle not installed
Posted by: donkeykonger30 17 years ago
Senior Yellow Belt
0
Still no sucess, I have verified the LaunchCondition Table and it does show it present, however when I install it on a test machine without Oracle it begins installation.
Posted by: AngelD 17 years ago
Red Belt
0
Try this:
Add a property called ORAPATH=0
Search for the file/directory using "System Search" and put the result in the ORAPATH property
In the LaunchCondition table use the Condition: ORAPATH ~<> 0
Posted by: sikkert 17 years ago
Orange Senior Belt
0
If you have set the property ORAPATH to a value, then ORAPATH will always evaluate to true, because it has got a value.
What you need is to do an APPSEARCH (Using System Search, as AngelD says), to see if c:\oracle\ora92\bin exists, and to put this result into the property ORAPATH.
If the system finds the directory, then ORAPATH will evaluate to true. If not, it will be false. If you do it this way, then don't create the property ORAPATH in the property table.
Posted by: AngelD 17 years ago
Red Belt
0
Hi sikkert,

I tried that approach myself but it didn't seem to work... not sure why.
By using the condition "ORAPATH ~<> 0" with a predefined property did the trick.
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