Help - Search - Members - Calendar
Full Version: MDAC not working
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   
Google Internet Forums Unattended CD/DVD Guide
DragonPark
Heres my problem. MDAC (823718) is not installing correctly for some odd reason. I have tried installing it in winnt.sif and RunOnceEx.cmd, but neither have worked. I am getting no errors at all about a missing file.
Right now i have it being install via RunOnceEx calling the hotfixes.cmd file.
RunOnceEx
CODE
REG ADD %KEY%\005 /VE /D "MDAC Hotfix" /f
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\hotfixes\hotfixes.cmd" /f


Hotfixes.cmd
CODE
CLS
@echo off
ECHO.
ECHO Installing Q823718 Security Update for Microsoft Data Access Components
start /wait %systemdrive%\Install\hotfixes\Q823718.exe /C:"dahotfix.exe /q /n" /q
EXIT


As you can see, i put Q823718.exe and hotfixes.cmd in $OEM$\$1\Install\hotfixes. Does anyone see what i am doing wrong or have any suggestions?
paciuli
Sorry, i'm not very much into these installation routines so i don't know if this might help. Anyhow, i wrote a script to apply every update after having installed Windows, and the line relative to MDAC update is:

Q823718_MDAC_SecurityPatch.exe /T:%systemdrive%\install\tmp /C:"%systemdrive%\install\tmp\dahotfix.exe /q /n" /Q

I know this works for sure... see ya
OldMan
Dragon,

This worked for me:

CODE
ECHO.
ECHO Installing Q823718 Security Update for Microsoft Data Access Components
start /wait %systemdrive%\install\hotfixes\Q823718.exe /T:%systemdrive%\install\tmp /C:"%systemdrive%\install\tmp\dahotfix.exe /q /n" /Q


Hope it works for you.


The Old Dude
Aaron
Here's mine, using MDAC 2.8, not the 2.7 SP1 Hotfix:

mdac.cmd in I386\update:
CODE
cmdow @ /HID
start /wait %systemdrive%\apps\mdac\MDAC_TYP.exe /C:"dasetup.exe /q /n" /q
EXIT


svcpack.inf under [SetupHotfixesToRun]:
mdac.cmd
DragonPark
How am i supposed to tell what version i have? Or is it only the latest version that they put online?

Nevermind, i didnt know it was updated.
Stinger12348
I have this same problem, its set to run, and appears to run. But when I check what updates are installed this is one that is not.
Aaron
QUOTE (Stinger12348 @ Jan 14 2004, 04:36 PM)
I have this same problem, its set to run, and appears to run.  But when I check what updates are installed this is one that is not.

Because a new MDAC update was released yesterday smile.gif
Stinger12348
no actually, I have already got that version and been using that. Still doesn't seem to work. I do it a little differently, I extract the package before, then just have it run dahotfix.exe.

looks like this
HKLM,"%RunOnceEx%\Install1",,,"MDAC"
HKLM,"%RunOnceEx%\Install1",1,,"%10%\Install\MDAC\dahotfix.exe /q /n"

It runs from a .inf file
DragonPark
I did exactly what you said to, but it still wont work. My only guess is that windows isnt extracting the files to the same location. I have multiple partitions on my drive and its a possibility that the files are being extracted to a drive other than my C: drive.
tWreCK
AaronXP - I'm a noob when it come to all this unattend stuff but I'm still trying hard to understand. I'm trying to make an unattended cd for myself and being a noob there seems to be so many things to consider that my head starts spinning crazy.gif I have a question in regards to the installation of MDAC 2.8 and the corresponding security update. So far I have created the hotfixes.cmd as stated on the "Installing hotfixes not supported by svcpack" page and if I understand it correctly I need to install MDAC_TYP.EXE before setup processes the hotfixes.cmd file (since I take it the app needs to be installed before you can actually update it). This is what my hotfixes.cmd looks like so far:

CODE
CLS
@echo off
ECHO.
ECHO Installing Q817778 Advanced Networking Pack for Windows XP
start /wait %systemdrive%\install\hotfixes\Q817778.exe /Q:A /R:N

