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.
Photo

Display ticks against tasks as they are executed


4 replies to this topic

Dave I

Dave I
  • Members
  • 195 posts

Posted 20 July 2001 - 15:40

Prior to installing my application I need to install various 3rd party components i.e. IE5.5, Java, MDAC,etc.  These need to be installed before my UI even starts i.e. Immediate sequence

I would like to reproduce the windows convention of  having a Box in the Upper-left hand corner of the screen showing the status of the tasks being carried out

        _____________________
        | Requirement Status:        |
        |                                               |
        |     \/           Java Runtime    |
        |    \/           Java 3D                |
        |                 Internet Explorer.|
        |____________________ |

With the ticks being displayed as each CA to install the component is executed.  The ActionText method only applies to Deferred actions which is of no use.  Does anyone have an idea how I could implement this.

Can I get the name of the CA currently being excecute or its name?

I refering to actual "ticks" not the units of the progress bar.

Thanks In Advance,
Dave.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 21 July 2001 - 06:14

With "ticks" do you mean the check marks in front of each item when it is finished?

You could do something like this using modeless dialogs, similar to the SetupInitialization dialog.


Dave I

Dave I
  • Members
  • 195 posts

Posted 21 July 2001 - 13:30

Sorry, Stefan, I am still having no luck.

Here are the steps I am carrying out:

I create a Immediate CA,MessageBox1, which simply calls MessageBox
I added an entry into the Actiontext table: MessageBox1, Currently display a messagebox!!!, (Left this blank)
Create a dialog, dlgProgress, with Keep Modless=FALSE and Modal=FALSE
I added a Text control with behaviour->subscription: ActionText, Text

DlgProgress is displayed and the Messagebox is displayed but the text control on the dialog is not being updated what am I doing wrong???


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 21 July 2001 - 20:15

ActionText messages only work in execute sequence between InstallInitialize and InstallFinalize.

You could have the following in your UI sequence:
Modeless dialog "installing package X"
CA install package X
Modeless dialog "installing package Y"
CA install package Y

Modeless dialogs are automatically removed when the next dialog is displayed.

Of course the layout of your modeless dialogs could be a list with tasks, and checkmarks next to them. I don't think you can use a progress bar.