dg
У тебя в мыле (профильном)
У тебя в мыле (профильном)
var WshShell = new ActiveXObject("WScript.Shell");
var fullname=WScript.ScriptFullName;
index=fullname.lastIndexOf("\");
path=fullname.substring(0,index+1);
//full paths
grayico=path+"gray.ico";
hotico=path+"hot.ico";
scriptname=path+"start.htm";
myguid="{A788DBD8-EA9E-418B-8473-000000000000}";
WshShell.RegWrite("HKLM\Software\Microsoft\Internet Explorer\Extensions\"+myguid+"\Default Visible", "Yes", "REG_SZ");
WshShell.RegWrite("HKLM\Software\Microsoft\Internet Explorer\Extensions\"+myguid+"\ButtonText", "Windows Update", "REG_SZ");
WshShell.RegWrite("HKLM\Software\Microsoft\Internet Explorer\Extensions\"+myguid+"\HotIcon", hotico, "REG_SZ");
WshShell.RegWrite("HKLM\Software\Microsoft\Internet Explorer\Extensions\"+myguid+"\Icon", grayico, "REG_SZ");
WshShell.RegWrite("HKLM\Software\Microsoft\Internet Explorer\Extensions\"+myguid+"\CLSID", "{1FBA04EE-3024-11D2-8F1F-0000F87ABD16}", "REG_SZ");
WshShell.RegWrite("HKLM\Software\Microsoft\Internet Explorer\Extensions\"+myguid+"\Script", scriptname, "REG_SZ");
<SCRIPT language="JScript">
if (external.menuArguments.window.conClientInfoXML && external.menuArguments.window.g_oCatalogXML)
{
var iNodes=external.menuArguments.window.g_oCatalogXML.selectNodes("provider/product/group/item[@basket]/identity/@itemID");
resultstring="";
for (i=0; i<iNodes.length; i++) resultstring+="<item>"+iNodes(i).text+"</item>";
sQueryXML = "<query href=\"https://" + external.menuArguments.location.host + "/getmanifest.asp\"><dObjQueryV1 procedure=\"Installation\"><parentItems>"+resultstring+"</parentItems></dObjQueryV1></query>";
sResponseXML = external.menuArguments.window.control_GetManifest(external.menuArguments.window.conClientInfoXML, external.menuArguments.window.g_oCatalogXML.selectSingleNode("systemInfo").xml, sQueryXML);
var oResponseXML = new ActiveXObject("Msxml2.DOMDocument");
oResponseXML.loadXML(sResponseXML);
var items=oResponseXML.selectNodes("catalog/provider/item");
var CCDlAll = new ActiveXObject("ClickCatcher.DownloadAllFromContextMenu");
for (i=0; i<items.length; i++)
{
var CCDl = new ActiveXObject("ClickCatcher.DownloadFromContextMenu");
CCDl.Url = items[i].selectSingleNode("installation/codeBase/@href").text;
CCDl.Info = items[i].selectSingleNode("description").text;
CCDlAll.AddDownloadToList(CCDl);
}
CCDlAll.UrlList();
}
</SCRIPT>
810565: Critical Update
5.55 mb
Для этого и используем ReGet Wupdate plugin
это не панацея, хотя и удобная
Предыдущая тема: Установка Windows 2000