Link to home
Start Free TrialLog in
Avatar of lankford
lankford

asked on

VB6: Setup crashes on a user's machine.

OK, so your user clicks setup.exe and the first thing it does is copy over the files that setup needs in order to run.  Next, every once in a while, the user gets a message indicating that they have some system files that are out of date and that setup needs to update them.  The user will, of course, have to reboot the machine after this operation completes and run setup again.

In my situation, however, after the user click "OK" to update his system files, the computer churns for a minute and just before it's done, he gets an illegal operation in module kernal32.

Has anybody seen this before?  Any ideas?
Avatar of rmichels
rmichels

Is this on any PC, or just a specific one?

Do you have the latest service pack for VB on your source pc?

There is a log generated by the package and deployment wizard, I forget the name, and location (WINNT maybe? on an NT box, Windows on a 98 box?).  It may at least clue you into what was happening last.
Avatar of Éric Moreau
Try to install the VB6 run-times before your application's setup.

You can find it at http://support.microsoft.com/support/VBasic/runtime.asp?LNG=ENG&SA=ALLKB
Avatar of lankford

ASKER

I've got the latest service pack.

Here are the contents of the log file:

(I don't see anything here that alerts me to anything)

 %% PLEASE DO NOT MODIFY OR DELETE THIS FILE! %%
 %% This file contains information about the installation of an application. %%
 %% It will be used to automatically remove all application components from your computer if you choose to do so. %%
 

NOTE: Beginning of the bootstrapper section
 
CONFIG: Title: "Parts Catalog"
 
ACTION: RegKey: "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion", "SharedDLLs"
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\MSVCRT40.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\OLEPRO32.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\VB6STKIT.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\COMCAT.DLL"
(File currently on disk was already up to date)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\STDOLE2.TLB"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\ASYCFILT.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\OLEAUT32.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\MSVBVM60.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\ltdlg11N.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\PATCHW32.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\OLE32.DLL"
(File currently on disk was already up to date)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\MFC40.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\lttwn11n.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\ltkrn11n.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\ltimg11n.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\ltfil11n.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\ltefx11n.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\LTDIS11n.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\lftif11n.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\lfpcx11n.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\lflmb11n.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\lffax11n.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\LFCMP11n.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\lfbmp11n.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\COMPPLUS.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\COMPPL32.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\LTTWN80N.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\LTKRN80N.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\LTIMG80N.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\Ltfil80N.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\LTEFX80N.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\LFTIF80N.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\LFFAX80N.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\LFCMP80n.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\ltdlg11n.ocx"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\ltocx11n.ocx"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\MSSTKPRP.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\MSCOMCTL.OCX"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\VB5DB.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\MSJTES40.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\MSJINT40.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\MSJTER40.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\MSREPL40.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\MSRD3X40.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\MSRD2X40.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\MSWDAT10.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\MSWSTR10.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\EXPSRV.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\VBAJET32.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\MSJET40.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\MSFLXGRD.OCX"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\tdbg5.ocx"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\COMDLG32.OCX"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\MSCOMCT2.OCX"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\COMCT332.OCX"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\RICHED32.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\RICHTX32.OCX"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\cpwctl32.ocx"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\MSINET.OCX"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\DBLIST32.OCX"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\SSCSDK32.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\u252000.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\u2lcom.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\u2l2000.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\u2fxls.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\u2fwordw.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\u2fwks.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\u2ftext.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\u2fsepv.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\u2frtf.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\u2frec.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\u2fodbc.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\u2fhtml.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\u2fcr.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\u2dapp.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\u2dvim.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\u2dpost.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\u2dnotes.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\u2dmapi.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\u2ddisk.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\p2soledb.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\p2ssyb10.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\p2ssql.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\p2sora7.dll"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\P2SODBC.DLL"
(File was not found or was an older version -- new file copied)
 
ACTION: SystemFile: "C:\WINDOWS\SYSTEM\P2SMON.DLL"
(File was not found or was an older version -- new file copied)
 
The VB6 run-times goes on user's computer (not on developer's). This help when we have problems deploying apps.
The user is trying to install the run time files as I type this.  I'll respond when I know something.
Installing the run time files on the user's machine didn't help either.

Any other ideas out there?

Do you have enough disk space on your C drive after your allotment of virtual memory?  Just a thought to check it becuase that is the kind of thing that can happen when you virtually memory usage approaches what is actually left on the drive.
ASKER CERTIFIED SOLUTION
Avatar of halapaya
halapaya

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
check the disk space first.
Well,

I'm not exactly sure which of the following dll's solved the problem, but it did go away after updating the user's system with these three files:

mfc40.dll
mfc42.dll
msvcrt.dll


I believe that mfc42.dll might have done it since the user's system has a *very* old version of that file.

Thanks for the answer . . .

Robert