"jacky kwok" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Michael A. Covington wrote:
>> 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.
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.
|