473,791 Members | 2,807 Online
Bytes | Software Development & Data Engineering Community
+ 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.e xe
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.visua l.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 4297

"Kris" <kp*****@yahoo. com> wrote in message
news:6b******** *************** ***@posting.goo gle.com...
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.e xe
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)\Fold er_Icons, or
$(AppPath)\Fold er_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
1856
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 error is just displayed back to me like it normaly would be w/out the Exception Management Application Block was never implemented Do I need to include a web.config file in the subfolder also If so what all do I need to include in the web.config...
7
6553
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 LIBCMT(D).DLL. (My requirement is that we can't link with MSVCRT(D).LIB.) Below are steps I've followed, and the resulting problems 1. Using the New Project wizard, generate a Visual C++ .NET Class Library project (call it "Doomed") and a VC++...
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
1950
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 with custom user account database. And it shows clients a list of hyperlinks to content pages located in some separated subfolders. This application and content pages are entirely secured, so everyone must logon to the application. The application...
1
1164
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 B needs to be called from Wizard A. This is the only time any wizard can call the other. This creates a situation where I have Wizard A being shown as dialog over the main app, and Wizard B is being shown as dialog over Wizard A.
0
1364
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 my existing solution. I followed the wizard and built the solution (release). When i try to install the program using the msi file the program installs fine but crashes when i try to run it with the following message:
9
1786
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 myClass.getQuery("test") and get the value of "test" querystring. But actually, this is an example only. In order to my class library organized I need a structure like this. I search internet and documents for ASP and Vbscript, as far as I found is that in...
0
5205
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 already researched this subject in the MSDN for VB6. Here is the problem: I'm trying to execute a batch file containing this command and I'm running into a couple of errors. Here is the contents of the batch file: ...
9
2767
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 tweaked a bit and need some assistance. The script is not mine, it is actually: Copyright 2007 (c) Dominey Design Inc. All Rights Reserved. (I don't want anybody thinking I'm taking credit for the script.) Here's what it does and what it should do...
0
9669
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9515
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10207
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
9029
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...
0
6776
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
5430
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
5558
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4109
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3713
muto222
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.