Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

about dependency

Posted on 2004-04-13
6
Medium Priority
?
189 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
[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
  • 2
6 Comments
 
LVL 5

Accepted Solution

by:
nickaskew earned 80 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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 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…
Suggested Courses

721 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