Solved

about dependency

Posted on 2004-04-13
6
181 Views
Last Modified: 2013-11-22
i am working with a vb6.0 data project.when i make package with Package and deployment Wizard,during the process,there is a window come out for me to select dependency or no dependency(general idea is so),then the package is made.but now,when i install the package,there is error. is this because of the dependency? i want to change the depency ,but when i try to make the package one more time,the window no longer come out. what is the problem?dependency can only  be selected for one time?  how to handle it ? thanks!
0
Comment
Question by:fluuuuu
  • 2
6 Comments
 
LVL 5

Accepted Solution

by:
nickaskew earned 20 total points
ID: 10812010
Hi Fluuuuu,

Within your VB6 project folder, delete any file with a .DEP extension - this is the file P&D creates under certain circumstances regarding dependancy information for your application build.

On another note, i would urge you to use a different application packager as the MS one is notoriously inadequate, my recommendation for a FREE one would be: QSetup by Pantaray (http://www.pantaray.com/) - It is very easy to use once you have built your first, it provides oodles of run time configurable options and actually makes your software installation look professional (compared to MS's Package & Deployment Wizard...)


Best Regards

Nick
0
 

Author Comment

by:fluuuuu
ID: 10819296
Hi Nick,
thank you very much! i d/l the Qsetup already,but how to use it ? media file is the .exe file made by VB? why the setup i created with Qsetup doesnot install anything?
0
 
LVL 5

Expert Comment

by:nickaskew
ID: 10823048
Hi Fluuuu,

Under the FILES option, make sure you select the .EXE you have created.

Also make use of the PREVIEW facility - this runs your installation without installing any files, it demonstrates exactly what the end-user would see.

After you have clicked the COMPILE button, look at the bottom of the QSetup window, it will say something like:
"Compiled:   C:\VB_CODE\YourAppDevFolder\Setup.EXE"
The application identified above is the installer that has been created for you, you would distribute that file (C:\VB_CODE\YourAppDevFolder\Setup.EXE)


If you meant to say that QSetup did not install any components with your installation, then make sure you include them - you include them from the FILES option just like your .EXE.  You can specify that the components should be automatically registered for you upon installation, you can specify that components should be shared etc.

QSetup makes a very clean installation for you - make sure you are aware of which components you have used during your VB development, use NOTEPAD to open up your .FRM files, at the top of each .FRM (form) file you will see the list of components utilised on the form.

Regards

Nick
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

770 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