VB 6 - Crystal Reports - VIsta

Started by harold_adams, June 23, 2008, 08:11:25 AM

Previous topic - Next topic

sacramento

Yes...Post in the wrong thread...
Ok..

Randem

I believe you posted in the wrong thread. No don't change your version to english there is no need.

sacramento

This in fact is a good exercise to find this problem,and it was nice if you could resolve this problem,but if not I can change my Windows version to English,and see what happen!
What you think about this?


harold_adams

Ralph
I noticed you put up a newer version of VB_DCOM_MDAC_JET_AutoSetup.exe. Does it include VB5DB.DLL?

Randem

There should not be an attempt to register the file. There was no attempt to register it in the line of code I supplied. Lets see that script.
 
Also what is your installation location?

harold_adams

Ralph, here is the fail when installing the program
C:/Windows/Sys32/VB5DL.dll unable to register /OCX:regsvr32 failed with exit code 0X4.
 
it happens close to the end of install. Clilck Ignore and the program completes installilng.

Randem

Please be more descriptive about what happened and what errors were reported for me to be of any help in the situation.
 
What complained?
Which part of the installation?
What were the error messages?
 
This will be a problem if installing in the wrong folders etc...

harold_adams

Ralph
I installed the program on VISTA.  Lots of complaints and bitching from the Operating System while installing.  A regular user will have a very hard time understanding what is going on.  Had to click the ignor button a couple times and the first time the data bank was opened, VISTI gave out warnings that will scare off many users. However the program works just fine if you get through all that.

Randem

Ok, I see the problem. When you use the Auto OS Updater the VB runtime files get removed and not installed on Vista. Until I change that in the OS updater just add the line in the Vista template for the vb5db.dll file under the [Files] section (you will need to create this). That should solve the problem. Add the line (with source location modification)
 
Source: c:server datarandemdevelopinnoscriptvb 6 redist filesvb5db.dll; DestDir: {sys}; Flags: uninsneveruninstall restartreplace sharedfile;
 

Randem

That file is automatically added by InnoScript unless you change a default setting for the runtime files. Let's see your script and project file. Here is the default lines that InnoScript adds:
 
Source: c:\server data\randem\develop\innoscript\vb 6 redist files\msvbvm60.dll; DestDir: {sys}; Flags:  uninsneveruninstall regserver restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:\server data\randem\develop\innoscript\vb 6 redist files\oleaut32.dll; DestDir: {sys}; Flags:  uninsneveruninstall restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:\server data\randem\develop\innoscript\vb 6 redist files\olepro32.dll; DestDir: {sys}; Flags:  uninsneveruninstall regserver restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:\server data\randem\develop\innoscript\vb 6 redist files\asycfilt.dll; DestDir: {sys}; Flags:  uninsneveruninstall restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:\server data\randem\develop\innoscript\vb 6 redist files\stdole2.tlb; DestDir: {sys}; Flags:  uninsneveruninstall restartreplace sharedfile regtypelib; OnlyBelowVersion: 0,6
Source: c:\server data\randem\develop\innoscript\vb 6 redist files\comcat.dll; DestDir: {sys}; Flags:  uninsneveruninstall restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:\server data\randem\develop\innoscript\vb 6 redist files\vb5db.dll; DestDir: {sys}; Flags:  uninsneveruninstall restartreplace sharedfile; OnlyBelowVersion: 0,6

harold_adams

Ralph, you are correct, as always.
I copied vb5db.dll to the System32 directory, and registerd it.  The program works just fine on VISTA and XP.  Now I would like to include it with the Innoscrip Setup.  I placed it in the Add Files but Innoscript will not accept it.

Randem

The name of the file is vb5db.dll

harold_adams

Ok, Thanks I will tomorrow and I will provide the File name.

Randem

Harold,
 
Make sure the file vb5.dll (something to that effect) is included in your script. This not being there would most likely would be causing the failure in bound controls.
 
I don't have my computer so I can't get the exact file name.
 
post your script.