/** * GENERAL * ======= * Author : Rainer Meier * Version: 1.0 * License: GPLv2 * * DESCRIPTION * =========== * This script allows execution of another script (given by parameter) in * elevated privileges mode on Windows Vista with UAC activated. * * This is required as there seems to be no possibility to run a batch/cmd * script on Windows Vista with elevated rights. Even if you right-click a * cmd script and select to run it as Administrator it does not get elevated * rights. * * USAGE * ===== * This script here just allows you to call any script (batch, cscript ...) * with elevated rights. * * NOTE: To run WPKG in elevated mode you can either write a batch file which * is calling 'cscript \\path\to\wpkg.js ...' or run cscript directly by this * script. * Running batch file: *