Jump to content

This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

Enable/Disable Button

1 reply to this topic


  • Members
  • 2 posts

Posted 05 April 2002 - 10:48

Can I dynamically disable a "Cancel" pushbutton in "SetupProgress" dialog after running some action, which was included in installation script between InstallInitialize and InstallFinalize ?

Thanks in advance.


  • Members
  • 227 posts

Posted 12 April 2002 - 20:47

If your custom actions are immediatelly, then you can set after they a property like DISABLECANCEL as 1 and use this property in a dialog to set the Cancel button as Disable. So
1. create a custome action to set a property,
2. include(run) this action after yours desired actions,
3. go to the Designer User Interface/Dialogs/SetupProgress/Behavior, select a ControlName Cancel, select Conditions and set
Action         Condition
Disable         DISABLECANCEL=1

The Cancel button should be disable if this property equals 1.
Irina Shirinsky
Software Engineer, Heroix Corporation