Sample MaximumUnattended.xml File

Sample MaximumUnattended.xml File

The following is a sample xml file that includes all possible elements for use in an unattended installation of WEPOS. You can copy this file and make changes as needed to adapt the file for use with your particular installation.

<?xml version="1.0" encoding="utf-8" ?>
<Unattend>
   <LoggingData>
      <!--This section contains elements for logging settings Setup will use-->
      <LogFile Path="A:\WEPOSSetup.log" />
      <UnattendedFile Copy="Yes" Path="\\server\share\Unattended.xml" />
   </LoggingData>
   <UserData>
      <!-- This section contains elements for pre-populating user information and personalizing the user experience-->
      <ComputerName Value="MYCOMPUTER" />
      <FullName Value="Pat Coleman" />
      <Organization Value="Woodgrove Bank" />
      <ProductKey Value="12345-ABCDE-12345-ABCDE-12345" />
      <AdminPassword Value="TG33hY" StrongPassword="No" EncryptedPassword="No" />
   </UserData>
   <SetupData>
      <!-- This section contains elements that setup will use to determine what a user needs to do after setup -->
      <SystemCloning Value="On" />
   </SetupData>
   <DiskConfig>
      <!-- This section contains elements for pre-populating information about disk configuration settings-->
      <Disk ID="0" WipeDisk="Yes">
      <CreatePartition Label="Windows Partition" Size="3000" Letter="C" FileSystem="NTFS" AllocationUnit="1024" QuickFormat="Yes" FileCompression="Yes" />
      </Disk>
   </DiskConfig>
   <SystemData>
      <OSConfiguration>
         <!-- This section contains elements for setting OS configuration information.-->
         <PageFile Path="C:\pagefile.sys" InitialSize="256" MaximumSize="512" />
      </OSConfiguration>
      <RegionalSettings>
         <!-- This section contains elements for selecting regional and language settings which will be used for the user interface-->
         <UserInterface Value="12" />
         <StandardsAndFormats Value="1036" />
         <DefaultInputLanguage Value="1036" />
         <NonUnicodeLanguage Value="1036" />
         <GeographicalLocation Value="84" />
         <TimeZone Value="030" />
      </RegionalSettings>
      <Security>
         <!-- This section contains elements for adding a machine to a domain and creating new user accounts on the local machine.-->
         <JoinDomain Username="Domain1\JANEDOE" Password="123!123abc" MachineDomain="Domain2" EncryptedPassword="No" />
         <!—If you want to join a workgroup instead of a domain, replace the <JoinDomain> element shown above with something like <JoinWorkgroup Value="MSHome" /> -->
         <Account Username="user1" Password="eM34!Cf" Group="Power Users" EncryptedPassword="No" StrongPassword=”Yes” />
      </Security>
      <Components>
         <!-- This section contains elements for choosing the optional components that are to be installed-->
         <AdditionalDriverSupport Value="Yes" />
         <AdditionalCodePageSupport Value="Yes" />
         <WindowsMediaPlayer9 Value="Yes" />
         <LocalManagementTools Value="Yes" />
         <ManagementClientSupport Value="Yes" />
         <ChineseSimplifiedLangPack Value="Yes" />
         <FrenchLangPack Value="Yes" />
         <GermanLangPack Value="Yes" />
         <ItalianLangPack Value="Yes" />
         <JapaneseLangPack Value="Yes" />
         <KoreanLangPack Value="Yes" />
         <SpanishLangPack Value="Yes" />
         <AdditionalFonts Value="Yes" />
         <AdditionalInputDevice Value="Yes" />
         <IIS Value="Yes" />
      </Components>
      <Networking>
         <!-- This section contains elements for pre-populating information about advance network settings-->
         <IPAddress DynamicIPAddress="No" StaticIPAddress="111.111.111.111" SubnetMask="222.222.222.222" DefaultGateway="333.333.333.333" />
         <DNSServer DNSAuto="No" PreferredDNSServer="255.255.255.255" AlternateDNSServer="155.155.155.155" />
         <WINSServer WINSAuto="No" PreferredWINSServer="233.233.233.233" AlternateWINSServer="252.252.252.252" />
      </Networking>
   </SystemData>
   <RunOnce>
      <!-- This section contains elements for allowing additional commands during setup-->
      <RunOnceCommand FilePath="C:\sample1.vbs" Attributes="/a /f /e" Flags="1" ErrorControl="1" Reboot="True" Timeout="100" Cloning="On">
         <DisplayName Value="MSDE Setup" />
         <Description Value="This RunOnce Command installs MSDE" />
      </RunOnceCommand>
      <RunOnceCommand FilePath="C:\sample2.vbs" Attributes="/r /j /k" Flags="0" ErrorControl="0" Reboot="True" Timeout="0" Cloning="Off">
         <DisplayName Value="MSDE Setup" />
         <Description Value="This RunOnce Command installs MSDE" />
      </RunOnceCommand>
      <RunOnceCommand FilePath="C:\sample3.vbs" Attributes="/d /n /m" Flags="0" ErrorControl="0" Reboot="True" Timeout="0" Cloning="On">
         <DisplayName Value="MSDE Setup" />
         <Description Value="This RunOnce Command installs MSDE" />
      </RunOnceCommand>
      <RunOnceCommand FilePath="C:\sample4.vbs" Attributes="/s /f /l" Flags="1" ErrorControl="1" Reboot="True" Timeout="1000" Cloning="Off">
         <DisplayName Value="MSDE Setup" />
         <Description Value="This RunOnce Command installs MSDE" />
      </RunOnceCommand>
   </RunOnce>
</Unattend>
© 2005 Microsoft Corporation. All rights reserved.



Show: