how to copy some files while installation on other machine?

Aug 16 2007 6:30 AM
Hi there,

I have created a setup project in my visual studio. I am using a C# installer class with this setup project. I need to copy some files on the target machine file system manually when I install the product. Now I have written the code to copy the files in the installer class' method.

Now when I am running the setup in the same machine, it will find the files to be copied and runs successfully. But when I run on another machine, the source files to be copied could not found. so I can't install on other machine.

So, Please let me know that how to attach files with setup project and how to access those files while installing?

Thanks in advance.


Answers (1)