Solved

Error during Install of VB4 application - Help?

Posted on 1997-08-04
2
303 Views
Last Modified: 2008-02-26
Please Help!!

      I created setup program using the Setup Wizard (I am using VB4).
      At the end of the install, during the "updating your system" phase,
      I receive an error registering the DLL and OCX files related to
      Crystal Reports.

      It works fine if I install on a system with Visual Basic already
installed,
      but not on a user's system (no VB installed).

      What should I do???
0
Comment
Question by:chasman
2 Comments
 

Author Comment

by:chasman
ID: 1429596
I put a new question (with more details) on 8/5.  It is titled
"Why am I  having this SETUP problem?"

See that question for more details.
0
 

Accepted Solution

by:
JHS earned 50 total points
ID: 1429597
I assume that you are not using the Crystal that shipped with VB, but an upgrade. Edit the SWDepend.ini file and make sure that the following entries are under the {CRYSTL16.OCX] heading:

UsesN=CRPE.DLL
UsesN=CRXLATE.DLL
UsesN=UXDDISK.DLL
UsesN=UXFDIF.DLL
UsesN=UXFREC.DLL
UsesN=UXFSEPV.DLL
UsesN=UXFTEXT.DLL
UsesN=PDBDAO.DLL
UsesN=PDCTDAO.DLL
UsesN=PDIRDAO.DLL
UsesN=PDSODBC.DLL
UsesN=PDBBND.DLL
UsesN=MFCOLEUI.DLL

where N is the next following number. From my experience only the last one is missing, but the ocx needs that file to register the file. Run the setup wizard again and make sure that all the above files are included.

Before running the setup program on the client machine, delete the Crystal OCX from the windows\system directory.

Hope this helps


0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
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…

773 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