FrankE9999

Integrating Windows Update V6

119 posts in this topic

I am trying to integrate windows update v6 into my silent install for Windows XP SP2.

I downloaded the following cab files and extracted them using 7zip.

http://download.windowsupdate.com/v6/windo....cab?0506211651

http://download.windowsupdate.com/v6/windo....cab?0506211651

http://download.windowsupdate.com/v6/windo....cab?0506211651

http://download.windowsupdate.com/v6/windo....cab?0506211651

http://download.windowsupdate.com/v6/windo....cab?0506211651

http://download.windowsupdate.com/v6/windo....cab?0506211652

http://download.windowsupdate.com/v6/windo....cab?0506211652

http://download.windowsupdate.com/v6/windo....cab?0506211652

http://download.windowsupdate.com/v6/windo....cab?0506211652

http://download.windowsupdate.com/v6/windo....cab?0506211652

http://download.windowsupdate.com/v6/windo....cab?0506211652

http://download.windowsupdate.com/v6/windo....cab?0506211650

http://download.windowsupdate.com/v6/windo....cab?0506211650

http://update.microsoft.com/v6/windowsupda....cab?0506211650

http://update.microsoft.com/windowsupdate/...b?1119372653197

I then compressed all the files by opening a command prompt in the folder where I had the files and running the following command.

for /F "eol=; tokens=1 delims= " %i in ('dir /a-d-h /b') do makecab %i

Next I copied the the following files to the i386 folder.

wuauclt1.ex_, wuaucpl.cp_, wuaueng.dl_, wuaueng1.dl_, wuauhelp.ch_, wucltui.dl_, wups.dl_, wups2.dl_, wuweb.dl_, cdm.dl_, iuengine.dl_, wuapi.dl_, wuau.ad_, wuauclt.ex_

This worked for Windows 2003 SP1 but Windows XP SP2 doesn't have the wups2.dl_ file in the i386 folder and simply adding it doesn't do anything.

I tried to modify the LAYOUT.INF but I don't think I did it right. I got a error 800b0100 signature for Windows XP is invalid when I tried to install XP :no: .

0

Share this post


Link to post
Share on other sites
what i did is

- uncompress all the cabs in one folder

- i then removed all *.CAT and *.INF files from the uncompressed folder.

- recompressed each file via makecab

- placed the recompressed files to the xpcd's i386 folder.

- updated an entry on TXTSETUP.SIF and DOSNET.INF to note some additional files (notably:wups2.dll).

i hope this help.

Edited by boooggy
0

Share this post


Link to post
Share on other sites

