?
Solved

VB6 Package and Deploy is missing files.

Posted on 2014-03-11
10
Medium Priority
?
306 Views
Last Modified: 2014-03-15
I was given an Oracle Virtual Box running Windows XP with a VB6 charting program.  When I try to pack and deploy it, the install runs without errors on my Windows 7 machine, but when I try to run the program after it has been installed, I get a "file not found" error.  How to I find out which file is not found, and what do I need to do to fix the error?
0
Comment
Question by:rrhandle8
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
10 Comments
 
LVL 49

Expert Comment

by:Martin Liss
ID: 39921494
It's been a long time since I deployed anything but I believe that there's a step in the P&D Wizard process that shows you missing files and gives you the chance to manually add them.
0
 

Author Comment

by:rrhandle8
ID: 39921687
I noticed there are some log files that should go with the install, but they are not there.  How do I get the P&D Wizard to include those files?
0
 
LVL 49

Expert Comment

by:Martin Liss
ID: 39921747
Start the P&D Wizard and choose the "Package" button. Then continue responding to the prompts and/or pressing "Next" until you get to this screen.
picThen click the "Add" button.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:rrhandle8
ID: 39930810
I got the program to instal, but it will not run.  There is some sample data that is suppose to load when you the program, but it does not do this on the machine I installed it on.  I have tried one install after another with slightly different setting, but nothing is working.  Let me explain the layout of things, and maybe someone can put me on the right path.
The VB project is in a folder named "TS_7".  Inside this folder is another folder name Portfolio.  In side the Portfolio folder are some files that make up the Portfolio.  I added the Portfolio folder to a folder named "Package" in which I put all the other files needed.  But, after doing the install, there is no Portfolio folder, and when I manaully copy the Portfolio folder into the "TS_7" folder, it works.

BTW: the error I get is
0
 
LVL 49

Expert Comment

by:Martin Liss
ID: 39930912
The P&D Wizard was written before Windows 7 was a glimmer in Bill Gates' eye so it has problems with it, but read this article. It may help.
0
 

Author Comment

by:rrhandle8
ID: 39930950
Actually, these problems are happening when I try to install to Windows XP.
0
 

Author Comment

by:rrhandle8
ID: 39930959
I think I have this boiled down to one issue: there is a folder that needs to be installed in the same directory as the application.  I have tried multiple different ways to get this to work but it is not.  The install package looks like the image.  It is the Portfolio Folder I can not get to install.


Portfolio Folder
0
 
LVL 49

Accepted Solution

by:
Martin Liss earned 2000 total points
ID: 39931446
Here is what you do. I assume you have already done step1 but I'll mention it anyhow just in case.

Step 1.
In the Include Files window
Include Files BeforeAdd the extra files you need as I did here with Test.txt after clicking the 'Add' button
Include Files After
Step 2.
Continue the process until you get to the 'Install Locations' window
Install Locations BeforeIn that window you can manually type in the name of the subfolder as I did here where I added a subfolder called 'My New Folder'
Install Locations After
0
 

Author Closing Comment

by:rrhandle8
ID: 39931522
Martin, thanks!  It worked.  I should have read the instruction on that last screen shot.
0
 
LVL 49

Expert Comment

by:Martin Liss
ID: 39931524
You're welcome and I'm glad I was able to help.

In my profile you'll find links to some articles I've written that may interest you.
Marty - MVP 2009 to 2013
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question