Ñòàíèñëàâ Ïàâëîâ Основы Windows Embedded Standard 2009 Москва, 2010 УДК 32.973.26(cid:5)018.2 ББК 004.438 П12 Павлов С. И. П12 Основы Windows Embedded Standard 2009. – М.: ДМК Пресс, 2010.– 360 с.: ил. ISBN 978(cid:5)5(cid:5)94074(cid:5)596(cid:5)9 Книга написана как базовое руководство по разработке широкого класса решений на базе встраиваемой операционной системы Microsoft Windows Embedded Standard 2009. Она не только освещает все технологические аспекты, связанные с разработкой образа операционной системы для встра# иваемых применений, но и содержит широкий спектр практической инфор# мации, обобщающей опыт автора в разработке решений. При последова# тельном чтении она может использоваться для пошагового изучения технологий Embedded Standard 2009. Кроме того, она может служить спра# вочником по большинству аспектов Embedded Standard 2009. Данная книга адресована всем, кто разрабатывает или планирует разра# ботку устройств на основе Windows Embedded Standard. Если вы только начинаете работу с операционной системой Windows Embedded Standard, книга послужит вам руководством к дальнейшим действиям, если вы уже знакомы с платформой, найдете в книге множество рекомендаций и советов по разработке, подкрепленных практическими работами. УДК 32.973.26#018.2 ББК 004.438 Все права защищены. Любая часть этой книги не может быть воспроизведена в какой бы то ни было форме и какими бы то ни было средствами без письменного разрешения вла# дельцев авторских прав. Материал, изложенный в данной книге, многократно проверен. Но поскольку вероятность технических ошибок все равно существует, издательство не может гарантировать абсолютную точность и правильность приводимых сведений. В связи с этим издательство не несет ответ# ственности за возможные ошибки, связанные с использованием книги. © Кварта Технологии, 2010 ISBN 978#5#94074#596#9 © Оформление,издание, ДМК Пресс, 2010 Ñîäåðæàíèå 1. Введение ........................................................................................ 12 Ñîäåðæàíèå êíèãè............................................................................................12 Ââåäåíèå.........................................................................................................12 Ñðåäñòâà ðàçðàáîòêè Embedded Standard 2009...........................................12 Îñíîâû ðàçðàáîòêè óñòðîéñòâ íà áàçå Embedded Standard 2009...............13 Âîçìîæíîñòè ïî âñòðàèâàíèþ Embedded Standard 2009 ............................14 Ðàçðàáîòêà êîìïîíåíòîâ äðàéâåðîâ è ïðèëîæåíèé.....................................15 Ïîäãîòîâêà è ðàçâåðòûâàíèå îáðàçîâ Embedded Standard 2009................15 Îáñëóæèâàíèå óñòðîéñòâ íà áàçå Embedded Standard 2009.......................15 Âñòðàèâàåìûå ðåøåíèÿ äëÿ âåðòèêàëüíûõ ðûíêîâ....................................16 Ëèòåðàòóðà è ðåñóðñû....................................................................................16 Ïðèëîæåíèå....................................................................................................16 Ïëàòôîðìà Microsoft Windows Embedded..................................................16 Îáçîð Windows Embedded Standard............................................................17 Ïðàêòè÷åñêèå ðàáîòû ......................................................................................22 Ðàáî÷àÿ ñòàíöèÿ ðàçðàáîò÷èêà.....................................................................22 Ñîäåðæèìîå êîìïàêò-äèñêà...........................................................................23 2. Средства разработки Embedded Standard 2009 ............. 24 Óñòàíîâêà ñðåäñòâ ðàçðàáîòêè......................................................................25 Windows Embedded Studio..............................................................................33 Target Designer................................................................................................33 Êàòàëîã êîìïîíåíòîâ, ïîèñê è ôèëüòðû...................................................35 Ðåäàêòîð êîíôèãóðàöèè ............................................................................38 Ïàíåëü äåòàëüíûõ ñâåäåíèé ....................................................................39 Òåêóùèå çàäà÷è, æóðíàëû ñáîðêè îáðàçà è ïðîâåðêè çàâèñèìîñòåé ....42 Îöåíêà ïðåäïîëàãàåìîãî ðàçìåðà îáðàçà ïðè äîáàâëåíèè êîìïîíåíòà.................................................................................................43 Íàñòðîéêè ïðîãðàììû Target Designer.....................................................46 Component Designer .......................................................................................48 Íàñòðîéêè ïðîãðàììû Component Designer............................................67 Component Database Manager.......................................................................68 Çàêëàäêà Database....................................................................................68 Çàêëàäêà Platform......................................................................................71 Çàêëàäêà Package......................................................................................72 Çàêëàäêà Component.................................................................................74 Çàêëàäêà Repository...................................................................................76 Çàêëàäêà Group..........................................................................................78 4 Ñîäåðæàíèå Target Analyzer.................................................................................................80 Windows Pre-installation Environment (WinPE)............................................83 Ñîçäàíèå è íàñòðîéêà îáðàçà WinPE ...........................................................85 Ïîäãîòîâêà îáðàçà WinPE äëÿ çàãðóçêè ñ êîìïàêò-äèñêà............................86 Ïîäãîòîâêà îáðàçà WinPE äëÿ çàãðóçêè ñ USB Flash...................................86 Ñåðâèñíàÿ ñáîðêà Windows Embedded Standard 2009............................87 Óòèëèòà XPECMD .............................................................................................89 Òèïîâûå çàäà÷è ïðè ðàáîòå ñ óòèëèòîé........................................................90 3. Основы разработки устройств на базе Embedded Standard 2009............................................................... 98 Ïðîöåäóðà ðàçðàáîòêè óñòðîéñòâà...............................................................98 Îïðåäåëåíèå àïïàðàòíîãî ñîñòàâà öåëåâîé ïëàòôîðìû..........................103 Ñîçäàíèå êîìïîíåíòà-ìàêðîñà èëè áàçîâîé êîíôèãóðàöèè ïëàòôîðìû....................................................................................................104 Ñîçäàíèå êîìïîíåíòà-ìàêðîñà ..............................................................104 Ñîçäàíèå áàçîâîé êîíôèãóðàöèè...........................................................110 Àíàëèç æóðíàëà èìïîðòà........................................................................113 Ñîçäàíèå íîâîé êîíôèãóðàöèè äëÿ óñòðîéñòâà â ïðîãðàììå Target Designer..............................................................................................116 Íàñòðîéêà è êîíôèãóðèðîâàíèå îáðàçà â ïðîãðàììå Target Designer .....116 Íàñòðîéêà ïëàòôîðìû............................................................................116 Ðàçðåøåíèå çàâèñèìîñòåé ..........................................................................118 Ñáîðêà îáðàçà ..............................................................................................120 First Boot Agent (FBA) ...................................................................................121 Ïðàêòè÷åñêàÿ ðàáîòà 1.................................................................................121 Óïðàæíåíèå 1. Ñîçäàíèå íîâîé âèðòóàëüíîé ìàøèíû Microsoft VirtualPC 2007..........................................................................................122 Óïðàæíåíèå 2. Ñîçäàíèå ïðîñòîãî ñåðâèñíîãî îáðàçà Windows Embedded Standard 2009 ........................................................................122 Óïðàæíåíèå 3. Ïîäãîòîâêà äèñêà âèðòóàëüíîé ìàøèíû ê çàãðóçêå â ñåðâèñíûé îáðàç Embedded Standard 2009........................................123 Óïðàæíåíèå 4. Îïðåäåëåíèå àïïàðàòíîãî ñîñòàâà Microsoft Virtual PC 2007 ñ èñïîëüçîâàíèåì ñåðâèñíîãî îáðàçà..........................127 Óïðàæíåíèå 5. Èìïîðò ðåçóëüòàòîâ îïðåäåëåíèÿ àïïàðàòíîé ÷àñòè â ComponentDesigner. Ñîçäàíèå êîìïîíåíòà ìàêðîñà.........................127 Óïðàæíåíèå 6. Èìïîðò ðåçóëüòàòîâ îïðåäåëåíèÿ àïïàðàòíîé ÷àñòè â Target Designer. Ñîçäàíèå áàçîâîé êîíôèãóðàöèè.............................128 Óïðàæíåíèå 7. Ñîçäàíèå íîâîé êîíôèãóðàöèè â ïðîãðàììå Target Designer íà îñíîâå áàçîâîé êîíôèãóðàöèè è êîìïîíåíòà-ìàêðîñà.....129 Ñîäåðæàíèå 5 Óïðàæíåíèå 8. Ðàçðåøåíèå çàâèñèìîñòåé è ñáîðêà îáðàçà................129 Óïðàæíåíèå 9. Ðàçâåðòûâàíèå îáðàçà íà Microsoft Virtual PC 2007....130 Óïðàæíåíèå 10. Òèïè÷íàÿ íàñòðîéêà è êîíôèãóðèðîâàíèå îáðàçà â ïðîãðàììå Target Designer...................................................................130 Óïðàæíåíèå 11. Ñðàâíåíèå êîìïîíåíòîâ-ìàêðîñîâ .............................133 Ñòðóêòóðà è ñîñòàâ êîìïîíåíòîâ Embedded Standard 2009.................134 Îáçîð êîìïîíåíòîâ-ìàêðîñîâ Embedded Standard 2009...........................136 Êîìïîíåíòû-ìàêðîñû îáåñïå÷åíèÿ òåõíîëîãèè....................................136 Êîìïîíåíòû-ìàêðîñû äëÿ òåñòèðîâàíèÿ è ðàçðàáîòêè ........................139 Êîìïîíåíòû ïîääåðæêè èíôðàñòðóêòóðû äëÿ óñòàíîâêè â îáðàç îïðåäåëåííîãî ïðèëîæåíèÿ....................................................................145 Øàáëîíû äèçàéíà....................................................................................146 Ïðàêòè÷åñêàÿ ðàáîòà 2.................................................................................151 Óïðàæíåíèå 1. Íàâèãàöèÿ ïî äåðåâó êîìïîíåíòîâ â ïðîãðàììå Target Designer.........................................................................................151 Óïðàæíåíèå 2. Ïîèñê êîìïîíåíòîâ â ïðîãðàììå Target Designer........151 Óïðàæíåíèå 3. Èñïîëüçîâàíèå ôèëüòðîâ â ïðîãðàììå Target Designer....................................................................................................152 Óïðàæíåíèå 4. Èñïîëüçîâàíèå êîìïîíåíòîâ ìàêðîñîâ Min Kernel Sample Macro, Min Logon Sample Macro è Win Logon Sample Macro.....153 Óïðàæíåíèå 5. Èñïîëüçîâàíèå êîìïîíåíòîâ ìàêðîñîâ ñîâìåñòèìîñòè ïðèëîæåíèé...................................................................154 Óïðàæíåíèå 6. Ñîçäàíèå îáðàçà íà îñíîâå øàáëîíà äèçàéíà............155 4. Возможности по встраиванию Embedded Standard 2009............................................................. 157 Enhanced Write Filter (EWF) .........................................................................158 Àðõèòåêòóðà EWF .........................................................................................158 Êîìïîíåíòû EWF .........................................................................................160 Íàñòðîéêà ðàáîòû EWF â ïðîãðàììå Target Designer...............................161 Äîáàâëåíèå òåõíîëîãèè EWF â îáðàç: ðåæèì EWF Disk...........................163 Äîáàâëåíèå òåõíîëîãèè EWF â îáðàç: ðåæèì EWF RAM..........................164 Äîáàâëåíèå òåõíîëîãèè EWF â îáðàç: ðåæèì EWF RAM (Reg)................165 Óòèëèòà EWF Manager Console Application.................................................165 EWF API ........................................................................................................167 Íåêîòîðûå âîçìîæíîñòè ïî óëó÷øåíèþ ïðîèçâîäèòåëüíîñòè EWF.........168 Ïåðåíîñ ôàéëîâ ñèñòåìíûõ æóðíàëîâ íà íåçàùèùåííûé òîì...........168 Ïåðåíîñ ôàéëà ïîäêà÷êè íà íåçàùèùåííûé òîì.................................168 Ïåðåíîñ äèðåêòîðèé âðåìåííûõ ôàéëîâ íà íåçàùèùåííûé òîì.......169 Îòêëþ÷åíèå çàïèñè âðåìåíè ïîñëåäíåãî äîñòóïà................................169 6 Ñîäåðæàíèå Îòêëþ÷åíèå ïðåäâàðèòåëüíîé çàãðóçêè.................................................170 Ïðàêòè÷åñêàÿ ðàáîòà 3.................................................................................170 Óïðàæíåíèå 1. Ñîçäàíèå êîíôèãóðàöèè è òåñòèðîâàíèå îáðàçà ñ ïîääåðæêîé EWF. Ðåæèì EWF Disk ....................................................170 Óïðàæíåíèå 2. Ñîçäàíèå êîíôèãóðàöèè è òåñòèðîâàíèå îáðàçà ñ ïîääåðæêîé EWF. Ðåæèì EWF RAM ...................................................174 Óïðàæíåíèå 3. Ñîçäàíèå êîíôèãóðàöèè è òåñòèðîâàíèå îáðàçà ñ ïîääåðæêîé EWF. Ðåæèì EWF RAM Reg............................................178 Óïðàæíåíèå 4. Ðàçðàáîòêà ïðèëîæåíèÿ äëÿ óïðàâëåíèÿ EWF............181 File Based Write Filter (FBWF)......................................................................184 Àðõèòåêòóðà FBWF.......................................................................................184 Êîìïîíåíò FBWF..........................................................................................185 Íàñòðîéêà ðàáîòû FBWF â ïðîãðàììå Target Designer.............................186 Äîáàâëåíèå òåõíîëîãèè FBWF â îáðàç .................................................187 Óòèëèòà FBWF Manager Console Application...............................................188 FBWF API......................................................................................................190 Ïðàêòè÷åñêàÿ ðàáîòà 4.................................................................................192 Óïðàæíåíèå 1. Ñîçäàíèå êîíôèãóðàöèè è òåñòèðîâàíèå îáðàçà ñ ïîääåðæêîé FBWF................................................................................192 Óïðàæíåíèå 2. Ðàçðàáîòêà ïðèëîæåíèÿ äëÿ óïðàâëåíèÿ FBWF..........196 Registry Filter....................................................................................................197 Àðõèòåêòóðà Registry Filter ...........................................................................197 Êîìïîíåíò Registry Filter..............................................................................199 Íàñòðîéêè Registry Filter â ïðîãðàììå Target Designer ..............................200 Äîáàâëåíèå òåõíîëîãèè Registry Filter äëÿ EWF RAM èëè RAM Reg â îáðàç .....................................................................................................201 Äîáàâëåíèå òåõíîëîãèè Registry Filter äëÿ FBWF â îáðàç...................202 Ïðàêòè÷åñêàÿ ðàáîòà 5.................................................................................203 Óïðàæíåíèå 1. Ñîçäàíèå êîíôèãóðàöèè è òåñòèðîâàíèå îáðàçà ñ ïîääåðæêîé EWF RAM è Registry Filter...............................................203 Óïðàæíåíèå 2. Ñîçäàíèå êîíôèãóðàöèè è òåñòèðîâàíèå îáðàçà ñ ïîääåðæêîé FBWF è Registry Filter......................................................206 Hibernate Once Resume Many (HORM) ......................................................209 Ðàçðàáîòêà óñòðîéñòâ, çàãðóæàþùèõñÿ èç ôàéëà ñïÿ÷êè..........................209 Íàñòðîéêè òåõíîëîãèè HORM â ïðîãðàììå Target Designer......................209 Íàñòðîéêè òåõíîëîãèè HORM â îáðàçå ïîñëå FBA....................................210 Ïðàêòè÷åñêàÿ ðàáîòà 6.................................................................................210 Óïðàæíåíèå 1. Ñîçäàíèå êîíôèãóðàöèè è òåñòèðîâàíèå îáðàçà ñ ïîääåðæêîé ðåæèìà HORM. Âñå òîìà ñèñòåìû çàùèùåíû EWF..........................................................................................................211 Ñîäåðæàíèå 7 Óïðàæíåíèå 2. Ñîçäàíèå êîíôèãóðàöèè è òåñòèðîâàíèå îáðàçà ñ ïîääåðæêîé ðåæèìà HORM. Íå âñå òîìà ñèñòåìû çàùèùåíû EWF..........................................................................................................214 Ïåðåõâàò ñèñòåìíûõ ñîîáùåíèé................................................................215 Âîçìîæíîñòè ïåðåõâàòà ñèñòåìíûõ ñîîáùåíèé â Embedded Standard ...215 Âûáîð îòâåòà ïî óìîë÷àíèþ äëÿ MessageBox ñîîáùåíèé .......................215 Íàñòðîéêà òåõíîëîãèè Message Box Default Reply â ïðîãðàììå Target Designer.........................................................................................215 Íàñòðîéêà òåõíîëîãèè Message Box Default Reply â ðàáî÷åì îáðàçå .....216 Ñåðâèñ îáðàáîòêè îêîí................................................................................217 Îòêëþ÷åíèå âñïëûâàþùèõ îêîí .................................................................218 Ôèëüòðàöèÿ ñèñòåìíûõ ñîîáùåíèé ............................................................218 Ïîääåðæêà àâòîíîìíûõ óñòðîéñòâ.............................................................219 Ðàçðàáîòêà àâòîíîìíûõ óñòðîéñòâ .............................................................219 Íàñòðîéêà êîíôèãóðàöèè äëÿ ðàáîòû óñòðîéñòâà â àâòîíîìíîì ðåæèìå....219 Âîçìîæíîñòè óäàëåííîãî óïðàâëåíèÿ ñèñòåìîé........................................220 Ïðàêòè÷åñêàÿ ðàáîòà 7.................................................................................220 Óïðàæíåíèå 1. Ñîçäàíèå êîíôèãóðàöèè è òåñòèðîâàíèå îáðàçà äëÿ àâòîíîìíîé ðàáîòû áåç óäàëåííîãî äîñòóïà ê ðàáî÷åìó ñòîëó....220 Óïðàæíåíèå 2. Ñîçäàíèå êîíôèãóðàöèè è òåñòèðîâàíèå îáðàçà äëÿ àâòîíîìíîé ðàáîòû ñ óäàëåííûì äîñòóïîì ê ðàáî÷åìó ñòîëó.....223 Ïîääåðæêà çàãðóçêè óñòðîéñòâ ñ CD/DVD ................................................225 Ðàçðàáîòêà óñòðîéñòâ, çàãðóæàþùèõñÿ ñ CD/DVD.....................................225 Íàñòðîéêà êîíôèãóðàöèè îáðàçà â Target Designer äëÿ çàãðóçêè óñòðîéñòâà ñ CD/DVD...................................................................................226 Ïîäãîòîâêà óñòðîéñòâà è íîñèòåëÿ äëÿ ïðîõîæäåíèÿ FBA........................227 Èñïîëüçîâàíèå óòèëèòû hd2iso.exe äëÿ ñîçäàíèÿ îáðàçà çàãðóçî÷íîãî êîìïàêò-äèñêà íà îñíîâå ðàçäåëîâ æåñòêîãî äèñêà.............227 Ïîäãîòîâêà è ïðîõîæäåíèå ïðîöåäóðû FBA, ïðîâåðêà êîððåêòíîñòè ðàçâåðòûâàíèÿ òåõíîëîãèé EWF è El Torito................................................228 Ïîäãîòîâêà îáðàçà ïîñëå FBA äëÿ çàãðóçêè ñ êîìïàêò-äèñêà: óòèëèòà EtPrep..............................................................................................229 Ïðàêòè÷åñêàÿ ðàáîòà 8.................................................................................229 Óïðàæíåíèå 1. Ñîçäàíèå êîíôèãóðàöèè è òåñòèðîâàíèå îáðàçà äëÿ çàãðóçêè ñ êîìïàêò-äèñêà .................................................................229 Ïîääåðæêà çàãðóçêè óñòðîéñòâ ñ òâåðäîòåëüíûõ íîñèòåëåé (CompactFlash-óñòðîéñòâ).............................................................................232 Ðàçðàáîòêà óñòðîéñòâ, çàãðóæàþùèõñÿ ñ òâåðäîòåëüíûõ íîñèòåëåé .......232 Ïîäãîòîâêà òâåðäîòåëüíîãî íîñèòåëÿ.........................................................234 Óòèëèòà BootPrep.....................................................................................234 8 Ñîäåðæàíèå Ïðàêòè÷åñêàÿ ðàáîòà 9.................................................................................235 Óïðàæíåíèå 1. Ñîçäàíèå êîíôèãóðàöèè è òåñòèðîâàíèÿ îáðàçà äëÿ çàãðóçêè ñ CompactFlesh..................................................................235 Ïîääåðæêà çàãðóçêè óñòðîéñòâ ñ USB-íîñèòåëÿ .....................................237 Ðàçðàáîòêà óñòðîéñòâ, çàãðóæàþùèõñÿ ñ USB ...........................................237 Íàñòðîéêà êîíôèãóðàöèè îáðàçà â Target Designer äëÿ çàãðóçêè óñòðîéñòâà ñ USB-íîñèòåëÿ.........................................................................237 Ïîäãîòîâêà USB-íîñèòåëÿ ê çàãðóçêå Windows Embedded Standard 2009.......238 Ïðàêòè÷åñêàÿ ðàáîòà 10...............................................................................239 Óïðàæíåíèå 1. Ñîçäàíèå êîíôèãóðàöèè è òåñòèðîâàíèå îáðàçà äëÿ çàãðóçêè ñ USB Flash .......................................................................239 Êëîíèðîâàíèå óñòðîéñòâ ..............................................................................245 Ïðîèçâîäñòâî óñòðîéñòâ è ïðîöåäóðà êëîíèðîâàíèÿ ................................245 Íàñòðîéêè ïðîöåññà êëîíèðîâàíèÿ â ïðîãðàììå Target Designer ............246 Ïðîöåäóðà êëîíèðîâàíèÿ îáðàçà Windows Embedded Standard 2009 .....247 Ôàçà çàïå÷àòûâàíèÿ îáðàçà (Reseal) ....................................................247 Ôàçà êëîíèðîâàíèÿ îáðàçà (Clone)........................................................248 Êîìàíäà FBRESEAL................................................................................248 Óòèëèòà êëîíèðîâàíèÿ Sysprep...................................................................248 Ïðàêòè÷åñêàÿ ðàáîòà 11...............................................................................249 Óïðàæíåíèå 1. Ñîçäàíèå êîíôèãóðàöèè è òåñòèðîâàíèå îáðàçà ñ ïîääåðæêîé êëîíèðîâàíèÿ ñ System Cloning Tools. Àâòîìàòè÷åñêîå êëîíèðîâàíèå...............................................................249 Óïðàæíåíèå 2. Ñîçäàíèå êîíôèãóðàöèè è òåñòèðîâàíèå îáðàçà ñ ïîääåðæêîé êëîíèðîâàíèÿ ñ System Cloning Tools. Êëîíèðîâàíèå âðó÷íóþ ...........................................................................250 Òåõíîëîãèÿ âèðòóàëüíûõ äèñêîâ SDI.........................................................251 SDI Loader.....................................................................................................252 SDIMgr...........................................................................................................254 sdi2hd.exe......................................................................................................255 Ïðàêòè÷åñêàÿ ðàáîòà 12...............................................................................256 Óïðàæíåíèå 1. Ñîçäàíèå âèðòóàëüíûõ äèñêîâ óòèëèòîé SDI Loader.....256 Óïðàæíåíèå 2. Ðàáîòà ñ âèðòóàëüíûìè äèñêàìè ñ èñïîëüçîâàíèåì óòèëèòû SDIMgr........................................................257 Ïîääåðæêà çàãðóçêè óñòðîéñòâ ïî ñåòè (PXE) .........................................258 Remote Boot Manager...................................................................................259 Çàãðóçêà óñòðîéñòâà ïî ñåòè........................................................................260 Íàñòðîéêè DHCP- è PXE-ñåðâåðîâ äëÿ ðàáîòû óäàëåííîé çàãðóçêè........261 Ñåðâåðû DHCP è PXE íàõîäÿòñÿ íà îäíîì êîìïüþòåðå .....................261 Ñåðâåðû DHCP è PXE íàõîäÿòñÿ íà ðàçíûõ êîìïüþòåðàõ..................261 Ñîäåðæàíèå 9 Èñïîëüçîâàíèå BOOT.INI ïðè óäàëåííîé çàãðóçêå.....................................262 Èñïîëüçîâàíèå Remote Boot Service â ñîáñòâåííûõ ðåøåíèÿõ................262 Ïðàêòè÷åñêàÿ ðàáîòà 13...............................................................................262 Óïðàæíåíèå 1. Ñîçäàíèå îáðàçà äëÿ çàãðóçêè ïî ñåòè. Íàñòðîéêà óäàëåííîé çàãðóçêè...............................................................263 Óïðàâëåíèå ïèòàíèåì óñòðîéñòâ................................................................265 Êîìïîíåíò Power Management Application..................................................265 Óòèëèòà xpepm.exe.......................................................................................266 Ïðîãðàììíûé èíòåðôåéñ óïðàâëåíèÿ ïèòàíèåì .......................................266 Ïðàêòè÷åñêàÿ ðàáîòà 14...............................................................................266 Óïðàæíåíèå 1. Ïðèëîæåíèå óïðàâëåíèÿ ïèòàíèåì. Minlogon..............267 Óïðàæíåíèå 2. Ïðèëîæåíèå óïðàâëåíèÿ ïèòàíèåì. WinLogon ............268 5. Разработка компонентов драйверов и приложений................................................................................... 271 Êîìïîíåíòû â Embedded Standard 2009...................................................271 Êîìïîíåíòû ..................................................................................................272 Ñâîéñòâà ..................................................................................................272 Ôàéëû (Files)............................................................................................274 Íàñòðîéêè ðååñòðà (Registry Data).........................................................275 Ïðèíàäëåæíîñòü ê ãðóïïàì (Group Memberships).................................276 Çàâèñèìîñòè ............................................................................................277 Äîïîëíèòåëüíûå ðåñóðñû êîìïîíåíòà (Resources)..............................279 Çàâèñèìîñòè (Dependencies).......................................................................289 Õðàíèëèùà (Repositories) ............................................................................289 Íàáîðû õðàíèëèù (Repository Sets)............................................................290 Ïàêåòû (Packages)........................................................................................290 Ïðàêòè÷åñêàÿ ðàáîòà 15...............................................................................290 Óïðàæíåíèå 1. Äîáàâëåíèå ôàéëîâ, çàïèñåé ðååñòðà è çàâèñèìîñòåé â êîìïîíåíò. Îáúåäèíåíèå õðàíèëèù è êîìïîíåíòîâ â ïàêåòû. Èìïîðò êîìïîíåíòà. Ïðîâåðêà êîððåêòíîé ñáîðêè êîìïîíåíòà â îáðàç.................................................290 Îñíîâû ðàçðàáîòêè êîìïîíåíòîâ â Embedded Standard 2009.............294 Îáùèå ïðèíöèïû ïîñòðîåíèÿ êîìïîíåíòîâ...............................................294 Êîìïîíåíòû äðàéâåðîâ...........................................................................296 Êîìïîíåíòû ïðèëîæåíèé........................................................................297 Êîìïîíåíòû ìàêðîñû..............................................................................297 Êîìïîíåíòû ïðèìèòèâû..........................................................................297 Ñîçäàíèå êîìïîíåíòîâ èìïîðòîì ôàéëîâ...............................................297 Ôàéëû PMQ...................................................................................................298 10 Ñîäåðæàíèå Ôàéëû INF.....................................................................................................299 Ðàçðåøåíèå ïðîáëåì èìïîðòà ôàéëîâ INF...........................................300 Ôàëû REG.....................................................................................................301 Ïðàêòè÷åñêàÿ ðàáîòà 16...............................................................................301 Óïðàæíåíèå 1. Èìïîðò ôàéëîâ REG .....................................................301 Óïðàæíåíèå 2. Èìïîðò ôàéëîâ INF. Êîìïîíåíòèçàöèÿ äðàéâåðà .......302 Äîïîëíèòåëüíûå âîçìîæíîñòè ñîçäàíèÿ êîìïîíåíòîâ.........................303 Ñîçäàíèå ñîáñòâåííîé îáîëî÷êè ñèñòåìû.................................................303 Èñïîëüçîâàíèå ñíèìêîâ ñèñòåìû................................................................304 Îïðåäåëåíèå çàãðóæàåìûõ ìîäóëåé...........................................................304 Îïðåäåëåíèå èñïîëüçóåìûõ ñèñòåìíûõ ðåñóðñîâ.....................................305 Ïðàêòè÷åñêàÿ ðàáîòà 17...............................................................................306 Óïðàæíåíèå 1. Ñîçäàíèå è òåñòèðîâàíèå êîìïîíåíòà ñîáñòâåííîé îáîëî÷êè ñèñòåìû.............................................................306 Óïðàæíåíèå 2. Ðàçðàáîòêà êîìïîíåíòà äëÿ ïðèëîæåíèÿ.....................307 6. Подготовка и развертывание образов Embedded Standard 2009................................................................................... 310 Ïîäãîòîâêà îáðàçà Embedded Standard 2009..........................................310 Ïðîöåññ First Boot Agent (FBA)....................................................................311 Îáçîð ïðîöåäóðû FBA..................................................................................311 Ôàçû FBA ......................................................................................................311 Ôàéëû FBALOG.TXT è SETUPAPI.LOG ......................................................312 Ðàçâåðòûâàíèå îáðàçà Embedded Standard 2009...................................313 Ïîäãîòîâêà íîñèòåëÿ ê ðàçâåðòûâàíèþ ......................................................313 Âàðèàíòû ðàçâåðòûâàíèÿ Embedded Standard 2009 .................................314 Äâîéíàÿ çàãðóçêà.....................................................................................314 Ñïîñîáû ïåðåíîñà îáðàçà Embedded Standard 2009................................315 Äðóãèå âàðèàíòû ðàçâåðòûâàíèÿ ...........................................................316 7. Обслуживание устройств на базе Embedded Standard 2009................................................................................... 317 Îáçîð âîçìîæíîñòåé ïî îáñëóæèâàíèþ îáðàçîâ....................................317 Îáñëóæèâàíèå îáðàçîâ ÷àñòè÷íûì îáíîâëåíèåì..................................317 System Center Configuration Manager (SCCM) 2007...................................317 Windows Server Update Services (WSUS) ...................................................319 Device Update Agent (DUA)...........................................................................320 Ïðàêòè÷åñêàÿ ðàáîòà 18...............................................................................322 Óïðàæíåíèå 1.Ñîçäàíèå è òåñòèðîâàíèå îáðàçà ñ ïîääåðæêîé îáíîâëåíèé ïî òåõíîëîãèè WSUS..........................................................322