Jump to content

Ams Windows Update Pack Yapımı Hk.


ByChilavert
 Share

Recommended Posts

  • Editor

Öncelikle windows güncelleme dosyalarını bi sunucudan direk çekebilmeniz lazım.

 

indirilen paketler exe uzantılı ise 

File.Run("exeismi.exe /quiet");

 

şeklinde kurabilirsiniz.

 

şayet msu uzantılı dosya ise

 

File.Run("wusa.exe Windows6.1-KB123456-x86.msu /quiet /norestart");

 

şeklinde kurabilirsiniz.

Link to comment
Share on other sites

Güncellemeleri Apup_1_4_38 Programı İle İndirdim. İndirdiğim Windows Updateleri Sırayla Kurmak İstiyorum Sizin Belirtiğiniz Şekilde Yapabiliyormuyum. Birde Sistemdeki Yüklü Güncellemeleri Nasıl Kontrol Ettirip Yükleyebilirim.

Edited by ByChilavert
Link to comment
Share on other sites

  • Editor

Luacom pluginini aktif et.
 

function WMIDateStringToDate(dtmDate)
    if dtmDate then
        dtmDate = tostring(dtmDate);
        return (String.Mid (dtmDate, 7, 2)  .. "/" ..
                String.Mid (dtmDate, 5, 2)  .. "/" ..
                String.Left(dtmDate, 4)     .. " " ..
                String.Mid (dtmDate, 9, 2)  .. ":" .. 
                String.Mid (dtmDate, 11, 2) .. ":" .. 
                String.Mid (dtmDate, 13, 2)
               );
    else
        return "";
    end
end

function Escape(v)
    if (v == nil) then return ""; end
    if (type(v) == "table") then return Table.Concat(v, ", "); end
    if (type(v) == "boolean") then
        if (v == true) then return "Yes"; else return "No"; end
    end
    return v;
end
TreeList.ClearColumns("Plugin1");
TreeList.ClearRows("Plugin1");
result = TreeList.AddColumn("Plugin1", "Caption", 100);
result = TreeList.AddColumn("Plugin1", "Description", 100);
result = TreeList.AddColumn("Plugin1", "HotFixID", 100);
result = TreeList.AddColumn("Plugin1", "InstallDate", 100);
result = TreeList.AddColumn("Plugin1", "Status", 100);
local sOutput      = "";
local sOutputTitle = "Computer: localhost\r\n==========================================\r\n\r\n";
local oWMIService  = luacom.GetObject("winmgmts:\\\\localhost\\root\\CIMV2");
local oColItems    = oWMIService:ExecQuery("SELECT * FROM Win32_QuickFixEngineering", "WQL", 48);
if oColItems then
    local oEnum   = luacom.GetEnumerator(oColItems);
    local oItem = oEnum:Next();
    while oItem do
    	result = TreeList.AddRow("Plugin1",Escape(oItem:Caption()) .. "|" ..Escape(oItem:Description()).."|"..
    									  Escape(oItem:HotFixID()).. "|" .. Escape(oItem:InstalledOn()) .."|"..
    									  Escape(oItem:Status()), nil, nil, nil);

        oItem = oEnum:Next();
    end
else
    Dialog.Message("Error", "Update ler alınamadı");
end

Güncellemeleri çekmek istediğin butona yaz.

Ben treelist e ekledim.

 

VG5KVUw.png

Link to comment
Share on other sites

Plugini Aktif Ettim Daha Sonra Treelist i Tıkladım Script Ekranından Hangi Alana Ekleme Yapmam Lazım 

Kusuruma Bakma Sizler Kadar İyi Değilim AutoPlay'da Konuda Örnek Olarak Belirttiğim Projede Örnek Gösterebilirsen Çok Memnun Olurum Zamanın Yoksada Kısmet Değilmiş Diyelim

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...