Создание диска unattended (автоматической) установки Windows XP

Обновления

Кроме обновления операционной системы до Service Pack 2 я хочу, чтобы во время инсталляции были установлены все обновления.

Обновление Название Имя файла
Critical
MS05-009 Vulnerability in PNG Processing Could Allow Remote Code Execution (890261) windowsxp-kb887472-x86-enu.exe
MS05-026 Vulnerability in HTML Help Could Allow Remote Code Execution (896358) windowsxp-kb896358-x86-enu.exe
MS05-036 Vulnerability in Microsoft Color Management Module Could Allow Remote Code Execution (901214) windowsxp-kb901214-x86-enu.exe
MS05-050 Vulnerability in DirectShow Could Allow Remote Code Execution (904706) windowsxp-kb904706-v2-x86-enu.exe
MS05-051 Vulnerabilities in MSDTC and COM+ Could Allow Remote Code Execution (902400) windowsxp-kb902400-x86-enu.exe
MS06-002 Vulnerability in Embedded Web Fonts Could Allow Remote Code Execution (908519) windowsxp-kb908519-x86-enu.exe
MS06-014 Vulnerability in the Microsoft Data Access Components (MDAC) Function Could Allow Code Execution (911562) windowsxp-kb911562-x86-enu.exe
MS06-015 Vulnerability in Windows Explorer Could Allow Remote Code Execution (908531) windowsxp-kb908531-v2-x86-enu.exe
MS06-022 Vulnerability in ART Image Rendering Could Allow Remote Code Execution (918439) windowsxp-kb918439-x86-enu.exe
MS06-023 Vulnerability in Microsoft JScript Could Allow Remote Code Execution (917344) windowsxp-kb917344-x86-enu.exe
MS06-036 Vulnerability in DHCP Client Service Could Allow Remote Code Execution (914388) windowsxp-kb914388-x86-enu.exe
MS06-041 Vulnerabilities in DNS Resolution Could Allow Remote Code Execution (920683) windowsxp-kb920683-x86-enu.exe
MS06-057 Vulnerability in Windows Explorer Could Allow Remote Execution (923191) windowsxp-kb923191-x86-enu.exe
MS06-068 Vulnerability in Microsoft Agent Could Allow Remote Code Execution (920213) windowsxp-kb920213-x86-enu.exe
MS06-078 Vulnerability in Windows Media Format Could Allow Remote Code Execution (923689) windowsxp-kb923689-x86-enu.exe, windowsmedia6-kb925398-x86-enu.exe
MS06-078 Vulnerability in Windows Media Format Could Allow Remote Code Execution (923689) windowsmedia6-kb925398-x86-enu.exe
MS07-008 Vulnerability in Vector Markup Language Could Allow Remote Code Execution (929969) windowsxp-kb928843-x86-enu.exe
MS07-009 Vulnerability in Microsoft Data Access Components Could Allow Remote Code Execution (927779) windowsxp-kb927779-x86-enu.exe
MS07-004 Vulnerability in HTML Help ActiveX Control Could Allow Remote Code Execution (928843) windowsxp-kb929969-x86-enu.exe
MS07-017 Vulnerabilities in GDI Could Allow Remote Code Execution (925902) windowsxp-kb925902-x86-enu.exe
MS07-019 Vulnerability in Universal Plug and Play Could Allow Remote Code Execution (931261) windowsxp-kb931261-x86-enu.exe
MS07-020 Vulnerability in Microsoft Agent Could Allow Remote Code Execution (932168) windowsxp-kb932168-x86-enu.exe
MS07-021 Vulnerabilities in CSRSS Could Allow Remote Code Execution (930178) windowsxp-kb930178-x86-enu.exe
MS07-031 Vulnerability in the Windows Schannel Security Package Could Allow Remote Code Execution (935840) windowsxp-kb935840-x86-enu.exe
MS07-035 Vulnerability in Win 32 API Could Allow Remote Code Execution (935839) windowsxp-kb935839-x86-enu.exe
MS07-042 Vulnerability in Microsoft XML Core Services Could Allow Remote Code Execution (936227) windowsxp-kb936021-x86-enu.exe
MS07-043 Vulnerability in OLE Automation Could Allow Remote Code Execution (921503) windowsxp-kb921503-x86-enu.exe
MS07-045 Cumulative Security Update for Internet Explorer (939653) windowsxp-kb939653-x86-enu.exe
MS07-046 Vulnerability in GDI Could Allow Remote Code Execution (938829) windowsxp-kb938829-x86-enu.exe
MS07-050 Vulnerability in Vector Markup Language Could Allow Remote Code Execution (938127) windowsxp-kb938127-x86-enu.exe
MS07-056 Security Update for Outlook Express and Windows Mail (941202) windowsxp-kb941202-x86-enu.exe
Important
MS04-043 Vulnerability in HyperTerminal Could Allow Code Execution (873339) windowsxp-kb873339-x86-enu.exe
MS04-044 Vulnerabilities in Windows Kernel and LSASS Could Allow Elevation of Privilege (885835) windowsxp-kb885835-x86-enu.exe
MS05-013 Vulnerability in the DHTML Editing Component ActiveX Control Could Allow Remote Code Execution (891781) windowsxp-kb891781-x86-enu.exe
MS05-018 Vulnerabilities in Windows Kernel Could Allow Elevation of Privilege and Denial of Service (890859) windowsxp-kb890859-x86-enu.exe
MS05-040 Vulnerability in Telephony Service Could Allow Remote Code Execution (893756) windowsxp-kb893756-x86-enu.exe
MS05-047 Vulnerability in Plug and Play Could Allow Remote Code Execution and Local Elevation of Privilege (905749) windowsxp-kb905749-x86-enu.exe
MS05-049 Vulnerabilities in Windows Shell Could Allow Remote Code Execution (900725) windowsxp-kb900725-x86-enu.exe
MS06-006 Vulnerability in Windows Media Player Plug-in with Non-Microsoft Internet Browsers Could Allow Remote Code Execution (911564) windowsmedia-kb911564-x86-enu.exe
MS06-008 Vulnerability in Web Client Service Could Allow Remote Code Execution (911927) windowsxp-kb911927-x86-enu.exe
MS06-025 Vulnerability in Routing and Remote Access Could Allow Remote Code Execution (911280) windowsxp-kb911280-v2-x86-enu.exe
MS06-030 Vulnerability in Server Message Block Could Allow Elevation of Privilege (914389) windowsxp-kb914389-x86-enu.exe
MS06-050 Vulnerabilities in Microsoft Windows Hyperlink Object Library Could Allow Remote Code Execution (920670) windowsxp-kb920670-x86-enu.exe
MS06-052 Vulnerability in Pragmatic General Multicast (PGM) Could Allow Remote Code Execution (919007) windowsxp-kb919007-x86-enu.exe
MS06-063 Vulnerability in Server Service Could Allow Denial of Service and Remote Code Execution (923414) windowsxp-kb923414-x86-enu.exe
MS06-066 Vulnerabilities in Client Service for NetWare Could Allow Remote Code Execution (923980) windowsxp-kb923980-x86-enu.exe
MS06-075 Vulnerability in Windows Could Allow Elevation of Privilege (926255) windowsxp-kb926255-x86-enu.exe
MS07-006 Vulnerability in Windows Shell Could Allow Elevation of Privilege (928255) windowsxp-kb928255-x86-enu.exe
MS07-007 Vulnerability in Windows Image Acquisition Service Could Allow Elevation of Privilege (927802) windowsxp-kb927802-x86-enu.exe
MS07-011 Vulnerability in Microsoft OLE Dialog Could Allow Remote Code Execution (926436) windowsxp-kb926436-x86-enu.exe
MS07-012 Vulnerability in Microsoft MFC Could Allow Remote Code Execution (924667) windowsxp-kb924667-x86-enu.exe
MS07-013 Vulnerability in Microsoft RichEdit Could Allow Remote Code Execution (918118) windowsxp-kb918118-x86-enu.exe
MS07-022 Vulnerability in Windows Kernel Could Allow Elevation of Privilege (931784) windowsxp-kb931784-x86-enu.exe
MS07-034 Cumulative Security Update for Outlook Express and Windows Mail (929123) windowsxp-kb929123-x86-enu.exe
MS07-047 Vulnerabilities in Windows Media Player Could Allow Remote Code Execution (936782) windowsmedia9-kb936782-x86-enu.exe
MS07-058 Vulnerability in RPC Could Allow Denial of Service (933729) windowsxp-kb933729-x86-enu.exe
Moderate
MS04-041 Vulnerability in WordPad Could Allow Code Execution (885836) windowsxp-kb885836-x86-enu.exe
MS05-007 Vulnerability in Windows Could Allow Information Disclosure (888302) windowsxp-kb888302-x86-enu.exe
MS05-033 Vulnerability in Telnet Client Could Allow Information Disclosure (896428) windowsxp-kb896428-x86-enu.exe
MS05-041 Vulnerability in Remote Desktop Protocol Could Allow Denial of Service (899591) windowsxp-kb899591-x86-enu.exe
MS05-043 Vulnerability in Print Spooler Service Could Allow Remote Code Execution (896423) windowsxp-kb896423-x86-enu.exe
MS05-048 Vulnerability in the Microsoft Collaboration Data Objects Could Allow Remote Code Execution (907245) windowsxp-kb901017-x86-enu.exe
MS06-032 Vulnerability in TCP/IP Could Allow Remote Code Execution (917953) windowsxp-kb917953-x86-enu.exe
MS06-053 Vulnerability in Indexing Service Could Allow Cross-Site Scripting (920685) windowsxp-kb920685-x86-enu.exe
MS06-065 Vulnerability in Windows Object Packager Could Allow Remote Execution (924496) windowsxp-kb924496-x86-enu.exe
Low
MS05-042 Vulnerabilities in Kerberos Could Allow Denial of Service, Information Disclosure, and Spoofing (899587) windowsxp-kb899587-x86-enu.exe
MS05-045 Vulnerability in Network Connection Manager Could Allow Denial of Service (905414) windowsxp-kb905414-x86-enu.exe
MS06-018 Vulnerability in Microsoft Distributed Transaction Coordinator Could Allow Denial of Service (913580) windowsxp-kb913580-x86-enu.exe
MS06-064 Vulnerabilities in TCP/IP IPv6 Could Allow Denial of Service (922819) windowsxp-kb922819-x86-enu.exe
MS06-070 Vulnerability in Workstation Service Could Allow Remote Code Execution (924270) windowsxp-kb924270-x86-enu.exe

