473,480 Members | 1,975 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

P&D wizard: subfolders, include, how?

Question: How do you create an Installer program using the Package
and Deployment Wizard provided by Visual Studio Pro 6.0 (SP5) to
include subfolders and their contents. I understand how to include
each file, individually, but I would like to have the program install
them into their appropriate folders.

More Information: I have a small VB app (VB6 Pro, SP5 on Win NT4) for
which I would like to create a Standard Setup Package distributable on
a CD to PCs (Win98, NT, 2K, XP). Along with the .exe file, there are
two folders, one containing textfiles and the other containing icons.
If possible, using the Package and Deployment Wizard, I would like to
install the folders and their contents in tact in the same directory
as the executable.

C:\Program Files\My Program\MyPrg.exe
C:\Program Files\My Program\Folder_Icons (contains 5 files -
..ico,.jpg,.gif)
C:\Program Files\My Program\Folder_Textfiles (contains 132 .txt
files)

I did a search of comp.lang.visual.basic using the argument "package
and deployment, subfolders" and came up with two older threads. One
was rather vague and the other recommended editing the setup program
which I'm not quite comfortable with.

Cheers,

~Kris
Jul 17 '05 #1
1 4283

"Kris" <kp*****@yahoo.com> wrote in message
news:6b**************************@posting.google.c om...
Question: How do you create an Installer program using the Package
and Deployment Wizard provided by Visual Studio Pro 6.0 (SP5) to
include subfolders and their contents. I understand how to include
each file, individually, but I would like to have the program install
them into their appropriate folders.

C:\Program Files\My Program\MyPrg.exe
C:\Program Files\My Program\Folder_Icons (contains 5 files -
.ico,.jpg,.gif)
C:\Program Files\My Program\Folder_Textfiles (contains 132 .txt
files)


You will still need to add each file to the installation, at the point
in the Wizard that allows you to add files. Then, several steps later,
you will seen a list of all the files in the setup, with their source
and their destination. The files you have added will all have a
destination of $(AppPath). At this step, you can modify each
destination, so it reads $(AppPath)\Folder_Icons, or
$(AppPath)\Folder_Textfiles. (Even though it is a drop down list, you
can also type in the field). When the setup is run by the user, the
necessary folders will be created.

Jul 17 '05 #2

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

Similar topics

1
1824
by: Steve O'maley | last post by:
I currently have the Exception Management Application Block working in my base directory, but when I create pages in a subfolder the Exception Management Application Block is never executed. The...
7
6528
by: wmkew | last post by:
Hello everyone I'm encountering a R6002 Runtime error and several bugs when trying to generate a simple Managed C++ application with .NET 2003. The main problem seems to arise from linking with...
0
343
by: Pat Roy | last post by:
Hello... I've created a treeview that looks something like: Root .....Folder1 .........Subfolder1A .............File .............File .........Subfolder1B
3
1936
by: TK | last post by:
Excuse me for multiple posting because I've posted this message to aspnet.security NG but have not got any response yet. I'm building an ASP.NET application works in Forms Authentication mode...
1
1148
by: e | last post by:
It would be a long and bizzare post to explain how I found it, but, in a nutshell... I have a main app. I have 2 "wizard" forms which I always .ShowDialog so they're modal. Sometimes, Wizard...
0
1338
by: KjartanM-S | last post by:
Hi I've developed an application in VB.NET. I'm now trying to deploy it to another computer which has XP pro and .NET Framework 1.1 installed. I included a Setup & Deployment wizard project to...
9
1774
by: Ugur ASLAN | last post by:
Hello, I want to implement a class structure that can take a querystring and the value of querysting can be called as myClass.getQuery("test").value. I know that I can do it like...
0
5179
by: blkwebman | last post by:
I'm trying to create a "standalone" install package (without any of the dialog boxes that a standard setup package would have). I think I understand how to do it in VB6 (using PDCmdLn.exe); I have...
9
2734
by: OWeb | last post by:
Javascript and recursing subfolders assistance ------------------------- I have this script that is a free extra download from SlideShowPro. It's a great script but I feel it needs to be...
0
7041
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7043
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,...
0
7081
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...
1
6737
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6921
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5336
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,...
0
4481
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...
0
2995
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...
1
563
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.