Jump to content

Vista unattended installation xml


Recommended Posts

Hallo,

since two days I worked on a unattended Vista Installation.

<?xml version="1.0" encoding="utf-8"?>

<unattend xmlns="urn:schemas-microsoft-com:unattend">

<settings pass="windowsPE">

<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">'>http://www.w3.org/2001/XMLSchema-instance">

<SetupUILanguage>

<UILanguage>de-DE</UILanguage>

</SetupUILanguage>

<InputLocale>0407:00000407</InputLocale>

<UserLocale>de-DE</UserLocale>

<UILanguage>de-DE</UILanguage>

<SystemLocale>de-DE</SystemLocale>

</component>

<component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm=" http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance ">

<UserData>

<AcceptEula>true</AcceptEula>

<FullName>Froebelschule Peine</FullName>

<Organization></Organization>

<ProductKey>

<Key>X9HTF-MKJQQ-XK376-TJ7T4-76PKF</Key>

<WillShowUI>Never</WillShowUI>

</ProductKey>

</UserData>

<ImageInstall>

<OSImage>

<InstallFrom>

<MetaData wcm:action="add">

<Key>/IMAGE/NAME</Key>

<Value>Windows Vista HOMEPREMIUM</Value>

</MetaData>

</InstallFrom>

<InstallToAvailablePartition>true</InstallToAvailablePartition>

<WillShowUI>OnError</WillShowUI>

</OSImage>

</ImageInstall>

</component>

</settings>

<settings pass="oobeSystem">

<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm=" http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance ">

<OOBE>

<HideEULAPage>true</HideEULAPage>

<NetworkLocation>Other</NetworkLocation>

<ProtectYourPC>1</ProtectYourPC>

<SkipMachineOOBE>true</SkipMachineOOBE>

<SkipUserOOBE>true</SkipUserOOBE>

</OOBE>

<TimeZone>W. Europe Standard Time</TimeZone>

<UserAccounts>

<AdministratorPassword>

<Value>admin</Value>

<PlainText>true</PlainText>

</AdministratorPassword>

<LocalAccounts>

<LocalAccount wcm:action="add">

<Password>

<Value>lehrer</Value>

<PlainText>true</PlainText>

</Password>

<Description></Description>

<DisplayName>Lehrer</DisplayName>

<Group>Users</Group>

<Name>Lehrer</Name>

</LocalAccount>

<LocalAccount wcm:action="add">

<Password>

<Value></Value>

<PlainText>true</PlainText>

</Password>

<Description></Description>

<DisplayName>Schueler</DisplayName>

<Group>Users</Group>

<Name>Schueler</Name>

</LocalAccount>

</LocalAccounts>

</UserAccounts>

</component>

<component name="Microsoft-Windows-Sidebar" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">'>http://www.w3.org/2001/XMLSchema-instance">

<SidebarOnByDefault>true</SidebarOnByDefault>

<SidebarVisible>true</SidebarVisible>

</component>

<component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">'>http://www.w3.org/2001/XMLSchema-instance">

<InputLocale>0407:00000407</InputLocale>

<UserLocale>de-DE</UserLocale>

<UILanguage>de-DE</UILanguage>

<SystemLocale>de-DE</SystemLocale>

</component>

</settings>

<settings pass="specialize">

<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm=" http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance ">

<ComputerName>*</ComputerName>

<RegisteredOrganization>Froebelschule Peine</RegisteredOrganization>

<RegisteredOwner>Froebelschule Peine</RegisteredOwner>

<Display>

<ColorDepth>32</ColorDepth>

<HorizontalResolution>1024</HorizontalResolution>

<RefreshRate>60</RefreshRate>

<VerticalResolution>768</VerticalResolution>

</Display>

<AutoLogon>

<Password>

<Value>admin</Value>

<PlainText>true</PlainText>

</Password>

<Enabled>true</Enabled>

<LogonCount>1</LogonCount>

<Username>Administrator</Username>

</AutoLogon>

</component>

<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm=" http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance ">

<DisableSR>0</DisableSR>

</component>

<component name="Security-Malware-Windows-Defender" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm=" http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance ">

<DisableAntiSpyware>true</DisableAntiSpyware>

</component>

</settings>

<settings pass="auditUser">

<component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">'>http://www.w3.org/2001/XMLSchema-instance">

<RunSynchronous>

<RunSynchronousCommand wcm:action="add">

<Order>10</Order>

<Path>cmd /c %AppsRoot%\Install\Install.cmd</Path>

<Description>Installiere Anwendungen und importiere Registry Settings</Description>

</RunSynchronousCommand>

<RunSynchronousCommand wcm:action="add">

<Order>20</Order>

<Path>%WINDIR%\system32\sysprep\sysprep.exe /generalize /quiet /oobe /reboot /unattend:%AppsRoot%\Install\Unattend.xml</Path>

<Description>Audit-Mode beenden und OOBE starten</Description>

</RunSynchronousCommand>

</RunSynchronous>

</component>

</settings>

</unattend>

My Problem ist the formatation and the partision of the HDD and the automated installation of programms.

The partision I plant ist first C: 30GB and D: the rest of the HDD. The hole hdd have to format first.

One Programm I want to install automaticly is e.g. firefox.

Sorry for my very bad englisch! I hope one of you can help me. I'm despaired...

Thank you!

greetz

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...