Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / General 2 / December 2003



Tip: Looking for answers? Try searching our database.

P&D wizard:  subfolders, include, how?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kris - 30 Dec 2003 20:54 GMT
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
Steve Gerrard - 30 Dec 2003 23:26 GMT
> Question:  How do you create an Installer program using the Package
> and Deployment Wizard provided by Visual Studio Pro 6.0 (SP5) to
[quoted text clipped - 7 lines]
> 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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.