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"?
abort and installer status
4 posts
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.
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.
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.
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".
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".