Again...dependency files...

Well, I think I accepted the answer while the question is still pending. I would like to have more feedback on th matter.

Experts,
Please tell me the step by step for deployment of an application. My program is working fine and OK. But the problem arises when I try to install in clients machine.
I really want the step by step thing. I am a bit of a fresh in this deployment thing. Running the application from VC++ is OK, not deployment time.

Please tell me the dependency files for release version. I think I am only using the dll for the debug version.

I have no where else I could go and ask. Pelase help.
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.

DrDelphiCommented:
if you're using VC++ then you have a utility that shipped with it called Depends. this will break down exactly what libraries are being used by your EXE.

Good luck!!
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
cheeonnAuthor Commented:
OK, so how do I go about using the Depends Utility?
That is why I need some guide to walk me through the whole thing.
I have not heard about it before - Depends Utility.
Please guide.
0
DrDelphiCommented:
The easiest way is to drag and drop your EXE onto the Depends.exe (or a shortcut to it). this launches Depends, which in turn shows all the Libraries being used by the EXE...  From there all you need do is to make sure that your installation checks for these files and installs the ones that may be missing.
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

cheeonnAuthor Commented:
OK, I went throught he Depends.exe. It gave me a list of dll's needed.
MFC42.dll
MSVCRT.dll
USER32.dll
KERNEL32.dll
GDI32.dll
OLEAUT32.dll
and many more.

Do I have to check every single one or is it enough just to include
MFC42.dll and MSVCRT.dll?

I am lost.
0
DrDelphiCommented:
Take it easy. Some of them are "no brainers" for example, you KNOW that the target system is going to have USER32 on it and KERNEL32 and GDI32, etc, etc... the things that you are looking for are the libraries that MFC (Visual C++) is using to compile your application... for example MFC42.dll... might aleready be an enduser's system from another application, but no guarantee. So, check to see it is, if not install it. Most of the DLL's listed there are core windows libraries and will not to be distributed.
0
cheeonnAuthor Commented:
I'll come back to you later. Let me try it out in a "clean" machine first.
0
DrDelphiCommented:
fair enough.. lemme know if you have a problem...
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
C++

From novice to tech pro — start learning today.