Jump to content

Need help making Unattended Windows XP


Recommended Posts

I am using Virtual PC 2007 to test an updated ISO of the Windows XP CD.

I've been following the instructions at http://unattended.msfn.org/unattended.xp/

Completed so far:
Copy CD contents to C:\XPCD
Integrate SP3
Created WINNT.SIF
Created SVCPACK.INI
Added Internet Explorer 8, Windows Media Player 11, Windows Update Agent 3.0, Windows Installer 4.5, and qchain to SVCPACK

Updated ISO and tested. Everything works as expected so far. Run Windows Update and downloaded remaining updates separately. Now I've reached the point where I can use the /INTEGRATE switch or SVCPACK.INF Methods. I thought I would use the /INTEGRATE switch as I did with SP3.

First I determined which files utilize the switch using a batch file with FOR %%f IN (*.exe) DO "%%f" /?
After moving those that didn't I used FOR %%f IN (*.exe) DO "%%f" /Integrate:C:\XPCD

However 17 of the files produced an error when I tried this.

IE8-WindowsXP-KB2909210-x86-ENU.exe
WindowsXP-KB2849470-x86-ENU.exe
WindowsXP-KB2859537-x86-ENU.exe
WindowsXP-KB2862152-x86-ENU.exe
WindowsXP-KB2868626-x86-ENU.exe
WindowsXP-KB2876217-x86-ENU.exe
WindowsXP-KB2876331-x86-ENU.exe
WindowsXP-KB2883150-x86-ENU.exe
WindowsXP-KB2892075-x86-ENU.exe
WindowsXP-KB2893294-x86-ENU.exe
WindowsXP-KB2898715-x86-ENU.exe
WindowsXP-KB2914368-x86-ENU.exe
WindowsXP-KB2916036-x86-ENU.exe
WindowsXP-KB2922229-x86-ENU.exe
WindowsXP-KB2930275-x86-ENU.exe
WindowsXP-KB2808679-x86-ENU.exe
WindowsServer2003-KB968930-x86-ENG.exe

An error occurred while attempting to integrate this software update package. Verify that the architecture, language, and service pack level of this software update are valid for the target distribution folder.

I have tested these 17 files separately to see if they install and didn't encounter any problems aside from integrate.

Updated ISO and tested. After formatting Windows setup encounters a problem and gets stuck in a loop of continually rebooting.

lsass.exe - Not Enough Quota
Not enough virtual memory or paging file quota is available to complete the specified operation.

So even when the files integrate smoothly something else still goes wrong. I started over and went with the SVCPACK.INF Method. Again I encountered a few problems.

Windows-KB890830-V5.11.exe
Neither "/Q /O /N /Z" nor "/Q:A /R:N" appear to be correct for this file.

Some updates that were included in SVCPACK still appear in Windows Update.

IE8-WindowsXP-KB2510531-x86-ENU.exe
IE8-WindowsXP-KB2909210-x86-ENU.exe
IE8-WindowsXP-KB2632503-x86-ENU.exe
IE8-WindowsXP-KB2598845-x86-ENU.exe
IE8-WindowsXP-KB2936068-x86-ENU.exe
IE8-WindowsXP-KB2964358-x86-custom-ENU.exe
 

Link to comment
Share on other sites


Go here -

http://xdot.tk/

Use that and nLite instead of manually.

MP11 needs to be integrated with this method (links are included) -

http://www.msfn.org/board/topic/162279-how-to-integrate-basic-updatesie8wmp11/

 

The Installer 4.5 (AFAICR) is not included.

 

KB890830 is one of MANY that needs to be turned into an Add-On (see first link notes on it).

 

Why are you trying to integrate the Server2003 version of this?

http://support.microsoft.com/kb/968930

edit - Seems it has something to do with this?

http://blogs.msdn.com/b/mkostersitz/archive/2010/03/01/windows-update-update-for-windows-server-2003-kb968930-causes-exchange-2007-providers-to-fail.aspx

Google

powershell xp

Someone is making a BIIIG mistake (read this) -

http://www.msfn.org/board/topic/171580-anyone-using-udc-get-reboot-loops-expertreviewscouk-says-so/

 

HTH

Edited by submix8c
Link to comment
Share on other sites

I already downloaded all the updates I needed.

 

Use that and nLite instead of manually.

I want to set it up manually so that I understand how it works. The only problems I'm having is that...

 

1) the integrate switch doesn't work as described here:

http://unattended.msfn.org/unattended.xp/view/web/23/

 

2) Some updates seem to be skipped when added as described here:

http://unattended.msfn.org/unattended.xp/view/web/24/

 

When I study the batch scripting section of the guide more I may wind up fixing the problem that way instead.

 

MP11 needs to be integrated with this method (links are included) -

http://www.msfn.org/...pdatesie8wmp11/

I see nothing wrong with Window Media Player 11 in my test setup. Including it in SVCPACK appears to have been sufficient.

 

Why are you trying to integrate the Server2003 version of this?

http://support.microsoft.com/kb/968930

I went to http://www.microsoft.com/en-us/download/default.aspx and searched for "KB968930 XP x86"

