• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
zedox

Install applications... SP1

30 posts in this topic

Why use the unattended.xml cant autounattended.xml do all this?

Yes it can. :))

Can you pls elaborate?

0

Share this post


Link to post
Share on other sites

If you are doing a DVD boot, you will name your unattend file autounattend.xml and place that on a USB stick or floppy. Can be placed in root of dvd also but you can't modify that easily and continue with install. If you are doing a network share install you name it unattend.xml and if you are doing a WDS installation, you name it imageunattend.xml.

I use autounattend.xml and place that on a floppy where you can add all passes.

Edited by maxXPsoft
0

Share this post


Link to post
Share on other sites

<?xml version="1.0" encoding="utf-8" ?> 
- <unattend xmlns="urn:schemas-microsoft-com:unattend">
- <settings pass="windowsPE">
- <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>
<Key>sssss-nnnnn-aaaaa-ccccc-kkkkk</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
<Organization>National Snack Food Assaciation</Organization>
<FullName>ANONYMOUS</FullName>
<AcceptEula>true</AcceptEula>
</UserData>
- <ImageInstall>
- <OSImage>
- <InstallFrom>
- <MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows Vista ULTIMATE</Value>
</MetaData>
</InstallFrom>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
<UseConfigurationSet>true</UseConfigurationSet>
</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">
- <AutoLogon>
<Enabled>true</Enabled>
<LogonCount>1</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
- <OOBE>
<HideEULAPage>true</HideEULAPage>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>false</SkipUserOOBE>
</OOBE>
- <FirstLogonCommands>
- <SynchronousCommand wcm:action="add">
<CommandLine>%systemdrive%\install\install.cmd</CommandLine>
<Order>1</Order>
</SynchronousCommand>
</FirstLogonCommands>
</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>COMPUTER</ComputerName>
<DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
</component>
- <component name="Microsoft-Windows-Security-Licensing-SLC-UX" 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">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:c:/documents%20and%20settings/david/desktop/vista%20unatt%20vlite/sources/install.wim#Windows Vista ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend

Here is a simple working example to automate

your install and additional applications like your

favorite web browser etc. It uses a the "use configuration set"

option value = "true" which for some reason is not

mentioned in any documentation that I know of.

It allows you to use $oem$ folders just like XP and

works without sysprep.

post-196312-1223052581_thumb.jpg

post-196312-1223056722_thumb.jpg

Edited by Tripredacus
codebox to code
0

Share this post


Link to post
Share on other sites

Hi,

Is this still valid with windows 2008 R2 SP1 ?

I'm doing the exact same things but with no luck. See my attempt here

Edited by cortex
0

Share this post


Link to post
Share on other sites

If you are doing a DVD boot, you will name your unattend file autounattend.xml and place that on a USB stick or floppy. Can be placed in root of dvd also but you can't modify that easily and continue with install. If you are doing a network share install you name it unattend.xml and if you are doing a WDS installation, you name it imageunattend.xml.

I use autounattend.xml and place that on a floppy where you can add all passes.

Do you run the Audit passes as well?

If that's the case, how does that work with only one unattend file? My understanding this far is that if you're going into audit pass via

oobeSystem|Reseal[mode=audit]

then the rest of oobeSystem pass is ignored and marked as "hasProcessed" in the cached answer file in Panther dir. When revisited next time it's ignored since it's marked as been processed?

I've tried doing everything in one file but all my goodies in oobeSystem was ignored after auditUser. If, however the audit passes are skipped, then it works with one file since no pass is revisited twice.

How does your answer file look like?

0

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

  • Recently Browsing   0 members

    No registered users viewing this page.