Improve company productivity with a Business Account.Sign Up

x
?
Solved

about dependency

Posted on 2004-04-13
6
Medium Priority
?
200 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
3 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

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

606 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