Changes

User contributed software

1,352 bytes added, 22:13, 14 July 2008
Add
* some software (like certain browser plugins) won't install if some other software is running (i.e., a browser).
URL: [[Script for checking if a process is already running|http://wpkg.org/Script_for_checking_if_a_process_is_already_running]]
 
== Generic Library for scripted checks ==
Author: Keith Jones<br />
Mailing list discussion:
* Coming soon
Info: Tired of writing scripts to support custom 'checks' in WPKG and then writing parameter parsers or 'bespoke' tests? This is a prototype script library based in a .WSC (Windows Scripting Component) file that can be included into your script files that provides a skeletal framework to consolidate and collect useful functions for administrators. You can trim down the code you have to write and write your tests to a simple standard. The WSC file contains a rough-and-ready command-line parser and semi-automated parameter checks with options to debug code, trap errors 'in-the-field' and build up a unified library of WPKG tests. It's a work in progress, but features include;
* Simple parsing of command-lines to validate custom parameters.
* A growing collection of inbuilt routines. (I'm adding things slowly!)
* A simplified approach for less experienced admins.
* All code is written in JScript to allow you to customise WPKG if you wish.
* Examples of 'less used' techniques.
* ... being optimised as we write :-)
URL: [Instructions]http://dev.bus.brighton.ac.uk/kej/readme.txt<br>
URL: [Utility.WSC]http://dev.bus.brighton.ac.uk/kej/utility.wsc<br>
URL: [Example, Diskpace Checker]http://dev.bus.brighton.ac.uk/kej/diskspace.js<BR>
15
edits