[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 511
  • Last Modified:

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?
0
lankford
Asked:
lankford
  • 4
  • 2
  • 2
  • +2
1 Solution
 
rmichelsCommented:
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.
0
 
Éric MoreauSenior .Net ConsultantCommented:
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
0
 
lankfordAuthor Commented:
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)
 
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
Éric MoreauSenior .Net ConsultantCommented:
The VB6 run-times goes on user's computer (not on developer's). This help when we have problems deploying apps.
0
 
lankfordAuthor Commented:
The user is trying to install the run time files as I type this.  I'll respond when I know something.
0
 
lankfordAuthor Commented:
Installing the run time files on the user's machine didn't help either.

Any other ideas out there?

0
 
jamestthomasCommented:
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.
0
 
halapayaCommented:
File dependacy problem. The thing is you have to find which file causes this dependacy problem. According to the file list.. mfc40, msvcrt.dll
and comcat.dll ole dlls might cause the problem..

if the kernel crashes.. most probably its with wrong versions of mfc dlls... why not checking the versions of all these system dlls in client machine[which gives the probelm] then get the latess from ur machine, find the dependacy viewer[which comes in Visual C++  utilities] and then try to find any additional dlls which u might have been missing.

Tehse installation problems u have to fiddle around alittle and fix.. if ur using vb setup wizard, these problems are normal...

as for teh ole updates, there is a sure-fire dll pack OLEUPD.EXE which will update all teh ole files.. rather than installing urs , it'll be easier to call this file from ur setup and then after it returns do urs tuff...
To install vb run time the file is
VBRUN60.EXE. all u can get from microsoft.

Also.. you haven't siad for which platform u get this problem.. sometimes ur program requries DCOM98 installed on the target machine[if it is not NT, cause with NT it already there.

For com updates get the file
40COMUPD.EXE and run. first try running these files manualy and then install ur setup without any system files to check wether it works.. if it work then include these files on ur setup and make it..

hope this will give u a kick :o)
0
 
jamestthomasCommented:
check the disk space first.
0
 
lankfordAuthor Commented:
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
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 4
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now