Apply Install sets SUCCESS = COMPLETE?
Posted: Sun Jul 01, 2007 8:01 pm
I have this code:
I found that SUCCESS = COMPLETE, and the Register Library line does not register anything.
If I remove the two IF lines, then the Register Library works fine.
Is there any problem with changing it to:
if Variable ADVERTISE Equals TRUE
Apply Advertised (get result into variable SUCCESS)
else
Apply Install (get result into variable SUCCESS)
if Variable SUCCESS Equals TRUE
if Variable SUCCESS not Equals Cancel
Register Library $TARGETDIR$\\ctText.ocx
I found that SUCCESS = COMPLETE, and the Register Library line does not register anything.
If I remove the two IF lines, then the Register Library works fine.
Is there any problem with changing it to:
Apply Install (get result into variable SUCCESS)
if Variable SUCCESS Equals COMPLETE
Register Library $TARGETDIR$\\ctText.ocx