Solved

Problem in Manually Deployment CR XI within Visual Basic 6 program

Posted on 2007-12-06
4
343 Views
Last Modified: 2013-11-18
Hello, I have a problem as is described below.
We have written a program in visual basic 6. right now we have decided to add some reports by using crystal reports XI. we only use Crystal Report's ActiveX(also we have some charts) within our program and we do report design inside visual basic 6.
I have a virtual hard drive(Microsoft virtual PC) with a clean setup of microsoft windows XP into it. I use this Virtual PC to test resulted setup file to see wether my program works probably in client machine or not.
I did creat a setup file using install shield and added corresponding Merge modules to it and after installing resulted setup  program worked perfect without any error.
However,  for some reasons we DO need to install and register corresponding DLLs, dependecies and Registery keys manually.
In the very first moment, I tried to copy and register couple of files manually like (crviewer.dll,Craxddrt.dll,crpe32.dll,olepro32.dll,Crtdll.dll,u2*.dll, and ...) and also I added "KeyCode" registery key (with the value equal to my license key) manually. But when I tried run the program I got following error "Run-time error '713': Application-defined or object-defined error"
As a result, I tried to add more files to  manually registering list.
Finally, I did my best to solve this problem. Being bored of searching dependecies for each DLL I decided to Add All of DLLs that I think they are related to  Crystal Reports. So I manually copy and registered  all of the files within the following sub directories:

C:\Program Files\Common Files\Business Objects\3.0\bin
C:\Program Files\Common Files\Business Objects\3.0\crystalreportviewers11\ActiveXControls
Plus all of extra DLL files in my C:\Windows\System32 folder which where added after I installed Merge Modules.
Also I extracted "HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects" Registery Section and Imported it into virtual PC and Made corresponding path Corrections manually.

I did all of these, So guess what was the result? I got that error again.
Right now, I dont have a clue about what I have to do.
Is there any way to find out all of required DLLs and Dependecies and Registery keys for My Program? I mean is there any scripts or lists so I can Do all of them manually in my program?
If you give me any suggestions about this problem I would appreciate you.

Best Regards,
Aidin


0
Comment
Question by:DeskManager
  • 2
  • 2
4 Comments
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
Have you tried using the merge modules when you build the installation package.   They are supposed to make building the install package easier and eliminate the guesswork of which Crystal dlls to include.

mlmcc
0
 

Author Comment

by:DeskManager
Comment Utility
Thanks for consideration. I am familiar with merge modules and as I mentioned in the question I can do a seccessful setup with merge modules.
However, we want to do whole process Manually, without using the install or setup. My question is that if there is a way to know what happens during installation of merge modules, I mean:
1- what files would be copied and where?
2- what files would be registered?
3- what registery keys would be created and with what values?
Waiting to hear from you,
Best Regards,
AutoManager
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
Comment Utility
Crystal has hidden much of that information from us in the merge modules.  One of the biggest problems with Crystal was what modules and dlls to include and how to install them.  The merge modules was Crystal's answer to all the cries for help.

mlmcc
0
 

Author Comment

by:DeskManager
Comment Utility
I found that I have to use merge modules anyway thanks a lot for your help
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Before we dive into the marketing strategies involved with creating an effective homepage, it’s crucial that EE members know what a homepage is. In essence, a homepage is the introductory, or default page, of a website that typically highlights the …
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

772 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

10 Experts available now in Live!

Get 1:1 Help Now