Solved

VB6 Package and Deploy is missing files.

Posted on 2014-03-11
10
298 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 48

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 48

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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 

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 48

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 48

Accepted Solution

by:
Martin Liss earned 500 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 48

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

Technology Partners: 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!

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

696 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