Re: Package and Deployment Questions

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Robert Suffecool (rmsuffy_at_hotmail.com)
Date: 08/17/04


Date: Mon, 16 Aug 2004 21:19:56 -0700

Damn Ralph... creating a "home deployment package" is starting to sound like
it is going to take more effort than writing the program code I want to
install! Holy-Toledo! Thanks for the thoughts though. Are the other
deployment wizards you spoke of expensive -- ie, Wise?

Robert

"Ralph" <nt_consulting32@hotmail.com> wrote in message
news:uhypVUkgEHA.1344@TK2MSFTNGP11.phx.gbl...
>
> "Robert Suffecool" <rmsuffy@hotmail.com> wrote in message
> news:ucScXpigEHA.1048@tk2msftngp13.phx.gbl...
> > Ralph stated... <snip>
> > > >
> < snipped>
> >
> > What makes the MDAC different from other system files if you don't have
to
> > have to include system files? Why couldn't I assume it was already
> > installed during the O/S install or another program package installing
it?
> >
> > Robert
> >
>
> I probably led you astray and was a little too flippant. "System files"
> refers to files that are specific to a particular platform but can also
> contain files that come with specific packages, such as the VB Runtime and
C
> runtime files. Exactly whether or not you should include these files
depends
> on your target, and the specific platform.
>
> If you are installing to a home machine (*note below) that you feel is
> likely not to have any of the files, then go ahead and include them in
your
> install. For a corporate box that has already had 50+ installs - leaving
the
> VB Runtime out of the install is a good idea. Most of the latest platforms
> already have the C runtime and MFC dlls.
>
> Usually (always a risky assumption) whatever version a platform might have
> is best for that platform - and you run a risk substituting yours for
> theirs - breaking something in the process. Complicating this scenario is
> that often the component you are actually using on your development box
> (that gets 'compiled' in) is NOT the component that will be included in
the
> package, because the components actually included are the ones in the
> PDWizard\redist folder. (Maybe) To be sure from where you will pickup for
> packaging any specific component take a look at the vb6dep.ini file in the
> PDWizard\ folder.
>
> If you are including any of these files - make sure this folder is
updated.
> No M$ SP or install updates these files from the original VB setup. You
have
> to do it manually.
>
> Also due the the higher security profiles of many machines - installing
> 'system files' will often require an administrator. Usually something to
be
> avoided if possible.
>
> So this is a long round-about way of saying if you can avoid installing
> "system files' do so. COM can get complicated enough without setting up a
> scenario for failure.
>
> The MDAC is different in that there are so many different versions. M$
uses
> the same name for all versions. Unfortunately they are not all created
> equally. Earlier mdacs contained Jet for example. Newer versions don't.
Also
> the MDAC is usually installed as a part of M$ office applications. It
didn't
> necessary come with the platform itself.
>
> You can install multple versions and they form a "Data Provider Stack" -
> ie., ADO 2.5 can exists a long side 2.8 etc. (They share updated files and
> some different files - most have multiple interfaces). If you are using
2.8
> in your application and you install on a 3 yr-old Win2k - it likely may
only
> have 2.5/2.6 or no MDAC at all. There is no harm done including the mdac
you
> used to compile your application - and there is a greater likelihood the
> target platform will not have the required version.
>
> Now one more "gotcha" - even if you compile your program with ADO 2.8, if
> you don't replace the mdac_typ.exe file in the PDWizard\Redist folder -
> guess what? - you will install 2.5. Always update the mdac_typ.exe file in
> this folder with the mdac version you are using.
>
> You can begin to see why Inno and WMI are perhaps better solutions? <g>
>
> * Home computers - if you are attempting to create a complex shrink-wrap
> install I heartily suggest you investigate using Wise or one of the other
> industrial-strength installers.
>
> hope this rambling got close to answering your question.
>
> -ralph
>
>



Relevant Pages

  • 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: coax P&D Wizard to install mdac on target machine during std. installation, possible?
    ... package that needs it, based on the rules in VB6Dep.ini file. ... Just to make sure I'm following, if I make sure the version of MDAC I ... In fact some version of the MDAC can NOT be install on some platforms. ... M$ doesn't really want vendors to supply upgrades to basic services. ...
    (microsoft.public.vb.general.discussion)
  • MDAC and Application Deployment
    ... I have VB 6.0 app that uses ADO with a local Access database. ... A customer attempting to install ... The KB seems to point to MDAC as the issue. ... the install package requires Win2K or later. ...
    (microsoft.public.data.ado)
  • Re: VB6 app crashes on XP
    ... Thanks, John. ... I tried MDAC changes but that didn't correct it, ... >> try using it on an XP machine, which I installed from the install package I ...
    (microsoft.public.vb.database)