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

Jump to content



  • 4 Pages +
  • 1
  • 2
  • 3
  • Last »
  • 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: -----

#11 User is offline   FireGeier 

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

Posted 18 January 2007 - 02:33 AM

Hello EmRoD!

I've tested your method using %configsetroot% and it's working like a charm! :w00t:

AND my final installation holds the drivers needed by the system only!!!

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

...
To add them copied during the auditSystem Pass, use :

<Microsoft-Windows-PnpCustomizationsNonWinPE> Int the AuditSystem Pass

...



I can't recommend to use AuditSystem pass to install drivers for the moment, cause you'll be prompted for the installation of unsigned drivers. And as long as we are in the state between, you would have to find a solution to suppress these prompts during audit mode. You'll not get these prompts for the same drivers, when integrating them to install.wim or installing them during WinPE pass.

However, I call you a hero EmRoD!

Vive la France, mon ami... vive la France! :thumbup

Martin

This post has been edited by FireGeier: 18 January 2007 - 02:35 AM



#12 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 18 January 2007 - 03:52 AM

Very nice find indeed. I'm sure there will be many more yet though.

#13 User is offline   EmRoD 

  • Powered by PlugSquare.com
  • Pip
  • Group: Members
  • Posts: 97
  • Joined: 16-January 04

Posted 18 January 2007 - 06:08 AM

View PostFireGeier, on Jan 18 2007, 09:33 AM, said:

Hello EmRoD!

I've tested your method using %configsetroot% and it's working like a charm! :w00t:

AND my final installation holds the drivers needed by the system only!!!

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

...
To add them copied during the auditSystem Pass, use :

<Microsoft-Windows-PnpCustomizationsNonWinPE> Int the AuditSystem Pass

...





I can't recommend to use AuditSystem pass to install drivers for the moment, cause you'll be prompted for the installation of unsigned drivers. And as long as we are in the state between, you would have to find a solution to suppress these prompts during audit mode. You'll not get these prompts for the same drivers, when integrating them to install.wim or installing them during WinPE pass.

However, I call you a hero EmRoD!

Vive la France, mon ami... vive la France! :thumbup

Martin


-> M$ indicates a way to create "test" signature for unisgned drivers on the waik user guide

#14 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 19 January 2007 - 03:18 AM

Hmm, went to read it, the AIK guide directs you to this link, for detailed info about using test signatures during install:
http://www.microsoft.com/whdc/winlogo/drvs..._practices.mspx


And its neither quick to implement, nor does it even look like a solution that the average user can use on an ad-hoc basis.... :(

#15 User is offline   FireGeier 

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

Posted 19 January 2007 - 07:51 AM

And its neither quick to implement, nor does it even look like a solution that the average user can use on an ad-hoc basis.... sad.gif


That's right, seems to be more an intermediate solution for driver developers.

But EmRoDs method is running fine 'n' is easy to use, so I call it the EmRoD-Method! :thumbup

Martin

#16 User is offline   nushu 

  • Group: Members
  • Posts: 2
  • Joined: 15-June 04

Posted 27 January 2007 - 05:35 AM

I'd like to thank EmRoD for pointing out the %configsetroot% (i have been searching for a variable wich points to the location of the answer file for a long time) , and regarding the drivers in a ConfigurationSet i also found out something very cool , it seems that the setup process searches recursively in the driver path. If your drivers are in "%configsetroot%\Drivers\nvidia" , "%configsetroot%\Drivers\audigy" , etc... , you only need to insert "%configsetroot%\Drivers" into the answer file. I find this very useful , no need to change the answer file when you add/remove drivers :)
PS. this works in both windowsPE and offlineServicing.

#17 User is offline   FireGeier 

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

Posted 27 January 2007 - 07:47 AM

View Postnushu, on Jan 27 2007, 12:35 PM, said:

...
, and regarding the drivers in a ConfigurationSet i also found out something very cool , it seems that the setup process searches recursively in the driver path. If your drivers are in "%configsetroot%\Drivers\nvidia" , "%configsetroot%\Drivers\audigy" , etc... , you only need to insert "%configsetroot%\Drivers" into the answer file. I find this very useful , no need to change the answer file when you add/remove drivers :)
PS. this works in both windowsPE and offlineServicing.


