Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2002
    Posts
    13

    Grin 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%

  2. #2
    Join Date
    May 2000
    Location
    Indigo Rose Software
    Posts
    2,150

    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.

  3. #3
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746

    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

  4. #4
    Join Date
    Jun 2002
    Posts
    13

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts