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

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
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
Answered 07/31/2006 by: AngelD
Red Belt

Please log in to comment
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.
Answered 07/31/2006 by: donkeykonger30
Senior Yellow Belt

Please log in to comment
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
Answered 08/01/2006 by: AngelD
Red Belt

Please log in to comment
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.
Answered 08/01/2006 by: sikkert
Orange Senior Belt

Please log in to comment
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.
Answered 08/01/2006 by: AngelD
Red Belt

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