Jump to content

Automated Deployment


Recommended Posts

Hi

I have started looking at the company automated 2008 builds and I am currently having a weird issue. The build works unattended bar one UI, the 'Select OS' screen, if I manually select the OS it then trundles through to completion. I am using a company MAK license key obtained from the MS site. Weird thing is, if I walk through the setup UI's I get a different set of OS choices than if I do with the unattended setup, from the same source files. The step through OS selections are 'Windows Server 2008 Standard', 'Enterprise', etc... If I do the unattended build the options are, 'Windows Longhorn SERVERSTANDARD', 'SERVERENTERPRISE', etc... Either way if I manually select the OS it completes.

I have tried the key location in the PE Pass and the specialise pass but neither seem to help.

Please find below a cut down version of the xml file I am using, with what I think is enough to do a simple build, but even this asks me to select the OS. What am I missing here, I have read that you should be able to not include the key at all and it should still work, but not for me. What I don't understand is how the build actually knows which version of the OS you are trying to install, our key on the MS site says Standard and Enterprise, so the key is not that specific. There does not appear to be any component to specifiy, 'Windows Server 2008 Standard' for example.

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

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

<servicing></servicing>

<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">

<SetupUILanguage>

<UILanguage>en-GB</UILanguage>

</SetupUILanguage>

<UILanguage>en-us</UILanguage>

<InputLocale>en-GB</InputLocale>

<SystemLocale>en-GB</SystemLocale>

<UserLocale>en-GB</UserLocale>

<UILanguageFallback>en-GB</UILanguageFallback>

</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>

</UserData>

<ImageInstall>

<OSImage>

<InstallToAvailablePartition>true</InstallToAvailablePartition>

</OSImage>

</ImageInstall>

<EnableFirewall>false</EnableFirewall>

</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>COMPANY_NAME</RegisteredOrganization>

<RegisteredOwner>COMPANY_NAME</RegisteredOwner>

<ShowWindowsLive>false</ShowWindowsLive>

<ProductKey>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</ProductKey>

</component>

</settings>

<cpi:offlineImage cpi:source="wim:c:/source/sources/install.wim#Windows Longhorn SERVERSTANDARD" xmlns:cpi="urn:schemas-microsoft-com:cpi" />

</unattend>

Any assistance would be appreciated, it is starting to drive me nuts.

Regards

Tim

Link to comment
Share on other sites


In:

<component name="Microsoft-Windows-Setup" processorArchitecture="x86"....

you need to specify the OS version you want to install.

e.g.

<component name="Microsoft-Windows-Setup" processorArchitecture="x86"....

<ImageInstall>

<OSImage>

<InstallFrom>

<MetaData wcm:action="add">

<Value>Windows Longhorn SERVERSTANDARD</Value>

<Key>/IMAGE/NAME</Key>

</MetaData>

<Path>... path to install.wim file </Path>

<Credentials> .... If needed to access source media on a file share

<Domain> NT Domain </Domain>

<Password> NT User Account </Password>

<Username> NT User password </Username>

</Credentials>

</InstallFrom>

<InstallToAvailablePartition>true</InstallToAvailablePartition>

<WillShowUI>OnError</WillShowUI>

</OSImage>

</ImageInstall>

The names of the OS versions come from the catalogue files that ship with the OS. If you open the .wim file in Windows System Image Manager it will ask you to load the catalogue file for the OS you are building.

Link to comment
Share on other sites

Leen2

Thank you for the reply and a massive thank you for the resolution.

The options below do not appear as options in my WAIK, I have manually added these to the xml file and it works. It always seemed a little odd that you didn't seem to be able to specify the OS version name anywhere.

<MetaData wcm:action="add">

<Value>Windows Longhorn SERVERSTANDARD</Value>

<Key>/IMAGE/NAME</Key>

</MetaData>

Again, many thanks.

Tim

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...