ajay662
19th March 2007 22:54 UTC
abort and installer status
When my script executes "abort" statement, I do get a ".onInstFailed" callback but the status window says "MyApp setup: completed".
Why does it not say "Failed" in this case? How can I make the status say "Failed" when script executes "abort"?
ajay662
20th March 2007 14:12 UTC
Any suggestions?
I thought of overwriting CompletedText in ".onInstFailed" function but compiler wouldn't let me set this inside a function, so I guess CompletedText can not be changed dynamically at run time.
Any other thoughts? I just think its confusing for banner to say "My App setup: completed" when it should be "My App setup: failed" when hitting abort statement.
onad
20th March 2007 18:23 UTC
Since aborted is not a failure... (it is aborting). To be able to help more it would be good if you describe the goal you would like to achieve in detail.
ajay662
20th March 2007 21:36 UTC
Well, abort triggers call back .onInstFailed so I am treating abort=failure. And I am using abort that way in my installer script.
When my script calls abort I want to make it very clear to the user that installer has failed and I thought the best place would be at the caption where it could say "My app setup : failed".