Solved

about dependency

Posted on 2004-04-13
6
184 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 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
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…

734 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