473,387 Members | 1,497 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to include a full Direectory in Setup?

GB
Hi,
I use VS2003, (VB.Net)

I would like all the files of a given directory to be included by my setup
project (to distribute a bunch of application data files).

Of course I know how to do it one by one, but there are hundreds of files,
and worse, the content of the directory is often updated and modified, so I
want this inclusion to be automatic. no matter what files it contains and
how many files it involves at a given time.

How can I do that?

Thanks in advance.

GB
Jan 5 '06 #1
2 1048
GB wrote:
Hi,
I use VS2003, (VB.Net)

I would like all the files of a given directory to be included by my setup
project (to distribute a bunch of application data files).

Of course I know how to do it one by one, but there are hundreds of files,
and worse, the content of the directory is often updated and modified, so I
want this inclusion to be automatic. no matter what files it contains and
how many files it involves at a given time.

How can I do that?

Thanks in advance.

GB

You can drag the whole folder from windows explorer into the Setup
project filesystem.
Then, the folder and subfolder and files will be included in the Setup.

However, the update of the content of the directory will not be included
automatically.

--
Jacky Kwok
jacky@alumni_DOT_cuhk_DOT_edu_DOT_hk
jacky@compose_DOT_com_DOT_hk
Jan 5 '06 #2
GB
Many thanks Jacky,

It helped, even if it does not solve the "automatic" part of the question. I
guess this is too much for this basic installer. I may have to use a "true"
installer.

Regards

GB

"Jacky Kwok" <ja***@hkcompose.com> a écrit dans le message de news:
us**************@tk2msftngp13.phx.gbl...
GB wrote:
Hi,
I use VS2003, (VB.Net)

I would like all the files of a given directory to be included by my
setup project (to distribute a bunch of application data files).

Of course I know how to do it one by one, but there are hundreds of
files, and worse, the content of the directory is often updated and
modified, so I want this inclusion to be automatic. no matter what files
it contains and how many files it involves at a given time.

How can I do that?

Thanks in advance.

GB

You can drag the whole folder from windows explorer into the Setup project
filesystem.
Then, the folder and subfolder and files will be included in the Setup.

However, the update of the content of the directory will not be included
automatically.

--
Jacky Kwok
jacky@alumni_DOT_cuhk_DOT_edu_DOT_hk
jacky@compose_DOT_com_DOT_hk

Jan 5 '06 #3

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

Similar topics

6
by: JStrummer | last post by:
I have a question regarding paths and the include() statement in PHP. I develop in a Windows environment and will be publishing to a Linux server. I would like to do the following: 1. Setup my...
2
by: Marcus | last post by:
Hello, I am having problems with an include statement. I'm setting a session variable flag and then including a file, and in that include file I have a check at the top to make sure that the...
2
by: Don Schneider | last post by:
I tried to setup a frameset which consists of 4 different subframes. Each of these subframes should fetch a different web page from the internet and display it completely (!). BUT: the vertical...
2
by: Scott Kaszyk | last post by:
I have created a setup project and was able to include the exe as well as the source code in the install. However, I have been unable to include the setup project source. Therefore, when I access...
7
by: mescaline | last post by:
Hi, Suppose a_file.cpp contains a function a_function() Now to include it in main_file.cpp I just do #include "a_file.cpp" and I'm all set. i recently came across this seemingly roundabout...
6
by: wukexin | last post by:
Help me, good men. I find mang books that introduce bit "mang header files",they talk too bit,in fact it is my too fool, I don't learn it, I have do a test program, but I have no correct doing...
2
by: Steve Doody | last post by:
When I add #include <Python.h> to a header file, GCC tells me, No such file or directory. Am trying to learn how to combine C++ and Python. Using SuSE 9.0 Linux, 2.4.21-231-default GCC 3.3.1...
5
by: David Mathog | last post by:
One thing that can make porting C code from one platform to another miserable is #include. In particular, the need to either place the path to an included file within the #include statement or to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...

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.