For some reason that was the file it pointed me to at the time. Also it installed and removed the Widows Update item when I tested it. I'll update my notes with the correct version.

 

Someone is making a BIIIG mistake (read this) -

http://www.msfn.org/...wscouk-says-so/

That appears to be a thread about experiencing errors when using a program which I'm not using. Could you elaborate on which part I'm suppose to find relevant?

 

HTH

I don't understand.

Edited by SKARDAVNELNATE
Link to comment
Share on other sites

I REPEAT!!!

 

There are SOME items taht WILL have to be made into (at least Pseudo) Add-ons since there are OTHER "things" that will need to be done.

 

If you REALLY want to "do it yourself", DO use the UDC I linked to -and- use nLite, THEN look at what "got changed" and "how it was changed". THAT will get you on your way...

 

BTW, you ARE aware that SOME of your updates MAY be Superseded, so DO check the OBSOLETE and CHANGE LOG on said link. If nothing else, it will provide a wealth of that type of information.

 

To do the UDC/nLite using what you already have, get UDC and unzip it then COPY your currently downloaded updates to it. It will "move" any obsolete files so you'll know you no longer need them. Proceed to compare the UDC Directory to your ORIGINAL downloaded updates folder to see if you MAY have "missed" some.

 

BTW, you will have problems with the Windows Update Package (Windows Update Agent 3.0) as it is the OLD version (new one is generated by UDC into an Add-On CAB file). ;)

 

The other topic was STRICTLY because YOU as well have a "reboot" problem, which MAY be related even though you're not using said process.

 

HTH

Link to comment
Share on other sites

I think I'm just getting further off track now.

 

UDC - Identified 22 files as obsolete

And another 7 files that are not from the list.

IE8-WindowsXP-KB2598845-x86-ENU.exe

IE8-WindowsXP-KB2632503-x86-ENU.exe

WindowsXP-KB942288-v3-x86.exe

WindowsXP-KB961118-x86-ENU.exe

WindowsXP-KB968930-x86-ENG.exe

WindowsXP-KB2492386-x86-ENU.exe

WindowsXP-KB2808679-x86-ENU.exe

 

nLite kept giving me errors so I started over with everything.

Copy CD contents to C:\XPCD
Integrate SP3

Run UDC from an otherwise empty folder.

 

Comparing the 2 folders I find that UDC had ignored

qchain.exe

rootsupd.exe

Windows-KB909520-v1.000-x86-ENU.exe

WindowsSearch-KB940157-XP-x86-enu.exe

WindowsXP-WindowsMedia-KB2834904-v2-x86-ENU.exe

And anything pertaining to DotNet

 

nLite still had a message for me.

 

KB2686509 hotfix is known to cause issues if:
- Windows key is disabled the in Tweaks (advanced), Explorer, Disable Windows Key
- keyboard components removed

 

I think the is a typo.

 

Also I got this message a few times.

H-Could not find part of the path 'C:\XPCD\hottemp\update'

 

When I tested the new setup I ran into a new problem.

 

Fatal Error
An error has been encountered that prevents Setup from continuing.
One of the components that Windows needs to continue setup could not be installed.
A components file does not match the verification information present in the
component manifest.

SXS.DLL: Syntax error in the manifest or policy file "D:\I386\asm\60\MSFT\Windows\COMMON\CONTROLS\CONTROLS.MAN" on line 5.

 

At least when doing this manually I knew I could fix something if I did it wrong. I don't think I can fix something nLite did wrong.

 

In terms of reference material for understanding how an unattended setup works nLite isn't that useful. I did find a few lined in WINNT.SIF to try out on my own. I was having the most success with the SVCPACK.INF method. With the /integrate switch, that too would add entries into SVCPACK.INF. nLite doesn't appear to have created that file and I don't understand what it's doing with the SVCPACK folder.

Edited by SKARDAVNELNATE
Link to comment
Share on other sites

This may take a few responding to each point, so please wait until I put DONE at the end of this...

Also, not that my responses may not be in order of your post, so please bear with me.

 

1 - UDC changed over to using IE8 in April 2013 so didn't identify your IE8 files as "Obsolete" but they are by the other ones in UDC.

(note: UDC Project was first updated in July 2009, so I must assume that it was first released in June 2009.)

