Displaying script progress to end users?

abenedict
New Contributor II

I was wondering if anyone knows a way that I could pass the info
being displayed in a script to the end user? How I am wanting to
implement this is by putting a software update script in my
SelfService app, yet
let end users see the status of the software update as well as what updates
were applied.
I would also like it to show me all of this live so that users can see
the status as opposed to getting all of the text after the script has
ran.
Any thoughts?
--
Alan Benedict
?
Macintosh Technician
The Integer Group
O: 515-247-2738
C: 515-770-8234
http://www.integer.com

2 REPLIES 2

ernstcs
Contributor III

A while back someone (I wish I could credit them) had suggested that instead of running a script for updates you can run the Software Update GUI as root.

Make a self-service policy and on the advanced tab put in the following Run Command:

/System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update

This appears to work for me, the only caviot being applying firmware updates I think. I haven't put this out system wide yet so I haven't gotten much feedback.

So if you do it this way you get all the feedback you're asking for.

Craig E

ernstcs
Contributor III

I forgot a few other things to how I do the Self Service for Software Updates.

I also have a startup item package that just runs a recon cycle after a reboot so the system is officially updated after a reboot and is accurate in inventory.

Make 'em reboot.

Craig E