Dependency Files

I have just completed a project and now ready for deployment.
May I know the dependency files that needs to be included in the InstallShield when I do the procedural setup files?
I only included the 4 dll files,
mfc42d.ll
mfcd42d.dll
mfco42d.dll
msvcrtd.dll
When I install in a old PC (namely) a PC frequently used for programming and Office97 use, it works perfectly. But when I tried to install it on a brand new PC, it gives me lots of annoying messages and also illegal operations.
Please help. I have used the Dependency Tools to look for the dependency files, but that doesn't work.
Could it be due to the Data Access thing?
Please advise.
cheeonnAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

abdijCommented:
Hi,
 Why dont you include these files in the Install Sheild Setup itself as Shared Dlls???? Or have you done it already????

Bye
Abdij
0
jasonclarkeCommented:
The files you are shipping are debug versions of the DLLs.  A new machine, without VC++ (or other programming environment) is not likely to have all the correct DLLs installed for running debug code.

So, you probably have a couple of choices:  build a release version of the software and try installing that, or install debug DLLs on the host machine, which is probably most easily done by installing the development environment.
0
alechkoCommented:
First of all, it depends on what your project is using... If you use a direcX there, you have to install dx dlls as well.

But for simple application, those 2 files are needed:
MFC42.DLL
MSVCRT.DLL
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

V_BapatCommented:
Seems that you are using DAO classes. For that you need to install the jet database engine files.

There is an article in MSDN about redistribution of files. Please go through it. You will be able to determine which DLLs you need to include in your distributable disk.

Is it possible for you to post the error messages you are getting? It would be helpful for us to give you a better solution.

Vicky
0
cheeonnAuthor Commented:
Adjusted points to 20
0
cheeonnAuthor Commented:
Thank you for all your overwhelming response. I am grateful.

About the error messages, basically it is all Illegal Operations messages and it stopped at kernel32.dll.

By the way, installing VC++ in the client machine is not a good choice right? I have actually done that, but it still doesn't work out well. The same illegal operation occur - kernel32.dll.

Yes, I am using DAO. I will try to install only the MDAC in the new machine and try running my application. Hope that will work.

Another thing, why is my debug dll(Shared dll in InstallShield) always corrupts my dll in the Windows/Systems folder? I don't understand why this happens. I usually need to re-copy the 4 debug dll's back to my Windows/System directory before I can re-compile my InstallShield program.

Please clarify. Thank you.

0
abdijCommented:
Hi,
 With all the questions pending why did you accept the answer???????

Bye
Abdij
0
cheeonnAuthor Commented:
I am grateful to all those who have offered help. Just a note of appreciation...

So do you have any more answer for me?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Installation

From novice to tech pro — start learning today.