В E:\WINDOWS.XP.CD\FILES\I386 создаю директорию HOTFIXES. Эта директория будет содержать обновления, которые будут установлены во время инсталляции Windows XP. Все вышеперечисленные файлы копирую в E:\WINDOWS.XP.CD\FILES\I386\HOTFIXES. Затем эти файлы переименовываю к виду KBxxxxxx.EXE. Сделать это можно с помощью команды for %f in (*.exe) do for /f "delims=- tokens=2" %i in ("%f") do rename %f %i.exe, запустив ее в каталоге E:\WINDOWS.XP.CD\FILES\I386\HOTFIXES. Теперь редактирую файл E:\WINDOWS.XP.CD\FILES\I386\DOSNET.INF, добавляю следующие строки.

[OptionalSrcDirs]
hotfixes
		

Также необходимо отредактировать файл svcpack.inf. Для этого сначала разархивирую файл svcpack.in_, с помощью команды expand -r SVCPACK.IN_. Файл svcpack.in_ удаляю. Редактирую файл svcpack.inf.

[Version]
Signature="$Windows NT$"
BuildNumber=2600
MinorVersion=1
MajorVersion=5

[SetupData]
CatalogSubDir="i386\hotfixes"

[ProductCatalogsToInstall]

[SetupHotfixesToRun]
[Version]
Signature="$Windows NT$"
BuildNumber=2600
MinorVersion=1
MajorVersion=5

