Difference between revisions of "Talk:Heise Offline-Update"
From WPKG | Open Source Software Deployment and Distribution
(Question about cscript.js) |
(No difference)
|
Revision as of 04:11, 21 December 2010
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"' />
AndrewS 05:11, 21 December 2010 (CET)