Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
efheath

Windows 7 Autounattend.xml Setup Crash

Recommended Posts

Hi All,

Very new to the process of using WSIM for custom installations!

I have created the following XML file however, whenever I launch setup from a DVD it continues to Load files in a BIOS screen. It moves on to Setup is Starting, but at that point completely freezes and restarts. I can't find a log file anywhere and I don't get any sort of error message??

So i'm hoping a guru from these parts will be able to spot the problem and put me right!

Many Thanks

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<servicing>
<package action="configure">
<assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="6.1.7600.16385" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" />
<selection name="Internet-Explorer-Optional-amd64" state="false" />
<selection name="MediaCenter" state="false" />
<selection name="Printing-XPSServices-Features" state="false" />
<selection name="TabletPCOC" state="false" />
<selection name="WindowsGadgetPlatform" state="false" />
<selection name="Xps-Foundation-Xps-Viewer" state="false" />
</package>
<package action="configure">
<assemblyIdentity name="Microsoft-Windows-EnterpriseEdition" version="6.1.7600.16385" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" />
<selection name="Microsoft-Windows-Printing-XPSServices-Package" state="false" />
</package>
</servicing>
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" 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-US</UILanguage>
</SetupUILanguage>
<InputLocale>0809:00000809</InputLocale>
<UserLocale>en-GB</UserLocale>
<UILanguage>en-US</UILanguage>
<SystemLocale>en-GB</SystemLocale>
</component>
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" 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>
<Organization>ORG</Organization>
<FullName>ORG</FullName>
<AcceptEula>true</AcceptEula>
</UserData>
<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>33PXH-7Y6KF-2VJC9-XBBR8-HVTHH</Key>
<Value>Windows 7 ENTERPRISE</Value>
</MetaData>
</InstallFrom>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<AutoLogon>
<Password>
<Value>DontThinkImLeavingThisHereValue>
<PlainText>false</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>1</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Work</NetworkLocation>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<ProtectYourPC>3</ProtectYourPC>
</OOBE>
<UserAccounts>
<AdministratorPassword>
<Value>NorHere</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
</UserAccounts>
<RegisteredOrganization>ORG</RegisteredOrganization>
<RegisteredOwner>ORG</RegisteredOwner>
<ShowWindowsLive>false</ShowWindowsLive>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:M:/Installs/Operating Systems/Windows 7/Disk Contents/sources/install.wim#Windows 7 ENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Share this post


Link to post
Share on other sites

if it is not auto-restarting you can press shift f10 to bring up a command prompt.

from there you can use notepad to view the logs, the main one you should be looking at is setupact.log

there are more scattered around. in the inf folder theres one for 3rd party driver loading etc.

if it is auto-restarting i would advise breaking down your autounnattended file into chunks and work through it bit by bit, until you find the suspect setting.

hope this helps ^^

Share this post


Link to post
Share on other sites

I didn't know that W7 Enterprise was a valid option yet? :(

Anyway...this is wrong:



<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>33PXH-7Y6KF-2VJC9-XBBR8-HVTHH</Key>
<Value>Windows 7 ENTERPRISE</Value>
</MetaData>
</InstallFrom>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>

For one thing, NEVER post a key - even if it is a publicly available one. NEVER. :}

Secondly, the <Key>xxxxx</Key> that xml is referring to here is not your license key, it is the string format of your W7 image.

Like this:

            
<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows 7 ENTERPRISE</Value>
</MetaData>
</InstallFrom>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>

It could also look like this:

            <ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/INDEX</Key>
<Value>4</Value> <<<< Ultimate version of x64 resides in 4, x86 Ultimate lives in 5
</MetaData>
</InstallFrom>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>

I do not know the index for Enterprise. You may run IMAGEX /INFO and find out. Just use /IMAGE/NAME as this seems to be a preference thing.

Remember, exactly how you see it "/IMAGE/NAME"

Let us know if this works.

EDIT:

If you must enter your license key...just add this right under ImageInstall block:

            
<ImageInstall>
<OSImage>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows 7 Enterprise</Value>
</MetaData>
</InstallFrom>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>

<UserData>
<AcceptEula>true</AcceptEula>
<FullName>YOURNAME</FullName>
<Organization>YOURORG</Organization>
<ProductKey>
<Key>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
</UserData>

Edited by razormoon

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...