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.