ECHO.  
ECHO Installing Q817787 for Windows Media Player 8
start /wait %systemdrive%\install\hotfixes\Q817787.exe /Q:A /R:N

ECHO.
ECHO Installing Q832483 Security Update for Microsoft Data Access Components
start /wait %systemdrive%\install\hotfixes\Q832483.exe /T:%systemdrive%\install\tmp /C:"%systemdrive%\install\tmp\dahotfix.exe /q /n" /Q

ECHO.
ECHO Restarting the PC in 30 seconds...
shutdown.exe -r -f -t 30 -c "Windows XP will now restart in 30 seconds"
EXIT


If I use the method you described to install MDAC_TYP.EXE this would make setup process this file before hotfixes.cmd right? If so, could you plz explain a little more detailed how to do this?

If I understand correctly I am supposed to copy MDAC_TYP.EXE to the I386\updates dir? Then I make mdac.cmd and put it in the same dir & add mdac.cmd under [SetupHotfixesToRun] in svcpack.inf? This next part is what I have a hard time understanding - what syntax do I use in mdac.cmd? Can I just copy what you posted in your mdac.cmd file or is that syntax unique to your specific installation cd?
affidavit
DragonPark.. this is how i got mine to install.. threw the svcpack.inf with absolutely no problems

SVCPACK.INF
CODE
Signature="$Windows NT$"
MajorVersion=5
MinorVersion=1
BuildNumber=2600

[SetupData]
CatalogSubDir="\I386\Update"

[ProductCatalogsToInstall]
KB826939.cat
JS56NEN.cat
msjava.cat
Q330994.cat
Q823182.cat
Q824105.cat
Q824141.cat
Q825119.cat
Q828026.cat
Q828028.cat
Q828035.cat
Q832894.cat

[SetupHotfixesToRun]
JS56NEN.exe /Q:A /R:N
MSJavx86.exe /Q:A /R:N
Q330994.exe /Q:A /R:N
Q823182.exe /Q /O /N /Z
Q824105.exe /Q /O /N /Z
Q824141.exe /Q /O /N /Z
Q825119.exe /Q /O /N /Z
WMP9_MM2.exe
Q828026.exe /Q /O /N /Z
Q828028.exe /Q /O /N /Z
Q828035.exe /Q /O /N /Z
Q832894.exe /Q:A /R:N
DX9NTopk.exe
Q832483.cmd
qchain.exe

as you can can see.. in my svcpack.inf.. i have q832483.cmd close to the botom of the [SetupHotfixesToRun]

and here is my Q832483.CMD
CODE
cmdow @ /HID          <----   ignore this unless you have CMDOW setup to be put in the system32 folder

Q832483.exe /C:"dahotfix.exe /q /n" /q


Q832483.EXE and Q832483.CMD are in my ~windows cd~\I386\Update (or SVCPack) folder

hope helps thumbup.gif
[/CODE]
tWreCK
***bump***
Aaron
Hi tWreck,

Your hotfixes.cmd file appears to be fine, as long as the paths are right. You might want to use Q832483_MDAC_X86.EXE /C:"dahotfix.exe /q /n" /q as its shorter.

QUOTE
If I use the method you described to install MDAC_TYP.EXE this would make setup process this file before hotfixes.cmd right?
Yes.

QUOTE
If I understand correctly I am supposed to copy MDAC_TYP.EXE to the I386\updates dir?

No, put it in your \install\hotfixes\ folder

QUOTE
Then I make mdac.cmd and put it in the same dir & add mdac.cmd under [SetupHotfixesToRun]in svcpack.inf?

Yes.

QUOTE
what syntax do I use in mdac.cmd?

Same syntax as shown, all you need to do is make sure its got the right path to it. I personally use the apps folder, most people use the install folder. It doesn't matter either way smile.gif

By the way, you're using the wrong switch for the Advanced Networking Pack, its a type 1 hotfix.
tWreCK
Thx for your help - this is an awesome site biggrin.gif
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.