Link to home
Create AccountLog in
Avatar of Vingamel
Vingamel

asked on

Corrupted dll's when user runs setup program

I used the package & deployment wizard to create a setup program, and when user ran it, he got error messages.  Other users have not experienced this problem.  What have I done wrong?  Below is the email he sent me:

 Well, here's your first report of troubles!  I downloaded the file a day or
two ago and finally got around to installing it.  Didn't go so well, to say
the least.  After running the install as per your instructions, I encountered
a couple of error messages, something along the lines of "Your OLEAUT32.DLL
file appears to be corrupted.  Reinstall the file and restart the computer".
The other error message said that my OLEPRO32.DLL file appeared to be
corrupted and that I needed to reinstall that file as well.
 
 Imagine my surprise when I found out that, to install those files, I needed
to re-install Windows 98!!!!  Only thing I can say about that is you best be
REAL glad that I tried this when Lori was asleep and that I was just
finishing the reinstall when she got up!  Oh, she would have been PISSED if
you had broken the computer!
 
 Anyway, there's my first report on the ALPHA test!  Hope the others had
better luck than I did!
 
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Avatar of mcrider
mcrider

There is a different oleauto32.dll that comes with each version of Internet Explorer... Mixing the different versions will cause problems... What version of IE do you have installed?  What version did your customer have installed.

Also, there is an unknown bug with this file and NT.

See the following microsoft KB article:

Err Msg: STOP C0000221 - Bad Image Checksum in Oleaut32.dll
http://support.microsoft.com/support/kb/articles/Q245/1/88.ASP 



Cheers!®©
Avatar of Vingamel

ASKER

So if I just didn't add these two dll files to my package, do you think it will work okay for my users?  My application does not deal with the internet in any way.  I did package it on a Windows NT machine...would packaging it on a Windows 95 machine be a safer bet?
«So if I just didn't add these two dll files to my package, do you think it will work okay for my users?  My application does not deal with the internet in any way.»

These files are not related to Internet. You should always deploy them to not create problem elsewhere. If VB uses a function that is present in the file on your PC but not in the file of the user (in case the one that the user have is older) it will crashes.

«I did package it on a Windows NT machine...would packaging it on a Windows 95 machine be a safer bet?»

No differences in my experiments!
Adjusted points to 100
The info at the following site seems to be what this user is experiencing:
http://support.microsoft.com/support/kb/articles/Q193/0/34.ASP?LNG=ENG&SA=ALLKB&FR=0
So you are saying that I should install vbrun60sp3.exe on my machine before I run the PDW?  I want to find out what I have to do to fix this problem rather than making the user have to go through hairy procedures on his end.  

 No, it is not specifically an "internet file", it is the OLE automation module for the system. However, there are differen versions of OLEAUT32.DLL that come with the different versions of IE.  If you mix the versions you WILL cause yourself problems.

Here is a list of IE versions and the version of OLEAUTO32.DLL that comes with it:

IE 3.00  -  Oleaut32 dll       473,872  08-16-96  1:44p
IE 3.02  -  Oleaut32 dll       491,792  06-09-97 11:51a
IE 4.00  -  Oleaut32 dll       490,256 9/18/97    11:28a
IE 4.01  -  Oleaut32 dll       490,256  03-16-99 11:43A
IE 5.00  -  Oleaut32 dll       598,288  02-04-99  9:08a

As for packaging your application, I would use whatever system is the most common for your users...


Cheers!®©
«So you are saying that I should install vbrun60sp3.exe on my machine before I run the PDW»

Not on your PC. On the user's PC. Ask the user to download this file and then re-start the setup.

Have you installed SP3 on your PC?
Thanks for the comments:  I guess I am still at a loss at what I should do to fix this problem (see my last comment).
Okay, emoreau, I will let the user know to install the vbrun60sp3.exe.  Should I always include vbrun60sp3.exe with my package?
«Should I always include vbrun60sp3.exe with my package?»

No. I consider this file the same as DCOM98.EXE. I always keep it by hand in case of troubles!!!
Okay, emoreau, I will let the user know to install the vbrun60sp3.exe.  Should I always include vbrun60sp3.exe with my package?
I was never able to find out of any of the suggestions worked because the user never got back with me.  
emoreau, I still value your help, so just answer the question and I will give it to you.  Thanks!
--Vingamel
I asked emoreau to answer this question so I could award it to him, but he never responded.  Deleting question.
This question has a deletion request Pending
This question no longer is pending deletion
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Thanks, emoreau