How to create a setup program that will automatically create directories and install the needed program and database files in the client machines.  The existing "Setup Wizard" in Visual Basic is only used for installing the program files only, the database files are copied separately and the required directories should be created manually by myself for those databases.
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.

that is wrong. you can add any additonal database files or any other files using the wizard, and determin the directory on which to install them.
i don't know if you using the VB5 wizard or the Vb6 PDW, but in both - search for the 'ADD' option.
The best of the installers is InstallShield; you can download it from; but just an evaluation will give you 2 weeks free usage..after that you have to register....(by the way, you can't edit the Registry and change the expiration date!) I tried that before and it doesn't work! :)

When you use installshield, you can select the files you want to couple with the setup program, and even the directory names that you want to place's really good...I've used it for all my VB projects. You should try that as well..

The latest version now is InstallShield Professional 6, but unless you register, you'll have a hard time writing setup scripts (they're something similar to C programming!) advice is to get InstallShield's just point-and-click..all the scripts are automatically genarated.

Good Luck...

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
Éric MoreauSenior .Net ConsultantCommented:
You can also modify the Setup1.Vbp project which the source code of Setup1.EXE that distribute your app when using the Setup Wizard.

If your database must be placed in a folder under your app, when executing the Setup wizard, add your database file and place it in (AppPath$)\DBPath.
AnswerTheMan's solution is correct, and comes with VB. Altho I prefer InstallShield to the VB PDW myself, st steve's answer doesn't really answer your question, it just provides a suggestion to use a commercial product to create the setup.

Every setup tool you can find to use will allow you to add any and all files you'd like to the setup. Go back thru your setup wizard slowly and you'll notice the step where it allows you to use a common file open dialog to add files.
SRIVBAuthor Commented:
Thanks for your suggestion
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

From novice to tech pro — start learning today.