Solved

about dependency

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
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.
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…

743 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

17 Experts available now in Live!

Get 1:1 Help Now