locked
Writing output to LTI Progress bar. RRS feed

  • Question

  • Hi guys,

    I'm wondering if anyone has played around with writing progress bars and information out to the LTI Install progress in WinPE. I'm trying to dig back through the scripts to see how Microsoft is writing progress but haven't had any luck nailing down the function for it yet.  This is more curiosity than anything else, any help would be appreciated.  Thanks everyone.

    Ryan

    Thursday, April 3, 2014 3:18 PM

Answers

  • I have done it. :^)

    See oUtility.reportProgress()

    Example from ZTIGather.wsf:

    oLogging.ReportProgress "Initializing.", 1
    oLogging.ReportProgress "Getting local computer information: Operating system", 10
    oLogging.ReportProgress "Getting local computer information: HAL", 15
    oLogging.ReportProgress "Getting local computer information: Networking", 20
    oLogging.ReportProgress "Getting local computer information: Distribution point", 25
    oLogging.ReportProgress "Getting local computer information: Windows Deployment Services", 30
    oLogging.ReportProgress "Getting local computer information: Host name", 30
    oLogging.ReportProgress "Getting local computer information: Asset information", 30
    oLogging.ReportProgress "Getting local computer information: Operating system", 35
    oLogging.ReportProgress "Getting local computer information: Operating system", 40
    oLogging.ReportProgress "Getting local computer information: Virtualization", 45
    oLogging.ReportProgress "Getting local computer information: BitLocker", 48
    oLogging.ReportProgress "Gathering complete, but no INI file found.", 100
    oLogging.ReportProgress "Processing rules.", 50
    oLogging.ReportProgress "Gathering complete.", 100


    Keith Garner - keithga.wordpress.com

    Thursday, April 3, 2014 9:29 PM

All replies

  • I have done it. :^)

    See oUtility.reportProgress()

    Example from ZTIGather.wsf:

    oLogging.ReportProgress "Initializing.", 1
    oLogging.ReportProgress "Getting local computer information: Operating system", 10
    oLogging.ReportProgress "Getting local computer information: HAL", 15
    oLogging.ReportProgress "Getting local computer information: Networking", 20
    oLogging.ReportProgress "Getting local computer information: Distribution point", 25
    oLogging.ReportProgress "Getting local computer information: Windows Deployment Services", 30
    oLogging.ReportProgress "Getting local computer information: Host name", 30
    oLogging.ReportProgress "Getting local computer information: Asset information", 30
    oLogging.ReportProgress "Getting local computer information: Operating system", 35
    oLogging.ReportProgress "Getting local computer information: Operating system", 40
    oLogging.ReportProgress "Getting local computer information: Virtualization", 45
    oLogging.ReportProgress "Getting local computer information: BitLocker", 48
    oLogging.ReportProgress "Gathering complete, but no INI file found.", 100
    oLogging.ReportProgress "Processing rules.", 50
    oLogging.ReportProgress "Gathering complete.", 100


    Keith Garner - keithga.wordpress.com

    Thursday, April 3, 2014 9:29 PM
  • Bookmarked.  Thank you :)
    Friday, April 4, 2014 2:22 AM