Disabling the "Cancel" button

Answered

Comments

1 comment

  • Avatar
    wojciechka

    Currently it is not possible to disable the cancel button. You can use <showProgressDialog> to indicate a long running process, but user will still be able to cancel it.

    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.

    <showProgressDialog>
       <title>Compiling, it may take several minutes. Aborting the installation at compilation phase may cause some files to be left on your computer and is not recommended.</title>
       <width>400</width>
       <height>100</height>
       <actionList>
         <!-- .... -->
       </actionList>
    </showProgressDialog>
    

    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.

Please sign in to leave a comment.