Hi Ed,
According to the TODO file, WPKG doesn't currently have the
capability to use %WINDIR% and other system variables so I'm looking
for any suggestions on a workaround for the short-term. The "apps" in
If you edit wpkg.js, there's a simple way of adding this functionality:
} else if (checkType == "file") {
var shell = new ActiveXObject("WScript.Shell");
// Add the line below here:
checkPath=shell.ExpandEnvironmentStrings(checkPath);
if (checkCond == "exists") {
var fso = new ActiveXObject("Scripting.FileSystemObject");
(Apologies for not providing a diff file - too many differences between
the wpkg.js I run and the distributed one at the moment: Further
unofficial tweaks are available at
http://www.sp.phy.cam.ac.uk/~rl201/wpkg/ )
Yours,
Frank
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users