SRIVB
asked on
HOW TO CREATE A SETUP PROGRAM WITHOUT USING SETUP WIZARD IN VB
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
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.
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.
ASKER
Thanks for your suggestion
i don't know if you using the VB5 wizard or the Vb6 PDW, but in both - search for the 'ADD' option.