PDA

View Full Version : MDAC 2.1.1a



helduser
04-08-2002, 04:12 PM
I'm working on upgrading an old installscript that was originally built using Professional.

I have to use the older version of MDAC (version 2.1.1a) to keep with FDA requirements so I can't upgrade to the lastest version.

I'm attempting to run the MDAC installation by using the LaunchAppAndWait(szProgram, szCmdLine, WAIT) with the following parameters:

szProgram = mdac_typ.exe
szCmdLine = ' /Q /C:"Setup /QT" '

It appears to begin the extraction of the files from the executable but then a window comes up that appears to be asking for installshield command line parameters.

I believe it's having trouble with the nested command line arguments (the double quotes around Setup /QT force the nesting) so I can run the installation in silent mode.

I've been able to successfully install this version of MDAC from the command line as >mdac_typ.exe /Q /C:"Setup /QT"

But I can't seem to get it to work using launchappandwait().

Any ideas on how to fix this?

Thanks in advance!

Mike