Click to See Complete Forum and Search --> : Registry


SecretHell
February 18th, 2000, 07:39 PM
Hi,

How can I include whole directories with my application ?
So not only the exe-file but also \documents
\data
\images
etc.... ??

Thanx

Ravi Kiran
February 19th, 2000, 07:01 AM
I hope by "include" you mean while installation?

Setup wizard that comes with VB allows you to specify other files (other than the ones it decides are required for your application!).

In some step, you can specify other files also. First time you have to do it the hard way.. specify each file, then you can save the template so that next time on (for the same project ofcourse) it is easy.
In the step after that, you can specify , where to install those files. There would be a "Details" button and you will come up with a dialog, wherein you can specify the path, including the standard ones like APPPATH, WINPATH, WINSYSPATH etc.
In that text box you should specify the directory structure starting with APPPATH, like $(Apppath) \images ( for each file in the list). So that when the setup is run, it automatically creates those directories under installation path and copied the files.

I hope that is what you are asking for.

RK