[SetupData]
CatalogSubDir="i386\hotfixes"

[ProductCatalogsToInstall]

[SetupHotfixesToRun]
kb941202.exe /quiet /norestart
kb939653.exe /quiet /norestart
kb938829.exe /quiet /norestart
kb938127.exe /quiet /norestart
kb936782.exe /quiet /norestart
kb936021.exe /quiet /norestart
kb935840.exe /quiet /norestart
kb935839.exe /quiet /norestart
kb933729.exe /quiet /norestart
kb932168.exe /quiet /norestart
kb931784.exe /quiet /norestart
kb931261.exe /quiet /norestart
kb930178.exe /quiet /norestart
kb929969.exe /quiet /norestart
kb929123.exe /quiet /norestart
kb928843.exe /quiet /norestart
kb928255.exe /quiet /norestart
kb927802.exe /quiet /norestart
kb927779.exe /quiet /norestart
kb926436.exe /quiet /norestart
kb926255.exe /quiet /norestart
kb925902.exe /quiet /norestart
kb925398.exe /quiet /norestart
kb924667.exe /quiet /norestart
kb924496.exe /quiet /norestart
kb924270.exe /quiet /norestart
kb923980.exe /quiet /norestart
kb923689.exe /quiet /norestart
kb923414.exe /quiet /norestart
kb923191.exe /quiet /norestart
kb922819.exe /quiet /norestart
kb921503.exe /quiet /norestart
kb920685.exe /quiet /norestart
kb920683.exe /quiet /norestart
kb920670.exe /quiet /norestart
kb920213.exe /quiet /norestart
kb919007.exe /quiet /norestart
kb918439.exe /quiet /norestart
kb918118.exe /quiet /norestart
kb917953.exe /quiet /norestart
kb917344.exe /quiet /norestart
kb914389.exe /quiet /norestart
kb914388.exe /quiet /norestart
kb913580.exe /quiet /norestart
kb911927.exe /quiet /norestart
kb911564.exe /quiet /norestart
kb911562.exe /quiet /norestart
kb911280.exe /quiet /norestart
kb908531.exe /quiet /norestart
kb908519.exe /quiet /norestart
kb905749.exe /quiet /norestart
kb905414.exe /quiet /norestart
kb904706.exe /quiet /norestart
kb902400.exe /quiet /norestart
kb901214.exe /quiet /norestart
kb901017.exe /quiet /norestart
kb900725.exe /quiet /norestart
kb899591.exe /quiet /norestart
kb899587.exe /quiet /norestart
kb896428.exe /quiet /norestart
kb896423.exe /quiet /norestart
kb896358.exe /quiet /norestart
kb893756.exe /quiet /norestart
kb891781.exe /quiet /norestart
kb890859.exe /quiet /norestart
kb888302.exe /quiet /norestart
kb887472.exe /quiet /norestart
kb885836.exe /quiet /norestart
kb885835.exe /quiet /norestart
kb873339.exe /quiet /norestart
		

Если возможность откатки (деинсталляции) обновления не нужно, то необходимо ключи "/quiet /norestart" заменить на "/quiet /norestart /n".