Deployment project question

  • Thread starter Michael A. Covington
  • Start date
M

Michael A. Covington

Greetings,

Here's a question about deploying my C# application.

My program includes a large library of data files.

As far as I can tell, data files can only be added to a deployment project
one at a time. Is there a way to add a whole folder, with all its contents
and subfolders, to a deployment project such that it will be installed into
a particular folder on the target machine, preserving all the structure?

If not, should I buy Installshield or some other setup-generating package?
I prefer to generate .msi files, but executables would also do.

Thanks!
 
J

jacky kwok

Michael said:
Greetings,

Here's a question about deploying my C# application.

My program includes a large library of data files.

As far as I can tell, data files can only be added to a deployment project
one at a time. Is there a way to add a whole folder, with all its contents
and subfolders, to a deployment project such that it will be installed into
a particular folder on the target machine, preserving all the structure?

If not, should I buy Installshield or some other setup-generating package?
I prefer to generate .msi files, but executables would also do.

Thanks!

Drag the folder from the WindowsExplorer to the VS setup project
FileSystemView directly.

All the files and subfolder will be added to the setup project.
 
M

Michael A. Covington

jacky kwok said:
Drag the folder from the WindowsExplorer to the VS setup project
FileSystemView directly.

All the files and subfolder will be added to the setup project.

Thanks. What I was hoping for was something even smarter -- I'd like for
the setup project, at build time, to look at what's in the folders *now*,
rather than what was in them when I dragged the main folder. But that's a
lot better than nothing.
 
B

Bart

If not, should I buy Installshield or some other setup-generating package?
I prefer to generate .msi files, but executables would also do.

You could take a look at InnoSetup.....it is free and verry good......


bart
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top