473,785 Members | 2,308 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Deployment project question

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!

Jan 15 '07 #1
3 1269
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.

--
Jacky Kwok
jacky@alumni_DO T_cuhk_DOT_edu_ DOT_hk
Jan 15 '07 #2

"jacky kwok" <ja********@nos pam.nospamwrote in message
news:O8******** *****@TK2MSFTNG P06.phx.gbl...
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.
Jan 15 '07 #3
>
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.....i t is free and verry good......
bart
Jan 15 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1038
by: Bob Curry | last post by:
I have a pretty simple project (C++) which I'm trying to deploy using a VS.NET deployment project. The problem I'm having is that when the deployment project is executing, it finds a previous version of my application and tells me to go to Add and Remove programs from the Control Panel to remove the previous version. This would be almost acceptable if there really was a previous version but, there isn't. My real question is - is it...
3
2040
by: Steve Brecher | last post by:
VS.NET help on deployment indicates that, while using a deployment project requires administrative access to IIS, " we recommend deploying your project in most cases, because it allows you to take advantage of extensive deployment project management features, such as registration and IIS configuration." I guess that users of shared web hosts are using copying rather than a deployment project. What problems might this run into? I.e.,...
3
293
by: Jim Owen | last post by:
Hi All, I'm putting together my first web deployment project using VS2003 and have a few questions someone might be able to help on. First, I need to modify the web.config file based on entries made during the installation from one of the TextBoxes dialogs. Is this possible? If so, can someone point me in the direction of some doc or samples for this? Second, is it possible to return errors from a custom action back to the installer...
1
650
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The objective in utilizing this new deployment method is to reduce the maintenance overhead as well as making it easier for my users to setup and run the application initially. I have VS 2002, Windows XP, Access XP(2000 format). He is my problem....
7
2840
by: dhussong | last post by:
I have created a Setup and Deployment project in Visual Studio.NET 2003. After my installation has completed running I'd like to launch the EXE that I just installed. I've found how to launch the EXE in the Custom Actions area of the Setup and Deployment project. Unfortunately when the EXE is launched it causes the setup program to stay open until the EXE has been exited. Anyone have any ideas how to launch the EXE and get the setup...
10
3029
by: =?Utf-8?B?Q2h1Y2sgUA==?= | last post by:
In a web deployment project I want to encrypt the connection strings. I use to do this with a batch file with something like this. aspnet_regiis.exe -pef "connectionStrings" ..\ -prov "HrCustomProvider" I know I need to use <Exec Command='aspnet_regiis.exe -pef "connectionStrings" ..\ -prov "HrCustomProvider"' /> but I cant get it to work.
6
4069
by: andrewbb | last post by:
I want to deploy a service with a windows app and the setup program must conform to the Vista certification requirements. Can that be done with the standard .net setup project? Assuming cost is an issue, what else is available?
7
5992
by: Cirene | last post by:
I used to use the Web Deployment Project with my VS2005 projects. Now I've fully upgraded to VS2008. Do I have to download a new version of the Web Deployment Project? If so where can I find it? If not, how do I have to change my deployment strategy? Thanks!
5
1741
by: Geoff Blood | last post by:
Using Visual Studio 2005 I have VB project that produces a program that is to be deployed using a VS2005 deployment project. There are some legacy COM components that need to be registered with Windows. Everything works jus fine under XP, including the COM components self-registration. But when the deployment msi or setup.exe are run under Vista (Business Ed), the self-registration fails with an Authorities error - even when I hae the...
0
10346
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10157
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8982
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7504
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6742
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5386
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5514
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3658
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2887
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.