Question Locked

Automeatically create folder and copy some file into it during setup

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Am a beginner in software development using VB6. I have developed a software using VB6 development Wizard. I kindly need asistance on how to include a code that will create a specific folder during intallation and copy some files that are included along with the setup CD eg. The Database file, Sound folder and Picture folder.

I will be most greatful if this post given due consideration.

Thanks

3 replies

by anders_emajl

Hi,
long time since I developed in VB6 though I kind of think I remember that you could call a batch script within the installer program. In that case I suggest that you use a batch file and simple basic code like:
mkdir "Sound", "Picture"
xcopy dbfilename path\filename

or make use of the wscript features and vbs files.

by miong13

Try using VB6's package and deployment wizard. (Visual Studio 6 Tools). :)

This discussion is closed to new replies.