Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Re: Problem installing app in Windows XP


Message #1 by "Dominic Turner" <DTurner@m...> on Wed, 27 Feb 2002 13:46:48
> I tried to install a VB6 application on a new Windows XP computer.
> Setup1.exe got an error " Unable to locate component msdart32.dll.

I had this in a program that I wrote that deployed MDAC 2.6 Service Pack 1

The reason that this happens is that MDAC technology is built into the 64-
bit XP operating system - version 2.7 of MDAC is a standalone version of 
the MDAC incorporated into XP. In addition, there will not be future 
versions of MDAC for XP - they will be bundled as part of XP Service Packs.

The answer is for your setup program to detect that the OS is XP and not 
to deploy any of the files included in the MDAC manifest or MDAC itself. 
MDAC can be run on XP but nothing will happen - unless you deploy the 
individual DLL's yourself, in which case you will get an error (MSDART) 
however the setup itself will not recieve an error code and will continue 
as if it all worked fine.

For a full list of files included in the MDAC 2.7 manifest refer to 
http://www.microsoft.com/data/MDAC27info/en/readme.htm - if you don't 
register any of the DLL's mentioned here on XP you will not get the error.

If you don't know how to modify the setup1 project, try using WISE or 
similar to deploy your app.

Dominic Turner
Systems Developer, MedIT, UK

  Return to Index