MSFN Forum: a sample autounattend.xml - working good - MSFN Forum

Jump to content



  • 4 Pages +
  • « First
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • You cannot reply to this topic

a sample autounattend.xml - working good install in 8 minutes, only partitioning screen is not automated Rate Topic: -----

#61 User is offline   sp00f 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 712
  • Joined: 30-November 06

Posted 15 April 2007 - 03:23 PM

View Postprathapml, on Apr 14 2007, 07:40 AM, said:

The xml in first post is for 32-bit only. The x64 will be similar but processorArchitecture & publicKeyToken might change.

thx , any one has an example xml for x64 ?

EDIT:

Never mind, i made one myself.

This post has been edited by sp00f: 16 April 2007 - 07:31 AM



#62 User is offline   jaybot 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 30-August 06

Posted 05 June 2007 - 04:52 PM

I would love a look at your x64 xml.

#63 User is offline   sp00f 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 712
  • Joined: 30-November 06

Posted 06 July 2007 - 06:00 PM

View Postjaybot, on Jun 6 2007, 12:52 AM, said:

I would love a look at your x64 xml.

I just opened the x86 one , and added the same things in a new x64 one

#64 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 27 July 2007 - 07:09 AM

Came across this bit of info recently - I'm assuming it will be available in Vista SP1 as well, and if so, it finally solves the driver problem in a simple manner.

Quote

Windows Server Longhorn Automatic Driver Injection

During WinPE the system looks for the directory named $WinPEDriver$ at the root of all visible drives given a drive letter of C or greater. If this directory exists, the module then adds this path to the list of paths that it maintains to search for driver packages. When this operation is complete, the module continues to scan the answer file, if present, for additional driver paths.

Because of this operation, drives that contain a $WinPEDriver$ directory in the root cause Setup to recursively search this directory for driver packages to be imported into the image during the WinPE phase. This includes hard drive partitions and removable media like floppy disk drives and flash drives. Type-27 hidden partitions are assigned a driver letter during the WinPE phase of Setup and are also searched.

LINK to source - HTML from google cache | or MSword file

#65 User is offline   Stead 

  • Member
  • PipPip
  • Group: Members
  • Posts: 182
  • Joined: 04-January 05

Posted 18 September 2007 - 05:25 AM

Hi, i've been searching around and I can't find what i'm looking for, is there documentation explaining this xml file completly with all available components listed and options, or has anyone made a program to help automate it?

I'd be interested in writing a simple app to toggle things on and off if there isn't already one, I know we have vlite but i'd like to be able to keep the source clean and just use an answer file

many thanks!

#66 User is offline   MAVERICKS CHOICE 

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

Posted 19 September 2007 - 01:23 PM

I find the waik /wsim reference to be very helpful. There a few tools you mention on this board for automating an xml.

#67 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 20 September 2007 - 03:06 PM

Yes indeed, resources for this with detailed help do exist, which is actually what I used.

WAIK - a set of packages around 900 MB in size, free download from oem.microsoft.com
WSIM - a graphical tool to help renerating an xml (unfortunately, an xml that passes validation by wsim will not always work as expected during setup, which is why I felt the need to post a known-to-be-working file on the forum).
documentation - yes there are some CHM files contained in the WAIK and are a very useful reference, might total up to hardly 5 MB.

#68 User is offline   Stead 

  • Member
  • PipPip
  • Group: Members
  • Posts: 182
  • Joined: 04-January 05

Posted 22 September 2007 - 06:19 PM

thanks!, i'll have to start downloading and reading.. one last thing, isthe WSIM a ms tool or a user made one? ... I'm half guessing its included in the waik?, very tired, about togoto bed but just thought i'd check this quickly whilst i can, shall be looking into it as soon as i get some free time, i like the download speed from microsoft servers, seem to forget i have a 8mb connection with most sites seemingly limited!

#69 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 September 2007 - 11:13 PM

Oh yes, it is part of WAIK.

#70 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 13 October 2007 - 01:58 AM

Still waiting upon the direct drop-in folder of "Updates" to automatically install updates post-SP1.
And the other drop-in folder mentioned earlier (quoted below):


View Postprathapml, on Jul 27 2007, 06:39 PM, said:

Came across this bit of info recently - I'm assuming it will be available in Vista SP1 as well, and if so, it finally solves the driver problem in a simple manner.

Quote

Windows Server Longhorn Automatic Driver Injection

During WinPE the system looks for the directory named $WinPEDriver$ at the root of all visible drives given a drive letter of C or greater. If this directory exists, the module then adds this path to the list of paths that it maintains to search for driver packages. When this operation is complete, the module continues to scan the answer file, if present, for additional driver paths.

Because of this operation, drives that contain a $WinPEDriver$ directory in the root cause Setup to recursively search this directory for driver packages to be imported into the image during the WinPE phase. This includes hard drive partitions and removable media like floppy disk drives and flash drives. Type-27 hidden partitions are assigned a driver letter during the WinPE phase of Setup and are also searched.

LINK to source - HTML from google cache | or MSword file


#71 User is offline   max1234 

  • Group: Members
  • Posts: 8
  • Joined: 14-February 08

