Re: coax P&D Wizard to install mdac on target machine during std. installation, possible?




"Mike Scirocco" <mscir@xxxxxxxxx> wrote in message
news:bOKdnU1lZIjynqrYnZ2dnUVZ_rWdnZ2d@xxxxxxxxxxxxxxxxx
Ralph wrote:
"Mike Scirocco" <mscir@xxxxxxxxx> wrote in message
news:A4qdnaibD_2hGqvYnZ2dnUVZ_qSdnZ2d@xxxxxxxxxxxxxxxxx
I would like to include mdac_type.exe with my installation files and
then coax the P&D wizard to run the file on any target machine a
program
is installed on. Is this possible?

Not sure what the problem is. The mdac_type is often included with any
package that needs it, based on the rules in VB6Dep.ini file. Coaxing is
not
required.

Be aware of one Gotcha! The P&D will include what ever mdac is in the
..\Wizards\PDWizard\Redist folder. Not the one you have installed on
your
build machine. Be sure to copy the mdac version you are using into this
folder before building a package.

hth
-ralph

Just to make sure I'm following, if I make sure the version of MDAC I
want to install is in the ...\redist folder the installer automatically
run the MDAC installer?


If your application is using it. (Defined by rules in vb6dep.ini)
http://support.microsoft.com/kb/310303

Required reading for MDAC installs
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmdac/html/data_mdacinstall.asp

There are additional considerations. (including the MDAC might not be such a
good idea.)
1) The P&D was provided back in the day when there were different versions
of the MDAC, but essentially just upgraded ADO components. Upgrades provided
a simple 'stack'. ie, upgrading a box from 2.5 to 2.6 was no harm - the box
now supported both. Unfortunately, the MDAC has become platform dependent.
In fact some version of the MDAC can NOT be install on some platforms.
2) The MDAC isn't just ADO components and OLE support any more - installing
the wrong components can have very determinal effects. Also rolling back can
be an adventure. (ie, never enforce an install)
3) You may have to write additional code to determine the correct MDAC and
provide more than one version in your package.
4) M$ doesn't support P&D any more. You may want to consider inno setup or
other installation packages which are easier to modify for target
differences.
5) M$ doesn't really want vendors to supply upgrades to basic services. They
would perfer that users download upgrades/SPs from M$ itself.

hth
-ralph



.



Relevant Pages

  • Re: Package and Deployment Questions
    ... > on your target, and the specific platform. ... > VB Runtime out of the install is a good idea. ... > package, because the components actually included are the ones in the ... > The MDAC is different in that there are so many different versions. ...
    (microsoft.public.vb.general.discussion)
  • Re: Need Help..not sure how to word this
    ... > assuming since ado needs MDAC then this is why the entry for MDAC is in ... > extracted the cab and ran the setup.exe it wanted to install MDAC 2.5! ... standard setup package - Are you creating a package for "Internet ... always use the "Download from Microsoft WebSite" option. ...
    (microsoft.public.vb.general.discussion)
  • RE: How can I Use ADODB in XP Embedded
    ... The missing piece here seems to be the portions of the MDAC ... It is a separate install for all Windows computers. ... This means it will be a separate package for your embedded install. ...
    (microsoft.public.dotnet.framework)
  • Re: Any help here???
    ... If you are having odd connectivity issues then ... AFAIK you cannot uninstall MDAC once its installed. ... Format your drive, do a new/clean install of XP, and go from there. ... > troubleshoot SQL Server connectivity issues - you should investigate the ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Could not install or remove the Internet Authentication
    ... I want to roll back the MDAC install. ... IAS does not start because it is not installed. ... It sort of behaves like incorrectly configured connection to an Oracle ...
    (microsoft.public.internet.radius)