WindowsEmbeddedStandard7WES7定制手册.docx
《WindowsEmbeddedStandard7WES7定制手册.docx》由会员分享,可在线阅读,更多相关《WindowsEmbeddedStandard7WES7定制手册.docx(49页珍藏版)》请在冰豆网上搜索。
WindowsEmbeddedStandard7WES7定制手册
WindowsEmbedded
Standard2011
CTP2LabManual
TableofContents
1PreparingtoUseWindowsEmbeddedStandard20115
1.1Introduction5
1.2RelatedWindows7Documentation5
1.3MinimumDeviceHardwareRequirements5
1.4ReleaseNotes5
1.5InstallWindowsEmbeddedStandard2011Toolkit6
1.5.1OpenWindowsEmbeddedStandard2011ToolkitHelp6
1.6CreateaUtilityDrive7
1.6.1MakeYourUtilityDiskBootable7
1.6.2AddImageBuilderWizardtoYourUtilityDisk7
1.7CreateaWindowsPreinstallationEnvironmentUtilityDrive(Optional)8
1.7.1CreateaWindowsPEUtilityDiskwithImageConfigurationEditor8
1.7.2CreateaCustomWindowsPEImage8
2BuildWindowsEmbeddedStandard2011Images9
2.1BuildaWindowsEmbeddedStandard2011ImagewithImageBuilderWizard9
2.1.1BuildaThinClientImagewithEmbeddedEnablingFeatures9
2.1.2BuildanImagewithEmbeddedCoreOnly11
2.2BuildaWindowsEmbeddedStandard2011ImageUsingImageConfigurationEditor11
2.2.1BuildaThinClientImagewithCustomSettings11
2.2.2AddUpdatePackagestoaDistributionShare(Optional)14
2.2.3AddThird-PartySoftware(Optional)15
2.2.4RunaCustomScript(Optional)16
2.2.5AddThird-PartyDrivers(Optional)17
2.2.6MakeYourInstallFullyUnattended(Optional)17
2.2.7CreateImageBuilderWizardDiskfromAnswerFile(optional)24
3DeployanImage25
3.1PrepareandCaptureanImageforDeployment25
3.1.1SyspreptheImage25
3.1.2CapturetheImageIntoaWindowsImage(.wim)File25
3.2DeployanImageUsingImageX26
3.2.1PrepareyourDestinationDevice26
3.2.2ApplyanImagetoYourDevice’sHardDrive27
3.2.3ShutDowntheDestinationDevice27
3.3DeployanImageUsingImageBuilderWizard27
3.3.1StartImageBuilderWizardwithyourImage28
3.3.2CustomizeaCapturedImage29
4ServiceanImage31
4.1ServiceanImagewithImageConfigurationEditorandDISM31
4.1.1CreateaConfigurationSetusingImageConfigurationEditor31
4.1.2InstallusingyourConfigurationSet32
4.1.3Testyourimage34
4.2ServiceanImagewithDISM34
4.2.1Mountyourimage34
4.2.2Addsamplepackages34
4.2.3AddingaPackageUsingDISM35
4.2.4UnmountandCommitChanges35
4.2.5RedeployandVerify35
4.2.6AddaLanguagePack(optional)35
4.3InstallUpdateswithWUSA36
4.4ServiceanImagewithPackageScanner36
4.4.1PackageEnumeration37
4.4.2FindApplicableUpdates37
4.4.3Scavenging37
5AdditionalWindowsEmbeddedStandard2011Labs39
5.1SuppressOOBE39
5.1.1CreateanAnswerFile39
5.1.2UsingyouranswerfilewithImageBuilderWizard39
5.2UsingaCustomShellandCustomBranding40
5.2.1Hidebootscreens40
5.2.2UseShellLauncher40
5.2.3RemoveWindowsbranding41
5.2.4Replacethestartupscreenbackgroundimage41
5.2.5AddMessageBlockers42
5.3BuildaUSBbootableWindowsEmbedded2011image44
5.3.1InstallfromImageBuilderWizarddirectlytoUFD:
44
5.3.2InstallfromImageBuilderWizardtoHardDrive,ImageXtoUFD:
44
5.4CreateCustomTemplatesforIBW46
5.4.1CreatingTemplates46
5.4.2UsingCustomTemplatesinIBW46
1PreparingtoUseWindowsEmbeddedStandard2011
1.1Introduction
WelcometoWindowsEmbeddedStandard2011.ThislabmanualisaguidetohelpyouuseandevaluateWindowsEmbeddedStandard2011.Inadditiontopreparationsteps,suchastoolkitinstallation,thismanualincludeslabsforkeyscenariossuchasbuildinganimage,deployinganimageandservicinganimage.
Thelabsaremosteasilyfollowedintheorderpresented.YoucanalsochoselabsindividuallybasedonyourinterestsandpreviousexperiencewithWindowsEmbedded,butpleasenotethatseverallabscenariosassumeyouhavetheoutputofanearlierlabscenario.
1.2RelatedWindows7Documentation
WindowsEmbeddedStandard2011isbasedonWindows7;thereforemuchoftheWindows7documentationcanbeusedasreferencematerial.
∙Windows7AutomatedInstallationKit(WindowsAIK)onlinedocumentation
∙Windows7TechnicalLibraryonMicrosoftTechNet
∙WindowsDeveloperCenterforWindows7
1.3MinimumDeviceHardwareRequirements
YoumusthavethefollowingminimumhardwaretobeabletobuildaWindowsEmbeddedStandard2011imageonyourdevice:
∙1GHzx86oramd64processor
∙1GBofflashorharddrivespace(4GBrecommended)
∙512MBofRAM(1GBrecommendedforamd64devices)
∙900MHzCPUorequivalent
∙Atleastoneofthefollowingbootablemediatypes:
BootableDVD-ROMdrive
BootableUSB2.0portandaUSBFlashDrive(UFD)with4GBfreespace,oraccesstoalocalnetwork
∙BIOSsupportingWindowsPreinstallationEnvironment(WindowsPE)3.0
∙Minimumhardwarerequirements,particularlyRAMrequirements,maybegreaterdependingonthesizeandtypeoffeaturepackagesselected.
1.4ReleaseNotes
Althougheveryattempthasbeenmadetoprovideworkaroundsandadditionalusagenotesforscenariosthatareaffectedbyknownissuesinthepre-releaseversionsofWindowsEmbeddedStandard2011,westronglyrecommendthatyourefertothereleasenotesprovidedwiththisreleasebeforebeginninganyofthelabsdescribedinthismanual.
1.5InstallWindowsEmbeddedStandard2011Toolkit
YoucaninstallWindowsEmbeddedStandard2011ToolkitonyourdevelopmentcomputerfromaDVDorfromsetupfilesdownloadedfromMicrosoftConnect.
1.RunSetup.exe
IfyouhavetheWindowsEmbeddedStandard2011ToolkitDVD,installationshouldbeginwhenyouinserttheDVDintotheDVDdrive.Ifitdoesn’tstartautomatically,theSetup.exefilecanbefoundat:
:
\WindowsEmbeddedStudio.msi.
2.OntheSetupTypepage,dooneofthefollowing:
Toinstallthetoolsanddistributionsharetothedefaultlocation,selectComplete.Thedefaultlocationsare:
32-bitoperatingsystem:
[SystemDrive]:
\ProgramFiles\WindowsEmbeddedStandard2011
64-bitoperatingsystem:
[SystemDrive]:
\ProgramFiles(x86)\WindowsEmbeddedStandard2011
Toinstallthetoolsanddistributionsharetoadifferentlocation,selectCustom.
3.Followtheinstructionsintheinstallationwizardtocompletetheinstallationprocess.
1.5.1OpenWindowsEmbeddedStandard2011ToolkitHelp
TheWindowsEmbeddedStandard2011ToolkitHelpcontainsmoredetailedinformationonmanyofthetopicsandstepscontainedinthismanual.
ToaccesstheWindowsEmbeddedStandard2011ToolkitHelp:
1.StartImageConfigurationEditoronyourdevelopmentcomputer
FromtheStartmenu,clickPrograms,clickWindowsEmbeddedStandard2011,andthenclickImageConfigurationEditor.
2.Onthetoolbar,clicktheHelpicontolaunchHelp.
1.6CreateaUtilityDrive
IfyourdeviceisabletobootfromaDVD,youcanusetheWindowsEmbeddedStandard2011DVDappropriatetoyourdevice’sarchitecturetoinstalltheOSimagedirectlytoyourdevice.
OtherwiseyoucancreateabootableUSBdrivebyusingtheDiskParttoolandthenloadingtheUSBDrivewithImageBuilderWizard(IBW)orWindowsPreinstallationEnvironment(WinPE).DiskpartsupportsthepartitioningandformattingofaUSBFlashDevice(UFD)asabootabledevice.AUSBdrivewithaminimumof4GBisrecommendedforautilitydriveloadedwithImageBuilderWizard.
1.6.1MakeYourUtilityDiskBootable
3.AttachyourUSBdrivetoyourdevelopmentcomputer.
4.FromaWindowsVista,Windows7orWindowsPreinstallation(WindowsPE)3.0environment,runtheDiskParttoolbytypingthefollowingatacommandprompt:
diskpart
Note:
TheversionoftheDiskParttoolprovidedbyWindowsVista,Windows7andWindowsPE2.0,2.1and3.0supportsthepartitioningandformattingofaUFDasabootabledevice.PreviousversionsoftheDiskParttool,includingtheversionprovidedbyWindowsXP,donotfullysupportpartitioningandformattingaUFDtobebootableandshouldnotbeused.
5.UsetheDiskParttooltodeterminethedisknumberanddevicesizetobeusedforthenextstepbytypingthefollowingattheDiskPartprompt:
listdisk
6.UsetheDiskParttooltopartitionandformatthedriveandmakeitbootable.AttheDiskPartprompt,typethefollowing,replacingwiththedisknumberoftheUSBdrive:
selectdisk
clean
createpartpri
selectpart1
active
formatfs=ntfsquick
assign
exit
YourUSBdriveisnowbootable.
1.6.2AddImageBuilderWizardtoYourUtilityDisk
TheImageBuilderWizarddisksprovidetheabilitytoquicklygenerateanewIBWdiskintheeventIBWhasbeenservicedornewpackageshavebeenaddedtothedistributionshare.
TogenerateanImageBuilderWizardDisk:
7.StartImageConfigurationEditoronyourdevelopmentcomputer
FromtheStartmenu,selectPrograms,selectWindowsEmbeddedStandard2011,thenselectImageConfigurationEditor.
8.OntheToolsmenu,selectMediaCreation,thenselectCreateIBWDisk
9.Enterthedesireddistributionsharetobecopied.
10.SelectyourUSBdriveasthetargetfolder.
11.Selectthedesireddiskarchitecture.
12.ClickOK.
1.7CreateaWindowsPreinstallationEnvironmentUtilityDrive(Optional)
Insomeinstances,youmaywanttocreateautilitydiskthatincludestheWindowsPreinstallationEnvironment(WindowsPE).WindowsPEisalightweightversionofWindowsusedmainlyfordeployment.YoumayprefertouseWindowsPEinsteadofImageBuilderWizardifyourUSBdriveissmallerthan2GB,ifyouhavespacelimitationsonyourdeviceorifyourdevicerequirescustomdriversthatyouwillinstallonacustomversionofWindowsPE.
1.7.1CreateaWindowsPEUtility