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

Jump to content


  • 4 Pages +
  • 1
  • 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: -----

#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,747
  • 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,747
  • 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: 517
  • 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,747
  • 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

#31 User is offline   FireGeier 

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

Posted 30 January 2007 - 11:01 AM

Hello shortie!

Look here.

Martin

#32 User is offline   FireGeier 

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

Posted 30 January 2007 - 11:20 AM

View Posturie, on Jan 30 2007, 03:41 AM, said:

... also let me know how you get on with %CDRoot% dont have a chance to test tommorrow busy but last time ...


Hello maxX & urie!

Like expected %CDRoot% does not work to install drivers during WinPE pass.

For the moment I try to use my own %DriversRoot% variable using setx.exe. But I'm not successfull. Well... if I check the registry in WinPE using regedit. %DriversRoot% seems to be setted to Environment. But if I open a cmd-Windows the DriversRoot variable does not appear in the list even it's present in the registry.

EDIT:
Forget about this part... global environment can't be set in running system. :whistle:

Starting Setup from WinPE results in an error that boot critical drivers are not valid. This error means, it can not find the path. So %DriversRoot% variable does not work.

Do you have any ideas here?

Thanks,
Martin

This post has been edited by FireGeier: 30 January 2007 - 01:02 PM


#33 User is offline   maxXPsoft 

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

Posted 31 January 2007 - 12:50 AM

http://www.msfn.org/board/index.php?showto...mp;#entry619873

#34 User is offline   EmRoD 

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

Posted 31 January 2007 - 01:45 AM

If you want to get rid of the configetroot folder just add a
specialize
RunSynchronousCommand

%systemroot%\System32\cmd /c "rd /S /Q %systemroot%\ConfigSetRoot"

I use it to remove files copied from my usb drive during setup, but I understand the issue when running configset from dvd :/

#35 User is offline   FireGeier 

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

Posted 31 January 2007 - 02:42 AM

@ EmRoD:

For sure this works, but it's not like installing drivers from DVD. We're trying to find a method, where drivers getting installed right away from the media. If you're installing from DVD for example using configsetroot the Vista DVD will be copied to your HD two times. That's not wasting time only in worst case you could run out of Disk space during installation.

Martin

#36 User is offline   maxXPsoft 

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

Posted 02 February 2007 - 10:24 PM

and yes you can remove the dir it copies with a command
but as pointed out, Its all over the registry when this happens with a DVD install

#37 User is offline   sp00f 

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

Posted 11 February 2007 - 11:01 AM

It doesnt work for me, each time i edit things like the KEY , and userlocale it wont open after saving.
Im using a Dutch Vista by the way.

EDIT:

got it working now, only there are more things peolle need to change then only the REMOVED
Your account is in it with password, and your time zones
You might change the first post.

This post has been edited by sp00f: 12 February 2007 - 05:48 AM


#38 User is offline   maxXPsoft 

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

Posted 13 February 2007 - 08:56 AM

lol sp00f its up to everyone to look closely at an example and fix as needed for their install

#39 User is offline   sp00f 

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

Posted 13 February 2007 - 07:17 PM

View PostmaxXPsoft, on Feb 13 2007, 03:56 PM, said:

lol sp00f its up to everyone to look closely at an example and fix as needed for their install

You should read the first post again (this time better)he didnt mentioned that.

#40 User is offline   maxXPsoft 

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

Posted 14 February 2007 - 11:48 AM

Quote

here's a working sample, made for my preferences

your right I don't understand here's a working sample, made for my preferences
edit
what I'm trying to say is a lot of these have been posted and not even 1 will work for you, you need the WAIK and be very careful even then, a bad entry will crash you, been there done that about a 100 times till I got what I wanted from all my tests

This post has been edited by maxXPsoft: 14 February 2007 - 11:56 AM


Share this topic:


  • 4 Pages +
  • 1
  • 2
  • 3
  • 4
  • 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 - 2013 msfn.org
Privacy Policy