Mainos / Advertisement:

Ero sivun ”Unattended Windows Setup” versioiden välillä

Kohteesta Taisto
Siirry navigaatioon Siirry hakuun
Rivi 19: Rivi 19:
  
 
=== Esimerkki ===
 
=== Esimerkki ===
 +
<?xml version="1.0" ?>
 +
<unattend xmlns="urn:schemas-microsoft-com:unattend">
 +
  <settings pass="windowsPE">
 +
      <component name="Microsoft-Windows-Setup" publicKeyToken="31bf3856ad364e35"
 +
language="neutral" versionScope="nonSxS" processorArchitecture="x86">
 +
        <WindowsDeploymentServices>
 +
            <Login>
 +
              <WillShowUI>OnError</WillShowUI>
 +
              <Credentials>
 +
                    <Username>username</Username>
 +
                    <Domain>Fabrikam.com</Domain>
 +
                    <Password>my_password</Password>
 +
                  </Credentials>
 +
              </Login>
 +
            <ImageSelection>
 +
              <WillShowUI>OnError</WillShowUI>
 +
              <InstallImage>
 +
                  <ImageName>Windows Vista with Office</ImageName>
 +
                  <ImageGroup>ImageGroup1</ImageGroup>
 +
                  <Filename>Install.wim</Filename>
 +
              </InstallImage>
 +
                  <InstallTo>
 +
                  <DiskID>0</DiskID>
 +
                  <PartitionID>1</PartitionID>
 +
              </InstallTo>
 +
            </ImageSelection>
 +
        </WindowsDeploymentServices>
 +
        <DiskConfiguration>
 +
            <WillShowUI>OnError</WillShowUI>
 +
              <Disk>
 +
                  <DiskID>0</DiskID>
 +
                  <WillWipeDisk>false</WillWipeDisk>
 +
                  <ModifyPartitions>
 +
                    <ModifyPartition>
 +
                        <Order>1</Order>
 +
                        <PartitionID>1</PartitionID>
 +
                        <Letter>C</Letter>
 +
                        <Label>TestOS</Label>
 +
                        <Format>NTFS</Format>
 +
                        <Active>true</Active>
 +
                        <Extend>false</Extend>
 +
                    </ModifyPartition>
 +
                  </ModifyPartitions>
 +
            </Disk>
 +
        </DiskConfiguration>
 +
      </component>
 +
      <component name="Microsoft-Windows-International-Core-WinPE" publicKeyToken="31bf3856ad364e35"
 +
language="neutral" versionScope="nonSxS" processorArchitecture="x86">
 +
        <SetupUILanguage>
 +
            <WillShowUI>OnError</WillShowUI>
 +
            <UILanguage>en-US</UILanguage>
 +
        </SetupUILanguage>
 +
        <UILanguage>en-US</UILanguage>
 +
      </component>
 +
  </settings>
 +
</unattend>

Versio 26. tammikuuta 2015 kello 18.38

Unattended Windows Setup mahdollistaa Windowssin asentamisen automaattisesti. Kaikki asetukset määritetään etukäteen tiedostoon josta asennusohjelma lukee kaikki asetukset.

Asenna WAIK (Windows 7) tai ADK (Windows 8.X).

Käynnistä Windows System Image Manager


Valitse image johon haluat tehdä Unattended tiedoston.

Adk 1.png

Luo uusi Answer tiedosto. Tähän tiedostoon kirjoitetaan kaikki asetukset.

Adk 2.png

Esimerkki tiedosto.

Adk 3.png

Esimerkki

<?xml version="1.0" ?> 
<unattend xmlns="urn:schemas-microsoft-com:unattend">
  <settings pass="windowsPE">
     <component name="Microsoft-Windows-Setup" publicKeyToken="31bf3856ad364e35" 

language="neutral" versionScope="nonSxS" processorArchitecture="x86">

        <WindowsDeploymentServices>
           <Login>
              <WillShowUI>OnError</WillShowUI>
              <Credentials>
                    <Username>username</Username>
                    <Domain>Fabrikam.com</Domain>
                    <Password>my_password</Password>
                 </Credentials>
              </Login>
           <ImageSelection>
              <WillShowUI>OnError</WillShowUI>
              <InstallImage>
                 <ImageName>Windows Vista with Office</ImageName>
                 <ImageGroup>ImageGroup1</ImageGroup>
                 <Filename>Install.wim</Filename>
              </InstallImage>
                 <InstallTo>
                 <DiskID>0</DiskID>
                 <PartitionID>1</PartitionID>
              </InstallTo>
           </ImageSelection>
        </WindowsDeploymentServices>
        <DiskConfiguration>
           <WillShowUI>OnError</WillShowUI>
              <Disk>
                 <DiskID>0</DiskID>
                 <WillWipeDisk>false</WillWipeDisk>
                 <ModifyPartitions>
                    <ModifyPartition>
                       <Order>1</Order>
                       <PartitionID>1</PartitionID>
                       <Letter>C</Letter>
                       <Label>TestOS</Label>
                       <Format>NTFS</Format>
                       <Active>true</Active>
                       <Extend>false</Extend>
                    </ModifyPartition>
                 </ModifyPartitions>
           </Disk>
        </DiskConfiguration>
     </component>
     <component name="Microsoft-Windows-International-Core-WinPE" publicKeyToken="31bf3856ad364e35" 

language="neutral" versionScope="nonSxS" processorArchitecture="x86">

        <SetupUILanguage>
           <WillShowUI>OnError</WillShowUI>
           <UILanguage>en-US</UILanguage>
        </SetupUILanguage>
        <UILanguage>en-US</UILanguage>
     </component>
  </settings>
</unattend>
Mainos / Advertisement: