Help - Search - Members - Calendar
Full Version: Microsoft Update
MSFN Forums > Unattended Windows Discussion & Support > Unattended Windows 2000/XP/2003

   
Google Internet Forums Unattended CD/DVD Guide
tarquel
Hi all

[ NOTE: Following on from *this* topic, I thought we'd better start a new thread to discuss it ]

As some people are unaware of this it seems, I thought I'd start this thread.

Had anyone found a way of installing this so that it is already included in install XP? i.e. when visiting http://update.microsoft.com/microsoftupdate you dont get [Start], and after it downloads, the requester asking to install it.

If possible, I'm after two ways to do it:

1. Intergration into the i386 install or similar method
2. Wrapping it up to make it a silent install i.e. to carry around in a toolkit, on a CD, etc. for clients who only have a dialup modem and to help reduce the ammount they have to download, etc - in other words, a switchless exe

I assume that it requires WU6 & Windows Installer 3.1 to be installed too, tho I cant be sure on this (need to look it up methinks) - any thoughts here would be welcome too smile.gif

I can/will update this first post so people dont have to rumage thru the thread to find what they want smile.gif

Regards,
Nath.
boooggy
well MU is not working properly yet. it still shows updates for office even when they are installed....
tarquel
Maybe so (although I havent seen what you are refering to personally and I have all sorts of different Office installs & versions installed) but that is only a problem with the detection definitions that I presume it downloads when it/you visit MU.

The framework of MU is out of beta - i know as i was beta testing it lol - and MS will switch WU to using MU soon, so its worth looking at now as it IS finished and it works fine smile.gif

Please keep on topic though as "how well MU works or not" isn't the issue here thanks smile.gif

Cheers smile.gif
Nath
RyanVM
I've got MU partially integrated. The only difference between it and WUv6 is that it also includes a file muweb.dll, which must also (along with wups2.dll) be registered. However, Tools...Windows Update still defaults to WUv6. Also, the first visit to MU still requires the user to go through the "Start using Microsoft Update" stuff (though nothing has to actually be downloaded from the site). After going through that, Tools...Windows Update points to MU like it's supposed to.

I think MU is going to eventually replace WUv6 once the kinks are worked out anyway, so this may be a moot point. Given the current bugginess of MU, I'm actually OK with it defaulting to WUv6.
tarquel
Indeed Ryan..

Nice to know it aint possible (yet) to skip the [start] part of MU.

I've found MU really handy but I agree, its replacing of WU needs a bit more tweaking by MS I think :zd :thumbsup

Cheers
N.
BoardBabe
So is there no way yet to integrate and get the start-menu shortcut to MU?
RyanVM
Well, you can create the start menu shortcut on your own. Just make this the target:
CODE
C:\WINDOWS\system32\rundll32.exe C:\WINDOWS\system32\muweb.dll,LaunchMUSite
Shark007
QUOTE (RyanVM @ Jul 10 2005, 02:51 PM)
Well, you can create the start menu shortcut on your own. Just make this the target:
CODE
C:\WINDOWS\system32\rundll32.exe C:\WINDOWS\system32\muweb.dll,LaunchMUSite

*


if you're creating that shorcut, you can also browse to muweb.dll
for the proper icon to go with it.

Shark
Metzen
QUOTE (Shark007 @ Jul 10 2005, 01:08 PM)
QUOTE (RyanVM @ Jul 10 2005, 02:51 PM)
Well, you can create the start menu shortcut on your own. Just make this the target:
CODE
C:\WINDOWS\system32\rundll32.exe C:\WINDOWS\system32\muweb.dll,LaunchMUSite

*


if you're creating that shorcut, you can also browse to muweb.dll
for the proper icon to go with it.

Shark
*



Download the MU activex control here:
http://update.microsoft.com/microsoftupdat...b?1121269785890
Metzen
To install it (manually), you must do the following:

:Installing Microsoft Update...
copy /Y Microsoft-Update\muweb.inf "%windir%\Downloaded Program Files"
copy /Y Microsoft-Update\muweb.dll "%windir%\system32"
regsvr32 /s muweb.dll

And the ActiveX control will be installed.
BoardBabe
Sure that inf file is needed?
RyanVM
It isn't
BoardBabe
That's what I though ;-)

Thanks.
Metshrine
Any word on integration yet with NLITE?
RayOK
Anyone know about this site? http://windowsupdate.62nds.com/
Basically Windows Update in Firefox, at least. It guess it installs a couple .dll files into the plugins folder. Anyone know if its safe? Haven't done much research but I have used it. It just scans your registry, sends you the .exe updates and silently installs them.

Very cool imo just not sure of the security risks in those files you must install. What do you think?
tarquel
QUOTE (RayOK @ Jul 16 2005, 08:42 PM)
Anyone know about this site? http://windowsupdate.62nds.com/
Basically Windows Update in Firefox, at least. It guess it installs a couple .dll files into the plugins folder. Anyone know if its safe? Haven't done much research but I have used it. It just scans your registry, sends you the .exe updates and silently installs them.

Very cool imo just not sure of the security risks in those files you must install. What do you think?
*


Please stick to the topic! This is Microsoft Update unattended intregation, not WU in Firefox. I suggest you start a new topic on the relevant board smile.gif

[interesting to know tho, but for another discussion I think biggrin.gif - post it in the wondows xp board and remove the content from your post here (or change it into a link to the other topic biggrin.gif]

Cheers
Nath.
raduking
i integrated MU the way it was shown earlier in this thread
but when I try to run Microsoft update everything looks fine:
I got the Start button but after I chose continue a strange dialog box appears then

[Error: 0x800A0046]

please help

here's a complete list of screenshots:









and wether I press Yes or No the same screen appears:

Shark007
Most likely you need to install Windows Installer 3.1 (v2)
as mentioned in this POST here

Shark
krazd
Can the two files be regestered w/ guirunonce or w/wpi?
Krazd
BoardBabe
I think you can reg these in wpi.cmd (cleanup part) fine.
BoardBabe
@raduking: I actually got exactly the same error, but I thought this was an error at the webserver/site, cause after quite a few tries it suddenly worked... Anyone got any idea?

I install both Win installer 3,1 v2 and MU with /SiLeNt switches.
raduking
i have registered post Windows Installer 3.1 (v2) sad.gif
osborned_rcc
I tried your code, Metzen, but I was still forced to install it again from windows update.
raduking
is there something we can do ?
thefultonhow
QUOTE (raduking @ Jul 25 2005, 04:37 PM)
is there something we can do ?
*


I Iam wondering this too. I'm getting the updates installed all right, but MU doesn't install. I tried packaging up the install using a repackager, but it didn't work.
raduking
do you get the same error as I do ?
RyanVM
You guys will be happy to know that IE7 defaults to MU tongue.gif
raduking
so those files will be automatically put there ?
PoloDude
QUOTE (raduking @ Jul 20 2005, 11:10 PM)
i have registered post Windows Installer 3.1 (v2) sad.gif
*


Can't it be that you disabled windows update by using a registry fix?
mrnxdmx
QUOTE (RyanVM @ Jul 28 2005, 04:13 AM)
You guys will be happy to know that IE7 defaults to MU tongue.gif
*

realmad.gif realmad.gif
I wonder what will microsoft do with xp sp3,ie7?
Maybe will require a phone call to get a very very special key wacko.gif
fraizzo
Pleas can you help me.

In my unattended installation i have created a .bat for manual integration of ActiveX, i have created a link to Microsoft Update, now i have 2 questions.

1. How i can skip the two windows that Microsoft Update Site ask me (START + CONTINUE)???

2. How can i add my link to the site inside the START MENU???

Thank you in advance biggrin.gif

Francesco
maxamoto
QUOTE (fraizzo @ Oct 14 2005, 10:19 AM) *
Pleas can you help me.

In my unattended installation i have created a .bat for manual integration of ActiveX, i have created a link to Microsoft Update, now i have 2 questions.

1. How i can skip the two windows that Microsoft Update Site ask me (START + CONTINUE)???

2. How can i add my link to the site inside the START MENU???

Thank you in advance biggrin.gif

Francesco

There's no way to skip the initial screens, so far as I am aware of. I'm sure it will be possible in the future. As far as creating the shortcut goes, download shortcut.exe, drop it in \XPCD\$OEM$\$$\System32 (or wherever your UACD lives) and use the following syntax wherever appropriate:

Shortcut.exe /f:"%ALLUSERSPROFILE%\Start Menu\Microsoft Update.lnk" /a:c /t:"C:\WINDOWS\system32\rundll32.exe" /p:C:\WINDOWS\system32\muweb.dll,LaunchMUSite

You might need to modify the syntax above for your environment. The first time you go to the site, the icon for that shortcut will change to what it's supposed to be, but until then it will just be a generic pale blue page-looking icon. Regards smile.gif
showha
QUOTE (maxamoto @ Oct 27 2005, 11:53 AM) *
There's no way to skip the initial screens, so far as I am aware of. I'm sure it will be possible in the future. As far as creating the shortcut goes, download shortcut.exe, drop it in \XPCD\$OEM$\$$\System32 (or wherever your UACD lives) and use the following syntax wherever appropriate:

Shortcut.exe /f:"%ALLUSERSPROFILE%\Start Menu\Microsoft Update.lnk" /a:c /t:"C:\WINDOWS\system32\rundll32.exe" /p:C:\WINDOWS\system32\muweb.dll,LaunchMUSite

You might need to modify the syntax above for your environment. The first time you go to the site, the icon for that shortcut will change to what it's supposed to be, but until then it will just be a generic pale blue page-looking icon. Regards smile.gif



did it support for pre_install?

thx!
RyanVM
My update pack skips the initial screen newwink.gif
BoardBabe
How'd you do that?
RyanVM
hp38guser discovered that DataStore.edb is the key file.
BoardBabe
I see... so to skip initial MU screen just backup DataStore.edb to UA CD/DVD

$$\SoftwareDistribution\DataStore

(Do you know what exactly this file contains of info?)
BoardBabe
bump
blinkdt
RyanVM's posts are intriguing, to say the least. I'm using a ham-handed AutoIt script to get the job done at present (please do not ask me to post it--it works but I'm not proud of it).

@BoardBabe: the OEM method did not work for me. One author claims DataStore.edb can be deleted and replaced during the install, but most agree that it is one tough nut to crack. Googled "DataStore.edb" and did some reading, turns out it is a database file related to the update feature, no real surprise there. I assume if a current database file can be integrated, then Windows will accept the Microsoft Update feature.

The key, then, is to integrate DataStore.edb and related files from the get-go, the first method preferred by it_ybd.

So I took a look at RyanVM's UpdatePack and found a few entries in the "entries.ini" file that appeared relevant:
CODE
;This section contains entries that need to go into the [Files] section of dosnet.inf
d1,DataStor.edb
d1,muweb.dll

;This section contains entries that need to go into the [WinntDirectories] section of txtsetup.sif
242 = SoftwareDistribution\DataStore

;This section contains entries that need to go into the [SourceDisksFiles] section of txtsetup.sif
DataStor.edb = 100,,,,,,,242,0,0,DataStore.edb
muweb.dll    = 100,,,,,,,2,0,0


Dropped RyanVM's DataStor.ed_ file in the I386 directory together with my muweb.dll file and expanded DataStor.ed_ as DataStor.edb and DataStore.edb for good measure, dropping them in I386 as well. Updated the dosnet.inf and txtsetup.sif files, but no luck.

@RyanVM: is it bigger than a bread box? Any help here would be greatly appreciated by those of use who are looking simply to integrate this feature. I am certain that I have missed a few files and more.
BoardBabe
I have now done 3 successfull VMware full format/install tests of my UADVD and I got IE Tools>Windows Update to default to Microsoft Update AND skip the initial MU screen, where you have to click Yes... etc.

How I did it?

1. If you have previously installed and ran MU on your local OS:
Boot your computer in SAFE MODEand DELETE DataStore.edb in %WinDir%\SoftwareDistribution\DataStore
2. Reboot computer to "normal mode" and run Microsoft Update (You should get the initial welcome to MU screen) follow the steps where you have to click start etc...
3. Again reboot to SAFE MODE and COPY DataStore.edb to desktop or wherever.
4. Boot to normal mode and place the copy you just made of DataStore.edb on your UA CD/DVD in $OEM$\$$\SoftwareDistribution\DataStore

Ofcourse you will have to have MU properly installed and service registered during your UA installation process. Why all the reboots and safemode? Simply to get a "fresh" version of DataStore.edb (Should have a filesize of about 1032kb) that is not locked or used by any process.

This seems to work flawless for me. thumbup.gif
blinkdt
Nice. So this is what I have:

$$\SoftwareDistribution\DataStore\DataStore.edb
$$\System32\muweb.dll
$Docs\All Users\Start Menu\Microsoft Update
(shortcut to C:\WINDOWS\system32\rundll32.exe C:\WINDOWS\system32\muweb.dll,LaunchMUSite target)

I'm going to try to register muweb.dll from Cmdlines.txt:

[COMMANDS]
"regsvr32 /s %windir%\system32\muweb.dll"

Not sure about that, though. But worth a shot.

Edit: no luck. no.gif
BoardBabe
What did not work? The MU integration or skipping the initial screen?

Make sure you followed my procedure to get a "clean" copy of DataStore.edb. Also I personally register wups2.dll and muweb.dll from cleanup.cmd and not CMDLINES.txt. Don't know if it makes a difference...
blinkdt
I believe MU integration is fine, but I continue to experience the same situation faced by raduking on page 2 of this thread. That said, MU integration appears to be nothing more than correctly placing and registering one DLL file based on what I have picked up in this discussion. Your procedure for securing a clean copy of DataStore.edb was crystal-clear and makes perfect sense.

I will try to register both .dll's and/or play with this some more.
BoardBabe
Im not quite sure why it does not wor for you, but it might sem you do not have all the components needed for MU?

If I have understood correctly you will need to install;
Windows Installer v3.1
Windows Update v6
Microsoft Update

To make sure MU works properly. My guess is that you need to double check if you have all of those installed.
EmRoD
Successfully passed the 2 "activation steps" and got rid of the 0x800... error message.

I backed up a DataStore.edb like BoardBabe said.
and I created a SFX file for it, launched via SVCPACK.inf.

I'm using the wonderfull HFSLIP so this SFX is integrated during the Slipstreming process.

I've got now a Fully automated slipstreamed XP Pro SP2 with MU smile.gif

Thanks smile.gif
GeneralMandible
QUOTE (BoardBabe @ Nov 13 2005, 02:43 PM) *
I have now done 3 successfull VMware full format/install tests of my UADVD and I got IE Tools>Windows Update to default to Microsoft Update AND skip the initial MU screen, where you have to click Yes... etc.

How I did it?

1. If you have previously installed and ran MU on your local OS:
Boot your computer in SAFE MODEand DELETE DataStore.edb in %WinDir%\SoftwareDistribution\DataStore
2. Reboot computer to "normal mode" and run Microsoft Update (You should get the initial welcome to MU screen) follow the steps where you have to click start etc...
3. Again reboot to SAFE MODE and COPY DataStore.edb to desktop or wherever.
4. Boot to normal mode and place the copy you just made of DataStore.edb on your UA CD/DVD in $OEM$\$$\SoftwareDistribution\DataStore

Ofcourse you will have to have MU properly installed and service registered during your UA installation process. Why all the reboots and safemode? Simply to get a "fresh" version of DataStore.edb (Should have a filesize of about 1032kb) that is not locked or used by any process.

This seems to work flawless for me. thumbup.gif

FYI
You shouldn't have to go into safe mode. All you need to do is stop the Automatic Update service. DataStore.edb should only be in use by Windows update services (web or AU).
DarkShadows
I'd like to encourage everyone reading this thread to also check out GUIDE: Download Everything Microsoft, a complete, step-by-step, how-to, which includes all of the most useful information contained in this thread you are currently reading, as well as information on some other closely related items that you should consider integrating into your XPCDs. Much of the linked guide's information has been discussed in other disparate MSFN Forums threads (like this one), but it is all brought together in one place along with new information not covered anywhere else on MSFN.

Guide Topics Include Integrating:

  • Windows Installer 3.1 v2 (3.1.4000.2435) - KB893803
  • Windows Genuine Advantage Notifications - KB905474
  • Windows Update Agent
  • Windows Genuine Advantage Validation Tool ActiveX Control - KB892130 (LegitCheckControl.cab)
  • Office Genuine Advantage Validation Tool ActiveX Control (OGAControl.cab)
  • Windows Update ActiveX Control (wuweb_site.cab)
  • Microsoft Update ActiveX Control (muweb_site.cab)
  • Office Update Installation Engine ActiveX Control (opuc4.cab)
  • Microsoft Update Catalog Internet ActiveX Control (MuCatalogWebControl.cab)


All of the above items are closely interrelated as it they all pertain to downloading Microsoft Software Updates to your Windows XP computer. In fact, many of the above items are so closely intertwined that some will not work correctly without the correct installation of others.
Lolita
I wanted to do it myself to see how it works and not use DarkShadow's inf, everything works now - WU, WGA, OGA, but when i go to MU i need to allow MU activeX. I don't need to install it, just allow it.
DarkShadows
My Guide (linked above) now has newer .infs which address the authorization issue.
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.