any suggestions for how to collect current time at runtime?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • 6lickdrdunDchics
    Forum Member
    • Jun 2002
    • 13

    any suggestions for how to collect current time at runtime?

    i have been using a variable called %now% that i reinitialize on certain screens and actions, and write to a log file, thereby tracking how long the install is taking for certain parts.
    my problem is that i just now realized i'm only capturing the time at which the setup starts, not the current time. any suggestions? here's my current value for the variable:
    @%CurrentHour%:%CurrentMinute%:%CurrentSecond%
  • Adam
    Indigo Rose Staff Member
    • May 2000
    • 2149

    #2
    Re: any suggestions for how to collect current time at runtime?

    That is the way that the time variables work. They are set at the beginning of the Setup and are not updated.

    I have entered the ability to have real time dynamic values put into the time variables as a feature request for the developers to look into for future versions.

    Comment

    • Corey
      Indigo Rose Staff Alumni
      • Aug 2002
      • 9745

      #3
      Re: any suggestions for how to collect current time at runtime?

      Doesn't matter if you have absolute or relative time, according to your stated objective both will work just the same in terms of producing relevant info, i.e. how long each install segment spent processing.

      Corey Milner
      Creative Director, Indigo Rose Software

      Comment

      • 6lickdrdunDchics
        Forum Member
        • Jun 2002
        • 13

        #4
        Re: any suggestions for how to collect current time at runtime?

        thanks for the response. but let me clarify what i want to capture by way of example:
        start setup = 06/19/03 @10:34:17
        start "after install" actions = 06/19/03 @10:34:47
        finished unzip tomcat = 06/19/03 @10:38:17
        etc...

        i guess i could contrivbe a way to use bat files or use a little java program...

        Comment

        Working...
        X