|
-
Jul 16th, 2007, 07:58 PM
#1
Thread Starter
Member
Crystal Reports 4 deployment
Apologies if anyone has read this on XtremeVBTalk, I'm not getting any bites there.
I know Crystal 4 is completely out of date, but it still suits my purposes, reporting from a VB6 Access front-end for a small remote community health clinic. I can't justify buying the latest developer CR version.
I'm trying to put together a single setup for all runtime files required by several such db front-ends I've developed for work (see http://www.xtremevbtalk.com/showthread.php?p=1239579).
Using ********** (thanks Randem), and Flyguy's advice, I've managed to get everything working on a new machine apart from the CR4 dependencies. During the install, an error appears saying:
"C:\windows\system32\crystl32.ocx"
"Unable to register the DLL/OCX: RegSvr32 failed with exit code 0x3"
From what I can gather, this means 'unable to find path' (to crystl32.ocx). But I checked, and the file is in the sys directory.
The relevant part of the inno script is as follows:
[Files]
Source: c:\vbdeps\vb_dcom_mdac_jet_autosetup.exe; DestDir: {tmp}; Flags: deleteafterinstall ignoreversion nocompression;
Source: "c:\vbdeps\comdlg32.ocx"; DestDir: "{sys}"; Flags: restartreplace sharedfile regserver
Source: "c:\vbdeps\crystl32.ocx"; DestDir: "{sys}"; Flags: restartreplace sharedfile regserver
Source: "c:\vbdeps\mscomct2.ocx"; DestDir: "{sys}"; Flags: restartreplace sharedfile regserver
Source: "c:\vbdeps\tabctl32.ocx"; DestDir: "{sys}"; Flags: restartreplace sharedfile regserver
Does anyone if crystl32.ocx requires other dependencies before it can load properly on a clean machine? Possibilities include crpe32.dll, co2c40en.dll, msvcrt20.dll and u2ddisk.dll, u2dmapi.dll, u2fcr.dll, u2fdif.dll, u2fhtml.dll, u2frec.dll, u2frtf.dll, u2fsepv.dll, u2ftext.dll, u2fwks.dll, u2fwordw.dll, u2fxls.dll. Although I've tried running an Inno script, loading all these files as well, and crystl32.ocx still will not register
Or is there some other reason the crystl32.ocx won't register? I've tried registering it manually after the install (regsvr32 "c:\windows\system32\crystl32.ocx"), an error appears saying "LoadLibrary("c:\windows\system32\crystl32.ocx") failed - The specified module could not be found." But again, the file is in the sys directory.
My own machine and the work machines are all XP SP2. Any help much appreciated, Peter
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|