Posted 04 March 2008 - 07:57 AM

Hi there! First of all - fantastic samples!

Now my question - i couldnt solve the problem yet to run a simple batchfile after installation .. as i see some of thoose samples added a line with a batchfile, follow:

<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<CommandLine>%SystemDrive%\install\GUIrunOnce.cmd</CommandLine>
<Description>customises settings</Description>
<Order>20</Order>
</SynchronousCommand>
</FirstLogonCommands>


OK here comes the question:
How do i copy the install-dir into the system-drive and how could i add the variable systemdrive - or does it work after i copied the directory to the sysdir?
You know .. i dont have alot of time to spend on my own Vista-DVD, thats why i dont want to get ride of WAIK, id rather use some own batchfiles to add updates and registrytweaks after installation, i think its the best solution because the implementation of updates and software dont works at all (many users reported problems on waik).

i hope someone could tell me how to copy a directory from the dvd, including sub-dirs and all files and tell me if it works with the batchfile-run-line in the unattented.xml lines ive posted in the code-tag up of my post.

And yes .. err .. what does the order-line means? why it counts 20?

i would be very happy if someone which knows what im asking for would help me.

thanks alot allready, a very interesting community, im sorry for myself that i cant spend alot of time into this, im very busy.

greets,
max

This post has been edited by max1234: 04 March 2008 - 07:59 AM


#72 User is offline   Fire 

  • Group: Members
  • Posts: 1
  • Joined: 05-February 09

Posted 05 February 2009 - 09:52 AM

I've been searching but have not found the answer yet. In XP there were limitations within the different answer files as to the length the string could be, i.e. DriverPaths was limited to 2048 or 4096 depending upon the answer file.

Are there any such limitations on any of the Vista answerfiles path type strings? My boss wants to put as many of the drivers and other files apps that we can on the network to install unattendedly instead of putting them in the image but the UNC path to the folder containing everything is already 40 characters long and I don't think there is a way for me to remapped it to a drive letter that will be there whenever it is needed without creating even bigger headaches.

God i hate management sometimes.

#73 User is offline   atolica 

  • ENT Surgeon
  • PipPip
  • Group: Members
  • Posts: 218
  • Joined: 15-December 05
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 15 February 2009 - 11:10 AM

View PostEmRoD, on Jan 18 2007, 08:52 AM, said:

Hi


to add drivers to the winPE pass you have to use :

<Microsoft-Windows-PnpCustomizationsWinPE> In the Windows PE Pass

 
The Microsoft-Windows-PnpCustomizationsWinPE component is used to add one
or more out-of-box drivers to a Windows installation. Drivers that are located in the
path specified by DriverPaths are copied to the driver store of the Windows installation
during the windowsPE configuration pass.

You can add boot-critical as well as non-boot-critical drivers with this component to a
Windows image before it is installed. 


To add them during the Offline servicing pass Use :

<Microsoft-Windows-PnpCustomizationsNonWinPE>

Those 2 ways Allows you to add Critical drivers NEEDED by the system. (Mass Strorage or network if use use net shares during installation.)

To add them copied during the auditSystem Pass, use :

<Microsoft-Windows-PnpCustomizationsNonWinPE> Int the AuditSystem Pass

 
The Microsoft-Windows-PnpCustomizationsNonWinPE component is used to add one or more
out-of-box drivers to a Windows installation. Drivers that are located in the path specified by
DriverPaths are copied to the driver store of the Windows installation during the auditSystem
configuration pass. When the system runs Plug and Play, these out-of-box drivers are available
to install hardware on the system. 




Tha means To install Vista on a RAID Array, you have to use WinPE to add drivers.
if you want to add video drivers, you can just use the audit pass.



If I try to add drivers during auditSystem I get an error, and everything hangs. I am modifying the answer file to see if I can't install the drvers during offlineServicing.

Anybody knows why is this happening?

Thank you

#74 User is offline   atolica 

  • ENT Surgeon
  • PipPip
  • Group: Members
  • Posts: 218
  • Joined: 15-December 05
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 16 February 2009 - 08:52 AM

@prathapml

Empty your inbox! It's full.:)

#75 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 17 February 2009 - 12:49 AM

@atolica
Thanks. :) I've just been putting off clearing my personal messages - shall take some time out to sort, archive and download them all.
In the meantime, if you have any queries for me, just post in any of the threads to which I am subscribed.

#76 User is offline   chessonly 

  • Newbie
  • Group: Members
  • Posts: 47
  • Joined: 28-May 05

Posted 15 August 2009 - 05:19 PM

is there a sample unattend.xml for windows 7 ? if not can someone make one please ?

#77 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 10,997
  • Joined: 09-September 01
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 24 August 2009 - 12:40 AM

View Postchessonly, on Aug 15 2009, 07:19 PM, said:

is there a sample unattend.xml for windows 7 ? if not can someone make one please ?

It would be nice if you'd post this in the correct section - there's already a Windows 7 unattended section, so please ask Win7 questions there.

Share this topic:


  • 4 Pages +
  • « First
  • 2
  • 3
  • 4
  • 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