That's right, but have a look here, too... cause this is the disadvantage of this method. So it's still a cool way installing drivers but it's NOT installing right away from stick or DVD.

Martin

#18 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 January 2007 - 05:27 PM

View PostFireGeier, on Jan 27 2007, 07:17 PM, said:

"%configsetroot%\Drivers"

but have a look here, too... cause this is the disadvantage of this method.
Scary.
So then i'll continue with what i was doing for XP uA. Run a CMD & set the %CDDRIVE% for use thru all other scripts - this was done using CDswitch.

#19 User is offline   nDrew 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 29-January 05

Posted 28 January 2007 - 01:55 AM

View Postprathapml, on Jan 27 2007, 05:27 PM, said:

View PostFireGeier, on Jan 27 2007, 07:17 PM, said:

"%configsetroot%\Drivers"

but have a look here, too... cause this is the disadvantage of this method.
Scary.
So then i'll continue with what i was doing for XP uA. Run a CMD & set the %CDDRIVE% for use thru all other scripts - this was done using CDswitch.


As for me the "%CDRoot%"-variable works perfectly for me and it doesn't copy any folders to %systemroot% - try it ;)

This post has been edited by nDrew: 28 January 2007 - 01:57 AM


#20 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 January 2007 - 04:00 AM

View PostnDrew, on Jan 28 2007, 01:25 PM, said:

As for me the "%CDRoot%"-variable works perfectly
Hmm, interesting.
Can you explain?
Does the variable need to be set using some tool, is it accessible only thru the xml, or thru batch-files or normal win32 setup environment....

#21 User is offline   nDrew 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 29-January 05

Posted 28 January 2007 - 08:18 AM

View Postprathapml, on Jan 28 2007, 04:00 AM, said:

View PostnDrew, on Jan 28 2007, 01:25 PM, said:

As for me the "%CDRoot%"-variable works perfectly
Hmm, interesting.
Can you explain?
Does the variable need to be set using some tool, is it accessible only thru the xml, or thru batch-files or normal win32 setup environment....



no, it seems to me that WAIK understands it...when I click "Check answer file" - there're no errors...so, i don't know how but it works. I've already installed that way Office 2007 (unattended) and nod32...

I wrote 2 lines in autounattend.xml:

%CDRoot%\soft\Office2007.exe

and

"%CDRoot%\soft\nod32v.2.7.exe" /VERYSILENT /SP- (when using command line parameters I use "" )

This post has been edited by nDrew: 28 January 2007 - 08:28 AM


#22 User is offline   FireGeier 

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

Posted 29 January 2007 - 08:12 AM

Thank's for sharing nDrew!

Martin

#23 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,519
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 29 January 2007 - 11:12 AM

View PostFireGeier, on Jan 29 2007, 08:12 AM, said:

Thank's for sharing nDrew!

Martin
Did you test that FireGeier? don't work for me.

#24 User is offline   FireGeier 

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

Posted 29 January 2007 - 01:10 PM

@maxXPsoft:

No, I've not tested it yet, but I will the next few hours. Sounds to me that nDrew tested it and it seemed to work for him.

However I'll try out and let you know!

If this should not work, I'll test to run a script from WinPE which will set a variable to use with a removable device and install drivers than during WinPE pass using this "selfmade" variable. Don't know for the moment, if setup is doing a reboot before it's installing drivers during WinPE. Cause than my idea would not work, too.

Martin

#25 User is offline   shortie 

  • Junior
  • Pip
  • Group: Members
  • Posts: 64
  • Joined: 06-February 04