2 - WindowsXP-KB942288-v3-x86.exe (http://support.microsoft.com/kb/942288)is Windows Installer v4.5 and not included in UDC so keep it but it CANNOT be Directly Integrated with nLite (AFAIK), rather via RunOnce(?) since it's an actual Service-Oriented Update.

3 - KB961118 (http://support.microsoft.com/kb/961118) is related to Net Framework. Net Framework is not addressed in UDC, nor is anything other than BASIC XP Updates (i.e. Add-Ons such as dotNet). Add-On's are construed as Optional Installs. Note how WU lists updates (separate sections).

4 - KB968930 (http://support.microsoft.com/kb/968930) is also Add-On-Oriented

5 - KB2492386 (http://support.microsoft.com/kb/2492386) also...

6 - KB2808679 (http://support.microsoft.com/kb/2808679) also...

...continuing...

1 - qchain.exe is not used in nLite Direct Integration. It's used to RUN an EXE and nLite/UDC assumes otherwise and Directly Modifies certain files, as opposed to the EXE modifying (e.g.) RegEntries.

2 - rootsupd.exe is in UDC also Add-On-Oriented

3 - KB909520 (http://support.microsoft.com/kb/909520) also...

4 - KB940157 (http://support.microsoft.com/kb/940157) also...

5 - KB2834904 (http://support.microsoft.com/kb/2834904) applies -not- to WMP9, but v9.5 -and- v11, so N/A! (ref this topic - http://www.msfn.org/board/topic/162279-how-to-integrate-basic-updatesie8wmp11/)

6 - ALL dotNet can NOT be Directly Integrated and is also consider Add-On-Oriented (as stated above)

 

"KB2686509 hotfix is known to cause issues if..." is a conditional warning only (and yes, apparently a typo).

 

"H-Could not find part of the path 'C:\XPCD\hottemp\update'" because it is ASSUMED that all Extracted are "true" Hotfixes that would Extract giving several sub-Folders, one being the actual Update folder containing Hotfix UPDATE.EXE and corresponding files. Apparanetly, it's those Add-On-Oriented that DO NOT directly Slipstream.

 

"SXS.DLL" message is because your Final ISO/CD has a "botched" File as given in the message. This normally occurs when an ISO is burned at too high a speed. It must have been good when you manually copied the XP CD to the HDD...

 

"SVCPACK.INF" is re-compressed to "SVCPACK.IN_" and is perfectly acceptable when creating a SVCPACK sub-folder. You should note all of the files that are "INF" or "IN_" in the Final CD/ISO as nLite has ALTERED them for Direct Integration. The "QCHAIN" Method requires the ORIGINAL File be in the SVCPACK folder whereas nLite does not except for special files (e.g. IE8) -and- uses methods in the -altered- INF/IN_ files. Open those up with (e.g.) 7-Zip and look inside them. :yes:

 

NOW you have more to learn after you REALLY look at what nLite did and can discover how (in detail) it's done.

 

P.S. - that "batch scripting" part is all about RunOnce/RunOnceEX (generally using CMDLINES.TXT in the $$OEM$ folder). Bet you didn't notice nLite uses that too?

http://xdot.tk/nliteimages.html

 

HTH DONE

Edited by submix8c
Link to comment
Share on other sites

  • 2 weeks later...

Trying to get back on track with what I know to work. Started over with Windows Update and checked each KB# against the files I had. Removed 6 of them that start with "IE8-" which didn't install until after Internet Explorer was configured. Also wrote some batch files that edit the names of the remaining files down to just their KB# and append them to a text file to keep the SVCPACK folder and INF neat.

 

Plan to do a batch that will start Internet Explorer, allow me to configure it, then when it closes install the 6 remaining updates. With that in mind I'm now focusing on the $OEM$ section of the guide. I also want to add some custom folders to the start menu.

 

There are now 2 others issues.

1) During Windows Setup a dialog box opens and I have to press Next > to continue.

2)These 2 folders in the ISO

$OEM$\$1\Documents and Settings\All Users\Start Menu

$OEM$\$1\Documents and Settings\Default User\Start Menu

They are copied to C:\ as expected but instead of using these, Windows has created new folders

C:\Documents and Settings\All Users.WINDOWS

C:\Documents and Settings\Default User.WINDOWS

 

Edit:

Just found another issue. In my WINNT.SIF I added

[setupData]
OSLoadOptionsVar="/noexecute=alwaysoff"

 

This was one of the additions I noticed from trying nLite earlier. But this doesn't appear to be handled correctly because I find conflicting settings in Boot.ini

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /noexecute=optin /fastdetect /noexecute=alwaysoff

Edited by SKARDAVNELNATE
Link to comment
Share on other sites

What are you trying to accomplish with this?

$OEM$\$1\Documents and Settings\All Users\Start Menu

$OEM$\$1\Documents and Settings\Default User\Start Menu

If it's to add or remove links, why not do it via RunOnce after you're Windows is set up? AFAIK, the reason that happened is at the time WINDOWS hasn't yet been "set up" and those Folders are copied over during TEXT setup and NOT during GUI. The "timing" is wrong.

 

 

As for the "SetupData" value, that's STRICTLY for Setup (the PE stage), and not REALLY for the installation.

There's another Parameter but it's apparently for Server2003?

http://technet.microsoft.com/en-us/library/cc757642%28v=ws.10%29.aspx

Here is a way another member did the modification -

http://www.msfn.org/board/topic/56287-disabling-dep-integrated/

 

As for the IE6 Updates, why not just integrate the corresponding fixes? Note that there are one or two additional IE6 ones compared to the IE8 ones (AFAIKR). Take a look at the -X- website ChangeLog/Obsolete list for more details (you'll have to sift through it).

Some notations here (now obsolete, I believe) were in the Topic "How To Integrate" re: WMP11/IE8.

http://www.msfn.org/board/topic/162279-how-to-integrate-basic-updatesie8wmp11/

 

HTH

 

Link to comment
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.
×
×
  • Create New...