Solved

Problem in Manually Deployment CR XI within Visual Basic 6 program

Posted on 2007-12-06
4
346 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
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 100

Accepted Solution

by:
mlmcc earned 500 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to install software on a provisioned vagrant image 3 82
Crystal Reports 13 5 72
Crystal Reports Version 7 4 33
Crystal Reports 7 VB6  'Feature Not Enabled' Error 10 28
One of the major drawbacks of deploying applications by GPO is the complete lack of any centralized reporting. After a normal deployment, there are two ways to find out if it was successful – by looking in the event log, and by looking in the log of…
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
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 video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

830 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