Posted 29 January 2007 - 03:46 PM

Hi all,

I', using a local copy of my vista dvd, put the attached autounattended.xml in the root of that local copy and made a new iso with vlite (latest version). When firing up vmware and using that iso image, I always get an error saying "Windwos could no apply the Windows PE bootstrap setting specified in the uanttednded file".


Any idea???

Kind regards,

shortie

Attached File(s)


This post has been edited by shortie: 29 January 2007 - 03:47 PM


#26 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,519
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 29 January 2007 - 08:41 PM

View Postshortie, on Jan 29 2007, 03:46 PM, said:

Windows PE bootstrap setting specified in the uanttednded file".
what attached xml? I've only seen a few times when I had the
<component name="Microsoft-Windows-PnpCustomizationsNonWinPE"
and its not right.

#27 User is offline   urie 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 509
  • Joined: 30-July 03

Posted 29 January 2007 - 08:41 PM

View PostFireGeier, on Jan 29 2007, 07:10 PM, said:

@maxXPsoft:

No, I've not tested it yet, but I will the next few hours. Sounds to me that nDrew tested it and it seemed to work for him.

However I'll try out and let you know!

If this should not work, I'll test to run a script from WinPE which will set a variable to use with a removable device and install drivers than during WinPE pass using this "selfmade" variable. Don't know for the moment, if setup is doing a reboot before it's installing drivers during WinPE. Cause than my idea would not work, too.

Martin


@FireGeier, we are talking paths here to dvd ideally we dont want full path thought we had it with configsetroot but as you know works,
fair enought you can add to a cleanup.CMD to delete configsetroot from windows folder grab back some Hdrive space but as far as vista go's it any files it is looking for wont goto windows it will be looking for c:\window\configsetroot\ ok that maybey fair enought like old I386 folder if you have mabey a oem machine, but we are talking here about unattend vista for normal peeps not rollouts and syspreping i think the forum needs split up , as was in unattendxp section there was a seperate thread for RIS, also let me know how you get on with %CDRoot% dont have a chance to test tommorrow busy but last time i searched for %CDRoot% on net it turnd up Linux..

P.S. maxxp and myselfe tried %CDRoot% months ago but you never know maybey small typo error can happen.
also have you acctually thought about what nDrew ids saying i,e %CDRoot%\soft\Office2007.exe this aint in PE aint drivers were talking must be adding at <settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup"
this is software install after PE vista will access and search for paths then maybey %CDRoot% would work just a thought, we ar all in the same boat MS guidlines are clear to all:)) yeah if you can make head or tail to them:)

This post has been edited by urie: 29 January 2007 - 08:55 PM


#28 User is offline   shortie 

  • Junior
  • Pip
  • Group: Members
  • Posts: 64
  • Joined: 06-February 04

Posted 30 January 2007 - 05:54 AM

Hi,

nobody who could give me a hint what's wrong with my unattended.xml??

shortie

#29 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,519
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 30 January 2007 - 07:09 AM

shortie
2 things i would delete from PE
LogPath
PageFile

D usually don't exist during PE since its all in memory at that point. If thats the target drive then its about to be formatted
Logs, look in systemdrive\Windows\panther folder after its installed

also Language Pack is not right, should be
<package action="configure">
			<assemblyIdentity name="Microsoft-Windows-Client-LanguagePack-Package" version="6.0.6000.16386" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="de-DE" />

This post has been edited by maxXPsoft: 30 January 2007 - 07:16 AM


#30 User is offline   shortie 

  • Junior
  • Pip
  • Group: Members
  • Posts: 64
  • Joined: 06-February 04

Posted 30 January 2007 - 07:34 AM

Thanks maxXPsoft,

installation is running now.
One more question : Right before the disk-config dialog setup asks me which os I want to install, the selection box only show ultimate. How can I overwrite this dialog?

Kind regards,

shortie

Share this topic:


  • 4 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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



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