Attempting to create a vb6 installation package for deployment

Maria Torres
Maria Torres used Ask the Experts™
on
I'm attempting to create a setup.exe for distribution.  When I look at the Reference section of VB6 it shows the following files as reference:

vb6.olb
msvbvmb60.dll\3
msado27.tlb
crviewer.oca
wshom.ocx
acrobat.tlb
acropdf.dll
msword.olb
cdo.dll

My concern is whether to include the files listed above in my distribution diskette.  I believe that acrobat.tlb, acropdf.dll, msword.olb should not reside on the disc because there might conflict with my version and the clients.  Can someone clarify whether if my assumption is correct?  I.e., the above files should not reside on the disc.  Or if some of the files must be distributed, can you tell me which one must be distributed?

Thank you.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
I think acrobat and word's dll cannot be distributed with your application because they have to be registered with Windows before using as references. And if so, they may have to overwrite current files in your client's computer and may cause unexpected errors.

I think the better way is add Adobe Acrobat and MS Word to your prerequisite list.

Hope this help.
Maria TorresData Analyst

Author

Commented:
Sorry I didn't response sooner.  I was away for the holiday.

What about the other files?  Should the vb6.olb be part of the distribution files?  I've been trying to find some documentation on what is required for distribution but to no avail.  Any input is greatly appreciated.

Thank you.
Your five files below belong to Visual Basic 6.0 and in theory, if you put them to reference list, they will automatically be registered in your client's computer.

vb6.olb
msvbvmb60.dll
msado27.tlb
crviewer.oca
cdo.dll

But if there's any problem (from my experience, VB6 has many unknown exceptions :D), I recommend you to upgrade your code to .Net version or use a third-party application, such as InstallShield.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial