?
Solved

Problem in Manually Deployment CR XI within Visual Basic 6 program

Posted on 2007-12-06
4
Medium Priority
?
349 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
[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
  • 2
4 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 20432551
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
ID: 20442666
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 101

Accepted Solution

by:
mlmcc earned 1500 total points
ID: 20454748
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
ID: 20543496
I found that I have to use merge modules anyway thanks a lot for your help
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
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…
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…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

718 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