Is there a way to disable the "Cancel" button? In the <postInstallationActionList>, I use <runProgram> to run a script that compiles some source code. It can take a while. I'd like to disable the "Cancel" button during this external script so users can't interrupt the compile.
asked 26 Apr '12, 20:55
Currently it is not possible to disable the cancel button. You can use
Perhaps you can simply show a progress dialog and mention in the text that cancelling may cause the installation to be partially left on the system or any other side effects that it may have? If users need to cancel, they will know the implications.
It is documented in more details in Displaying Progress While Executing Long Running Actions section of InstallBuilder User Guide.
As for configuring the cancel button being disabled, we have added your suggestion to our bug tracking system.
answered 27 Apr '12, 03:00