Solved

VB6 Package and Deploy is missing files.

Posted on 2014-03-11
10
288 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
  • 5
  • 5
10 Comments
 
LVL 46

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 46

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
 

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 46

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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 46

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 46

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

862 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now