Solved

VB6 Package and Deploy is missing files.

Posted on 2014-03-11
10
284 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 45

Expert Comment

by:Martin Liss
Comment Utility
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
Comment Utility
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 45

Expert Comment

by:Martin Liss
Comment Utility
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
Comment Utility
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 45

Expert Comment

by:Martin Liss
Comment Utility
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
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

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

Author Comment

by:rrhandle8
Comment Utility
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 45

Accepted Solution

by:
Martin Liss earned 500 total points
Comment Utility
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
Comment Utility
Martin, thanks!  It worked.  I should have read the instruction on that last screen shot.
0
 
LVL 45

Expert Comment

by:Martin Liss
Comment Utility
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

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…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

744 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

13 Experts available now in Live!

Get 1:1 Help Now