3
edits
Changes
Question about cscript.js
'''Question about cscript.js:'''
Should the file cscript.js which begins with
cscript.js:
//delete ctupdate.done if a reboot is scheduled
var WshShell = WScript.CreateObject("WScript.Shell");
var fso = WScript.CreateObject("Scripting.FileSystemObject");
var ForReading = 1;
var BasePath = WshShell.ExpandEnvironmentStrings("%SystemDrive%\\netinst\\wpkg\\");
var LogFilePath = BasePath + 'offlineupdate.log';
var CtupdatePath = BasePath + 'ctupdate.done';
var LastLine = '';
Actually be named ctcheck.js because that is what is referred to by offlineupdate.xml? <install cmd='cscript "%SOFTWARE%\ctcheck.js"' />
[[User:AndrewS|AndrewS]] 05:11, 21 December 2010 (CET)
Should the file cscript.js which begins with
cscript.js:
//delete ctupdate.done if a reboot is scheduled
var WshShell = WScript.CreateObject("WScript.Shell");
var fso = WScript.CreateObject("Scripting.FileSystemObject");
var ForReading = 1;
var BasePath = WshShell.ExpandEnvironmentStrings("%SystemDrive%\\netinst\\wpkg\\");
var LogFilePath = BasePath + 'offlineupdate.log';
var CtupdatePath = BasePath + 'ctupdate.done';
var LastLine = '';
Actually be named ctcheck.js because that is what is referred to by offlineupdate.xml? <install cmd='cscript "%SOFTWARE%\ctcheck.js"' />
[[User:AndrewS|AndrewS]] 05:11, 21 December 2010 (CET)