Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Integrating Windows Update V6

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
118 replies to this topic

#1
FrankE9999

FrankE9999

    Member

  • Member
  • PipPip
  • 114 posts
  • Joined 16-March 04
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.wind....cab?0506211651
http://download.wind....cab?0506211651
http://download.wind....cab?0506211651
http://download.wind....cab?0506211651
http://download.wind....cab?0506211651
http://download.wind....cab?0506211652
http://download.wind....cab?0506211652
http://download.wind....cab?0506211652
http://download.wind....cab?0506211652
http://download.wind....cab?0506211652
http://download.wind....cab?0506211652
http://download.wind....cab?0506211650
http://download.wind....cab?0506211650
http://update.micros....cab?0506211650
http://update.micros...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: .


How to remove advertisement from MSFN

#2
boooggy

boooggy

    MSFN Master

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,332 posts
  • Joined 27-February 05

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).

<{POST_SNAPBACK}>

i hope this help.

Edited by boooggy, 22 June 2005 - 12:28 PM.


#3
RyanVM

RyanVM

    Like a big surly teddy bear.

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,756 posts
  • Joined 31-August 03
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).
RyanVM MSFN Files | RyanVM Forums
Please do not link directly to files on my site or modify/redistribute them without getting my permission first. Link to the above URL instead.
Current Update Pack Release: 2.2.2
(Released April 28, 2008)

BTW, 90% of what I say is kidding around. Don't take things so personally ;)

#4
Shark007

Shark007

    Repackaging Specialist

  • Member
  • PipPipPipPipPipPipPipPipPip
  • 3,135 posts
  • Joined 07-January 04
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, 25 June 2005 - 08:36 PM.

When posting about an issue in the codec thread,
please state what Operating System you use.


#5
BoardBabe

BoardBabe

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,415 posts
  • Joined 04-October 04
N00b question incoming...

how to compress? (the command please)
BoardBabe

#6
Shark007

Shark007

    Repackaging Specialist

  • Member
  • PipPipPipPipPipPipPipPipPip
  • 3,135 posts
  • Joined 07-January 04
To compress a file for the I386 folder i use this command
MAKECAB /D CompressionType=LZX /D CompressionMemory=21 filename.xxx

Shark

When posting about an issue in the codec thread,
please state what Operating System you use.


#7
BoardBabe

BoardBabe

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,415 posts
  • Joined 04-October 04
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...)
BoardBabe

#8
Shark007

Shark007

    Repackaging Specialist

  • Member
  • PipPipPipPipPipPipPipPipPip
  • 3,135 posts
  • Joined 07-January 04

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, 22 June 2005 - 06:46 PM.

When posting about an issue in the codec thread,
please state what Operating System you use.


#9
Ignace

Ignace

    Newbie

  • Member
  • 10 posts
  • Joined 06-March 04
Just curious, where did you get that idea from?
To do regsvr32 /s %windir%\system32\wups2.dll

Edited by Ignace, 22 June 2005 - 06:08 PM.


#10
BoardBabe

BoardBabe

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,415 posts
  • Joined 04-October 04
Yeah man, this is a pretty sweet way to do it! Good job!
BoardBabe

#11
brosy

brosy

    Newbie

  • Member
  • 12 posts
  • Joined 16-October 03
go to http://go.microsoft....k/?LinkId=43264
and down load the latest au client.
you will be able to do a silent install

#12
DLF

DLF

    Member

  • Member
  • PipPip
  • 210 posts
  • Joined 02-November 04

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!
Flash and animated signatures and avatars are not permitted.

#13
erik_demon

erik_demon

    Master Chief

  • Member
  • PipPipPip
  • 419 posts
  • Joined 22-August 04
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

Attached Files

  • Attached File  WU.JPG   14.8KB   111 downloads

Edited by erik_demon, 23 June 2005 - 12:43 PM.

Posted Image

#14
DLF

DLF

    Member

  • Member
  • PipPip
  • 210 posts
  • Joined 02-November 04
@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, 23 June 2005 - 09:49 AM.

Flash and animated signatures and avatars are not permitted.

#15
FrankE9999

FrankE9999

    Member

  • Member
  • PipPip
  • 114 posts
  • Joined 16-March 04
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.

#16
RyanVM

RyanVM

    Like a big surly teddy bear.

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,756 posts
  • Joined 31-August 03

go to http://go.microsoft....k/?LinkId=43264
and down load the latest au client.
you will be able to do a silent install

<{POST_SNAPBACK}>

Nice find. Is there an equivalent for Microsoft Update?
RyanVM MSFN Files | RyanVM Forums
Please do not link directly to files on my site or modify/redistribute them without getting my permission first. Link to the above URL instead.
Current Update Pack Release: 2.2.2
(Released April 28, 2008)

BTW, 90% of what I say is kidding around. Don't take things so personally ;)

#17
edmoncu

edmoncu

    Advanced Member

  • Member
  • PipPipPip
  • 360 posts
  • Joined 28-April 04
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, 23 June 2005 - 04:12 PM.

Please join the growing Filipino Community of PC Experts and Enthusiasts
Posted Image

#18
bonedaddy

bonedaddy

    Bonafide Member

  • Member
  • PipPipPip
  • 456 posts
  • Joined 20-October 03
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........
Using WPI the best Post installer
Using W.A.I.T v23 the 2nd Best Post Installer

#19
Sonic

Sonic

    Sonic

  • Patrons
  • 1,637 posts
  • Joined 04-December 03
Windows Update v6 Client installed (on XP french) silenlty with " /wuforce /quiet /norestart"
and no popup for install when going to WindowsUpdate.com !
Great !

#20
RyanVM

RyanVM

    Like a big surly teddy bear.

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,756 posts
  • Joined 31-August 03
The regsvr is to register the DLL with Windows.
RyanVM MSFN Files | RyanVM Forums
Please do not link directly to files on my site or modify/redistribute them without getting my permission first. Link to the above URL instead.
Current Update Pack Release: 2.2.2
(Released April 28, 2008)

BTW, 90% of what I say is kidding around. Don't take things so personally ;)

#21
BoardBabe

BoardBabe

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,415 posts
  • Joined 04-October 04
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?
BoardBabe

#22
bonedaddy

bonedaddy

    Bonafide Member

  • Member
  • PipPipPip
  • 456 posts
  • Joined 20-October 03
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, 23 June 2005 - 10:48 PM.

Using WPI the best Post installer
Using W.A.I.T v23 the 2nd Best Post Installer

#23
Sonic

Sonic

    Sonic

  • Patrons
  • 1,637 posts
  • Joined 04-December 03
@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.

#24
BoardBabe

BoardBabe

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,415 posts
  • Joined 04-October 04
@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?
BoardBabe

#25
Sonic

Sonic

    Sonic

  • Patrons
  • 1,637 posts
  • Joined 04-December 03
in your cmdlines.txt call a batch file which have the regsvr .. it's more effective I think ...