Page 1 of 1

C# (help with installer)

Posted: Sat Mar 22, 2008 2:58 pm
by Andrew_b
trying to make an installer to move files to directories i set so that my program can work.

Any ideas? I've searched for tutorials but havnt found anything (probably because i dont know what im searching for).

Posted: Sat Mar 22, 2008 3:00 pm
by Patrickssj6
IO can move files....otherwise use Shell() for batch commands.

IO: IO.Files.Copy...

Batch: XCOPY Src Dest [Parameters]

Posted: Sat Mar 22, 2008 9:23 pm
by OwnZ joO
Yeah add a using System.IO directive and either use File.Copy/File.Move or FileInfo.Copy/FileInfo.Move