 | | From: | David B.E | | Subject: | mdac install on winXP SP2 | | Date: | Tue, 14 Dec 2004 18:33:55 +0200 |
|
|
 | Hi I want to prevent mdac installation in WIN XP with SP2 what flag should I put in the files/run line?
Regards
David
|
|
 | | From: | Andrew Brill | | Subject: | Re: mdac install on winXP SP2 | | Date: | Wed, 15 Dec 2004 11:00:26 -0000 |
|
|
 | We do this which is a conversion of an Access RT installation script and seems to work. Makes use of DecodeVersion and CompareVersion from this article http://www13.brinkster.com/vincenzog/isxart.asp?idart=7
[Files] Source: "2003\MDAC_TYP.EXE"; DestDir: "{tmp}"; Flags: DeleteAfterInstall
[Run] Filename: "{tmp}\MDAC_TYP.EXE"; Parameters: "/Q:A /C:""dasetup /Q:D /N"""; Check:Mdac
[Code] function Mdac(): boolean; var strVersion: String; begin GetVersionNumbersString(expandconstant('{cf}\System\ADO\msado15.dll'), strVersion); if CompareVersion(strversion, '2.80.1022.0') < 0 then Result := True else Result := False end;
"David B.E" wrote in message news:cpn4lo$s97$1@news.jrsoftware.org... > Hi > I want to prevent mdac installation in WIN XP with SP2 > what flag should I put in the files/run line? > > Regards > > David > >
|
|
 | | From: | Bill Schwab | | Subject: | Re: mdac install on winXP SP2 | | Date: | Fri, 17 Dec 2004 19:39:53 -0500 |
|
|
 | Andrew,
> [Files] > Source: "2003\MDAC_TYP.EXE"; DestDir: "{tmp}"; Flags: DeleteAfterInstall
Thanks for that.
> [Run] > Filename: "{tmp}\MDAC_TYP.EXE"; Parameters: "/Q:A /C:""dasetup /Q:D /N"""; > Check:Mdac
You might be able to shed some light on a problem I have. I have been using InnoSetup to repackage updates that I grab from Microsoft. I can't use automatic updates, because there is no way to predict a safe time for the machine to update, and associated problems. Windows Update has been known to disappear part way through one of my installation binges, and I greatly prefer to know what is being installed. Further, some of the machines are embedded in other devices, and I keep hoping to everything remotely in the near future.
There are a few snags. Most notable is that silent installs appear to not always be silent. I also found that the command line switches were not consistent among MS installers. Is the above specific to MDAC, or have you uncovered something that would be more generally applicable to the update installers?
I also find that the MS installers frequently quit with error messages about the "window station closing". Rerunning the update always seems to get past it, though it makes me wonder ~:(
If there are some additional tricks of the trade to solve these problems, then I have some software that would allow me to direct machines to download and run updates, and (courtesy of Inno) install the correct component(s) for the individual machine's type/role.
Any pointers or insights will be greatly appreciated.
Bill
-- Wilhelm K. Schwab, Ph.D. bills@anest4.anest.ufl.edu
|
|
 | | From: | Andrew Brill | | Subject: | Re: mdac install on winXP SP2 | | Date: | Mon, 20 Dec 2004 09:55:16 -0000 |
|
|
 | I can't take credit for any of the mdac install I'm afraid. The theory behind the version checking and installation is a conversion of a wise script by www.sagekey.com There's an alternate method aimed at Inno here: http://www.jrsoftware.org/iskb.php?a=dcommdac As far as I'm aware those parameters are mdac specific and in fact don't even make it silent under all conditions - hence the version check beforehand!
"Bill Schwab" wrote in message news:cpvtjh$81i$1@news.jrsoftware.org... > Andrew, > >> [Files] >> Source: "2003\MDAC_TYP.EXE"; DestDir: "{tmp}"; Flags: DeleteAfterInstall > > Thanks for that. > > >> [Run] >> Filename: "{tmp}\MDAC_TYP.EXE"; Parameters: "/Q:A /C:""dasetup /Q:D >> /N"""; Check:Mdac > > You might be able to shed some light on a problem I have. I have been > using InnoSetup to repackage updates that I grab from Microsoft. I can't > use automatic updates, because there is no way to predict a safe time for > the machine to update, and associated problems. Windows Update has been > known to disappear part way through one of my installation binges, and I > greatly prefer to know what is being installed. Further, some of the > machines are embedded in other devices, and I keep hoping to everything > remotely in the near future. > > There are a few snags. Most notable is that silent installs appear to not > always be silent. I also found that the command line switches were not > consistent among MS installers. Is the above specific to MDAC, or have > you uncovered something that would be more generally applicable to the > update installers? > > I also find that the MS installers frequently quit with error messages > about the "window station closing". Rerunning the update always seems to > get past it, though it makes me wonder ~:( > > If there are some additional tricks of the trade to solve these problems, > then I have some software that would allow me to direct machines to > download and run updates, and (courtesy of Inno) install the correct > component(s) for the individual machine's type/role. > > Any pointers or insights will be greatly appreciated. > > Bill > > -- > Wilhelm K. Schwab, Ph.D. > bills@anest4.anest.ufl.edu
|
|
 | | From: | Bill Schwab | | Subject: | Re: mdac install on winXP SP2 | | Date: | Mon, 20 Dec 2004 14:10:39 -0500 |
|
|
 | Andrew,
> I can't take credit for any of the mdac install I'm afraid. The theory > behind the version checking and installation is a conversion of a wise > script by www.sagekey.com > There's an alternate method aimed at Inno here: > http://www.jrsoftware.org/iskb.php?a=dcommdac > As far as I'm aware those parameters are mdac specific and in fact don't > even make it silent under all conditions - hence the version check > beforehand!
Thanks for the reply!
Bill
-- Wilhelm K. Schwab, Ph.D. bills@anest4.anest.ufl.edu
|
|
 | | From: | AGP | | Subject: | Re: mdac install on winXP SP2 | | Date: | Tue, 14 Dec 2004 17:08:10 +0000 (UTC) |
|
|
 | I think MDAC comes installed with vanilla XP as well as SP1 and SP2.
AGP
David B.E wrote:
> Hi > I want to prevent mdac installation in WIN XP with SP2 > what flag should I put in the files/run line? > > Regards > > David
|
|