Like boooggy said, you need to add the entry to txtsetup.sif, not layout.inf (I'm surprised you could even edit layout.inf without Windows setup throwing a hissy fit at you).

Now if you really want a challenge, integrate Microsoft Update and (the tricky part) get Tools...Windows Update to default to it (I haven't managed to figure that part out).

0

Share this post


Link to post
Share on other sites

This is how i do it,

you can get WU6 installed by going to this URL

WindowsUpdate v6

go ahead and install it.

the following list of files were taken directly from my

system32 folder after installing WU6.

I compressed them, and overwrote the existing files in the I386 folder.

cdm.dl_

iuengine.dl_

winhttp.dl_

wuapi.dl_

wuauclt.ex_

wuauclt1.ex_

wuaucpl.cp_

wuaueng.dl_

wuaueng1.dl_

wuauserv.dl_

wucltui.dl_

wups.dl_

wuweb.dl_

Next, the file wups2.dll (also taken from system32) is placed in $OEM$\$$\system32 and during the runoncex installation proccess

i execute this command:

regsvr32 /s %windir%\system32\wups2.dll

Everything works great on a clean install.

This method defaults to WU6.

EDIT to update for all users

I've since determined that the following update is required by WU6

Here is a link to the windows installer update

Windows Installer 3.1 (v2)

if you download the above update you can extract the 5 updated msi*.* files from it with WinRAR, compress them, and also add them to your I386 folder.

msi.dll

msiexec.exe

msihnd.dll

msimsg.dll

msisip.dll

Check for uncompressed versions of these files already existing in I386.

Delete them if they exist.

Shark

EDITTED to bring all the info into one file

Edited by Shark007
0

Share this post


Link to post
Share on other sites

N00b question incoming...

how to compress? (the command please)

0

Share this post


Link to post
Share on other sites

To compress a file for the I386 folder i use this command

MAKECAB /D CompressionType=LZX /D CompressionMemory=21 filename.xxx

Shark

0

Share this post


Link to post
Share on other sites

Thanks man. I will try your method right away...

Did I understand correctly that wups2.dll is not to be compressed and put in i386? (Not both this and placed in $OEM$\$$\system32...)

0

Share this post


Link to post
Share on other sites
Did I understand correctly that wups2.dll is not to be compressed and put in i386? (Not both this and placed in $OEM$\$$\system32...)

nice catch. was another typo, no, dont place wups2.dll into i386

it wont get copied without further editting a few other files.

its easier to just place it, uncompressed, into $OEM$\$$\system32

especially since its a very small file anyway.

Shark

Edited by Shark007
0

Share this post


Link to post
Share on other sites

Just curious, where did you get that idea from?

To do regsvr32 /s %windir%\system32\wups2.dll

Edited by Ignace
0

Share this post


Link to post
Share on other sites

Yeah man, this is a pretty sweet way to do it! Good job!

0

Share this post


Link to post
Share on other sites
you will be able to do a silent install

Have you tested this? What switches did you use?

If you extract the downloaded file it expands from 4.5mb to 41mb! And still no .msi inside!

0

Share this post


Link to post
Share on other sites

Forget the thing I said, see the screenshot

EDIT

It works, I just tested it on a machine with WU5, and it installed WU6 just fine

post-28465-1119540172_thumb.jpg

Edited by erik_demon
0

Share this post


Link to post
Share on other sites

@erik

Hmmmmmmm...

Thanks, I wont have time to test till at least this time tomorrow so was wondering if brosy had actually tested himself.

I will post back tomorrow any findings, but by then someone else may have done so anyway.

Might have a play with the extracted files, too as 99% of them are lang folders/files, so will try and just utilize the En parts to try a minimal install. (May or may not work knowing MS).

EDIT Mind you we are drifting from the orig thread as that was re: integration. But looks like its not worth the effort.

Edited by DLF
0

Share this post


Link to post
Share on other sites

Yes editing the LAYOUT.INF file was a big mistake as the install crashed. However I made a backup copy before I changed it so that was easy to fix.

I tried editing the TXTSETUP.SIF and DOSNET.INF but this didn't work. The wups2.dll wasn't copied to the system32 but I may not have done it right. I simply searched for wups.dll or wups.dl_ and added another line below it using wups2.dll.

The method of copying wups2.dll to the system32 folder and registering it using regsvr32 should work although I didn't test it. I had previously copied the missing dll to the system32 folder and registered it using regsvr32 and that worked.

Using the latest au client works for me. Since I will only be installing it on english systems I extracted all the files, removed nonenglish files and recompressed with 7zip. This reduced the size to under 2MB. I haven't tested it on a new install but it worked on my existing Windows XP system. :yes:

I would like to thank everyone for there help on this issue.

0

Share this post


Link to post
Share on other sites

i believe the regsvr thingy is to enable "automatic update" to be added as a service. still have to confirm if this is applicable all the time... RyanVM may have the answer :)

as for the update agent app, it seems a very attractive option, that is unless you're lacking cd space, then the recompressed 1.3mb wu6 update may still be a viable option.

Edited by edmoncu
0

Share this post


Link to post
Share on other sites

Shark007's method worked fine for me, I just used the regsvr in my cleanup cmd run

from the hive and works perfect............

BD

But I am going to try the silent install as well........

0

Share this post


Link to post
Share on other sites

Windows Update v6 Client installed (on XP french) silenlty with " /wuforce /quiet /norestart"

and no popup for install when going to WindowsUpdate.com !

Great !

0

Share this post


Link to post
Share on other sites

The regsvr is to register the DLL with Windows.

0

Share this post


Link to post
Share on other sites

I'm a bit confused, is there any downside to using Shark007's method of integrating?

Im using WPI, should i run the regsrv before or after WPI, or does it matter?

0

Share this post


Link to post
Share on other sites

the update agent works very well also, after removing unneeded files and making

a SFX, it's 1.65mb and installs silently, then defaults to windows update v6...........

thanks brosy for the heads up............

BD B)

Edited by bonedaddy
0

Share this post


Link to post
Share on other sites

@BoardBabe

Shark007's method :

Copy/paste the file into your I386 cd directly, copy the Wusp2.dll in x:\$OEM$\$$\system32\

and in your cmdlines.txt run the regsvr32 command ...

I have prepared my cd but not yet tested ...

Goodbye.

0

Share this post


Link to post
Share on other sites

@sonic: Ah ofcourse cmdlines.txt is the best place to run the regsrv. How do I run it from there? Do I need to make a .cmd file that I call from cmdlines.txt or can i run the command directly from cmdlines.txt somehow?

0

Share this post


Link to post
Share on other sites

in your cmdlines.txt call a batch file which have the regsvr .. it's more effective I think ...

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.