MSFN Forum: AutoUnattend.xml help with OOBE! - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

AutoUnattend.xml help with OOBE! I need only OOBE settings.. Rate Topic: -----

#1 User is offline   Clint 

  • Go ahead, punk'
  • PipPipPip
  • Group: Members
  • Posts: 414
  • Joined: 03-April 05

Posted 29 December 2006 - 10:02 AM

**** this AutoUnattend.xml crap!

I get errors and whatnot all the time, and the helpfiles are not of much help when it comes to understand the format.

I only need to have this settings applied, nothing more:

 
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Other</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE> 


..I only need a template to use for this only, coz I do constant installs in VMware and this will save me 3min each time.


Can someone give me a little bit of code?

Thanks!
:)


#2 User is offline   FireGeier 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 405
  • Joined: 24-October 05

Posted 29 December 2006 - 12:49 PM

Hello, Clint! :hello:

I don't know where you get what kind of errors exactly, but if you're using the <SkipMachineOOBE>true</SkipMachineOOBE> it's causing several "problems" I know about for the moment. There might be some more:

1. Microsoft does not recommend to use this tag. This is the reason why you're getting a warning message in WSIM. It's not a critical error.

2. If you set this tag to true, Automatic Updates will be disabled what ever you set.

3. The setting of Network Location will be ignored - the box will pop up at the end of installation.

If you should have other or more problems, it would be helpfull to know, what kind of messages you're getting and how you're complete AutoUnattend.xml is looking like.

Martin

#3 User is offline   Clint 

  • Go ahead, punk'
  • PipPipPip
  • Group: Members
  • Posts: 414
  • Joined: 03-April 05

Posted 29 December 2006 - 10:53 PM

Thanks for helping out! ;)

How does this loke like?
I can't understand why the "offlineImage" line has to be there, can't I just remove it?
 
<?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">
        </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>
                <ProductKey>
                    <WillShowUI>OnError</WillShowUI>
                </ProductKey>
            </UserData>
            <Display>
                <ColorDepth>32</ColorDepth>
                <HorizontalResolution>1024</HorizontalResolution>
                <VerticalResolution>768</VerticalResolution>
            </Display>
            <UseConfigurationSet>true</UseConfigurationSet>
            <DiskConfiguration>
                <WillShowUI>Always</WillShowUI>
            </DiskConfiguration>
        </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">
            <OEMInformation>
                <Manufacturer>The TEAM</Manufacturer>
                <Model>VISTA Gamers Ed.</Model>
            </OEMInformation>
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <NetworkLocation>Other</NetworkLocation>
                <ProtectYourPC>3</ProtectYourPC>
                <SkipMachineOOBE>true</SkipMachineOOBE>
                <SkipUserOOBE>true</SkipUserOOBE>
            </OOBE>
            <Display>
                <ColorDepth>32</ColorDepth>
                <HorizontalResolution>1024</HorizontalResolution>
                <VerticalResolution>768</VerticalResolution>
            </Display>
            <VisualEffects>
                <FontSmoothing>ClearType</FontSmoothing>
            </VisualEffects>
            <TimeZone>Central Standard Time</TimeZone>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:c:/vista/sources/install.wim#Windows Vista ULTIMATE" 
xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend> 



..it will still give me errors at install with this


EDIT: Is it just me, or hasn't the board gotten changed to the worse...the user UI is terrible.

This post has been edited by Clint: 29 December 2006 - 10:55 PM


#4 User is offline   FireGeier 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 405
  • Joined: 24-October 05

Posted 30 December 2006 - 03:15 AM

The "offlineImage" identifies which VISTA-Version you're installing AFAIK. If you look at the install.wim you'll see seven subimages represanting the different Versions (Business, Home Basic ...). If you would remove the offlineImage line Setup would not know wich Version you wanna install.

I can't find any errors so far in your AutoUnattend.xml, so what kind of errors you've got?

Martin

#5 User is offline   MAVERICKS CHOICE 

  • The Guy from Aus
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,615
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 30 December 2006 - 04:06 AM

Can anyone advise of the relevance of the file location relating to:
[/code] <cpi:offlineImage cpi:source="wim:c:/vista/sources/install.wim#Windows Vista ULTIMATE"[code]


As the .xml can be made anywhere using the waik?

The fellows above I referenced is in the root of his Vista dir C:. I made mine on the desktop? whats the difference in respect of the autounattend.xml file?

This post has been edited by MAVERICKS CHOICE: 30 December 2006 - 04:10 AM


#6 User is offline   fizban2 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,898
  • Joined: 14-April 05
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 30 December 2006 - 11:43 AM

View PostMAVERICKS CHOICE, on Dec 30 2006, 04:06 AM, said:

Can anyone advise of the relevance of the file location relating to:
[/code] <cpi:offlineImage cpi:source="wim:c:/vista/sources/install.wim#Windows Vista ULTIMATE"[code]


As the .xml can be made anywhere using the waik?

The fellows above I referenced is in the root of his Vista dir C:. I made mine on the desktop? whats the difference in respect of the autounattend.xml file?


the offline code tells the waik where the WIM file and data image from that WIM is located, this is needed for the express purpose if you ever had to edit the XML file again, it will look in this location first for that WIM, if it has moved it will ask you to locate the WIM again.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy