Announcement

Collapse
No announcement yet.

How do I know how long it takes the entire installation?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do I know how long it takes the entire installation?

    Hello Everyone,

    I want to add something like this at the end of the log...

    Installation finished at: 21:11:25 Thursday, September 01, 2016 (took 45 minutes).

    Is it possible to do it?

    Thanks

  • #2
    You can call os.time() when the installer starts (typically in On Pre Install), and then again when everything is finished (typically in On Post Install). Substract the two numbers, and you will have the time spent for the deployment of the files, in seconds. Converting this into minutes should be a no brainer.

    Ulrich

    Comment

    Working...
    X