IPB

Google Frontpage Forums Unattended CD/DVD Guide
 Forum Rules Unattended CD/DVD Guide Homepage · MSFN Forum Rules
> Microsoft Update, How to integrate it - ways to do it
tarquel
post Jul 7 2005, 12:10 PM
Post #1


The Well-wisher
*****

Group: Members
Posts: 837
Joined: 3-March 04
From: Machynlleth, Mid-Wales
Member No.: 15242
OS: XP Pro x86
Country Flag


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.
Go to the top of the page
 
+Quote Post
3 Pages V  < 1 2 3 >  
Start new topic
Replies (20 - 39)
BoardBabe
post Jul 20 2005, 06:05 AM
Post #21


MSFN Expert
******

Group: Members
Posts: 1419
Joined: 4-October 04
Member No.: 32729
Country Flag


@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.
Go to the top of the page
 
+Quote Post
raduking
post Jul 20 2005, 03:10 PM
Post #22


RegTweak XP
**

Group: Members
Posts: 188
Joined: 30-July 03
From: Cluj-Napoca
Member No.: 5317
Country Flag


i have registered post Windows Installer 3.1 (v2) sad.gif
Go to the top of the page
 
+Quote Post
osborned_rcc
post Jul 21 2005, 11:20 AM
Post #23


MIS Support Manager


Group: Members
Posts: 22
Joined: 15-July 05
From: El Reno, OK
Member No.: 64513
Country Flag


I tried your code, Metzen, but I was still forced to install it again from windows update.
Go to the top of the page
 
+Quote Post
raduking
post Jul 25 2005, 04:37 PM
Post #24


RegTweak XP
**

Group: Members
Posts: 188
Joined: 30-July 03
From: Cluj-Napoca
Member No.: 5317
Country Flag


is there something we can do ?
Go to the top of the page
 
+Quote Post
thefultonhow
post Jul 26 2005, 07:19 PM
Post #25





Group: Members
Posts: 8
Joined: 22-July 05
Member No.: 65611
Country Flag


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.
Go to the top of the page
 
+Quote Post
raduking
post Jul 27 2005, 08:44 AM
Post #26


RegTweak XP
**

Group: Members
Posts: 188
Joined: 30-July 03
From: Cluj-Napoca
Member No.: 5317
Country Flag


do you get the same error as I do ?
Go to the top of the page
 
+Quote Post
RyanVM
post Jul 27 2005, 08:13 PM
Post #27


Like a big surly teddy bear.
********

Group: Members
Posts: 2661
Joined: 31-August 03
From: Philadelphia, PA
Member No.: 6091
Country Flag


You guys will be happy to know that IE7 defaults to MU tongue.gif
Go to the top of the page
 
+Quote Post
raduking
post Jul 29 2005, 04:05 AM
Post #28


RegTweak XP
**

Group: Members
Posts: 188
Joined: 30-July 03
From: Cluj-Napoca
Member No.: 5317
Country Flag


so those files will be automatically put there ?
Go to the top of the page
 
+Quote Post
PoloDude
post Aug 3 2005, 05:43 AM
Post #29


Junior
*

Group: Members
Posts: 56
Joined: 8-June 04
From: Gent
Member No.: 22164
OS: XP Pro x86
Country Flag


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?
Go to the top of the page
 
+Quote Post
mrnxdmx
post Aug 13 2005, 02:34 AM
Post #30


Junior
*

Group: Members
Posts: 91
Joined: 17-November 04
Member No.: 36751
Country Flag


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
Go to the top of the page
 
+Quote Post
fraizzo
post Oct 14 2005, 03:19 AM
Post #31





Group: Members
Posts: 8
Joined: 5-May 05
Member No.: 54762
Country Flag


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
Go to the top of the page
 
+Quote Post
maxamoto
post Oct 27 2005, 11:53 AM
Post #32


I got mad skillz I will get wild
**

Group: Members
Posts: 111
Joined: 27-October 04
From: Germany
Member No.: 34908
Country Flag


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
Go to the top of the page
 
+Quote Post
showha
post Nov 6 2005, 09:44 PM
Post #33





Group: Members
Posts: 3
Joined: 27-December 04
Member No.: 39420
Country Flag


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!
Go to the top of the page
 
+Quote Post
RyanVM
post Nov 7 2005, 08:59 AM
Post #34


Like a big surly teddy bear.
********

Group: Members
Posts: 2661
Joined: 31-August 03
From: Philadelphia, PA
Member No.: 6091
Country Flag


My update pack skips the initial screen newwink.gif
Go to the top of the page
 
+Quote Post
BoardBabe
post Nov 7 2005, 10:59 AM
Post #35


MSFN Expert
******

Group: Members
Posts: 1419
Joined: 4-October 04
Member No.: 32729
Country Flag


How'd you do that?
Go to the top of the page
 
+Quote Post
RyanVM
post Nov 7 2005, 11:51 AM
Post #36


Like a big surly teddy bear.
********

Group: Members
Posts: 2661
Joined: 31-August 03
From: Philadelphia, PA
Member No.: 6091
Country Flag


hp38guser discovered that DataStore.edb is the key file.
Go to the top of the page
 
+Quote Post
BoardBabe
post Nov 9 2005, 04:56 AM
Post #37


MSFN Expert
******

Group: Members
Posts: 1419
Joined: 4-October 04
Member No.: 32729
Country Flag


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

This post has been edited by BoardBabe: Nov 9 2005, 04:58 AM
Go to the top of the page
 
+Quote Post
BoardBabe
post Nov 10 2005, 08:56 AM
Post #38


MSFN Expert
******

Group: Members
Posts: 1419
Joined: 4-October 04
Member No.: 32729
Country Flag


bump
Go to the top of the page
 
+Quote Post
blinkdt
post Nov 13 2005, 01:13 PM
Post #39


Somewhat Knowledgeable
Group Icon

Group: Supreme Sponsors
Posts: 580
Joined: 30-September 03
From: Fox Valley, WI
Member No.: 7533
OS: Vista Business x64
Country Flag


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.
Go to the top of the page
 
+Quote Post
BoardBabe
post Nov 13 2005, 01:43 PM
Post #40


MSFN Expert
******

Group: Members
Posts: 1419
Joined: 4-October 04
Member No.: 32729
Country Flag


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

This post has been edited by BoardBabe: Nov 13 2005, 01:48 PM
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

3 Pages V  < 1 2 3 >
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 




Lo-Fi Version Time is now: 22nd November 2009 - 07:03 AM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2009 msfn.org
Privacy Policy