C# (help with installer)

Post here about scripting and programming for HaloPC (audio, network, ai, etc.)
Post Reply
User avatar
Andrew_b




Socialist

Posts: 4188
Joined: Sat Feb 24, 2007 4:52 pm
Contact:

C# (help with installer)

Post 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).
Patrickssj6




Pi Collaborator

Posts: 5426
Joined: Sat Jul 24, 2004 12:12 pm
Location: I'm a Paranoid
Contact:

Post by Patrickssj6 »

IO can move files....otherwise use Shell() for batch commands.

IO: IO.Files.Copy...

Batch: XCOPY Src Dest [Parameters]
...left for good
OwnZ joO




Articulatist 500

Posts: 980
Joined: Thu Nov 10, 2005 4:24 pm

Post by OwnZ joO »

Yeah add a using System.IO directive and either use File.Copy/File.Move or FileInfo.Copy/FileInfo.Move
Post Reply