|
-
May 16th, 2007, 02:37 PM
#1
Thread Starter
Member
Package and Deployment Query
Hello,
My VB project(project1.vbp) file is stored in a path -- E:/ABC/XYZ
I have a folder called 'photo' in the same path(E:/ABC/XYZ).
Within the project code i have used the following line of code.
Picture1.Picture = LoadPicture("../XYZ/photo/p1.jpg")
Similarly I have about 100 images in the 'photo' folder which are displayed using the same code like above.
Similarly there is the MS Access file - data.mdb which is stored in the same path(E:/ABC/XYZ)
The code used in the module is:
.ConnectionString = "data source= ..\XYZ\data.mdb;"
When I rund the Package and Deployment Wizard (PDW), how is it that i need to add these files? How will all the image get added into the setup, what about the access database?
I am not able to add any of these.
Please help me as to how I need to add these files when I create a setup for my project
Thanks
Ricky
-
May 17th, 2007, 12:29 AM
#2
Re: Package and Deployment Query
I believe in PDW you have to add each of the files one at a time. For PDW it would be better to create a self extracting zip exe for the folder and execute it in the installation.
-
Jun 1st, 2007, 03:47 AM
#3
New Member
Re: Package and Deployment Query
 Originally Posted by vinsanity
Hello,
My VB project(project1.vbp) file is stored in a path -- E:/ABC/XYZ
I have a folder called 'photo' in the same path(E:/ABC/XYZ).
Within the project code i have used the following line of code.
Picture1.Picture = LoadPicture("../XYZ/photo/p1.jpg")
Similarly I have about 100 images in the 'photo' folder which are displayed using the same code like above.
Similarly there is the MS Access file - data.mdb which is stored in the same path(E:/ABC/XYZ)
The code used in the module is:
.ConnectionString = "data source= ..\XYZ\data.mdb;"
When I rund the Package and Deployment Wizard (PDW), how is it that i need to add these files? How will all the image get added into the setup, what about the access database?
I am not able to add any of these.
Please help me as to how I need to add these files when I create a setup for my project
Thanks
Ricky
u can use app.path it will work it wont ask any other think in package deploy
swaminath
-
Jun 1st, 2007, 11:55 AM
#4
Re: Package and Deployment Query
Using PDW I believe that you need to include each file separately. You will need to select each individual file to include it in your setup. That is one of the problems with PDW. Check the FAQ's to find other installation packages to try.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|