Changes

Talk:Heise Offline-Update

681 bytes added, 04:11, 21 December 2010
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)
3
edits