Unable to load DLL: VER.DLL 
Author Message
 Unable to load DLL: VER.DLL

When are users are installing our software on their systems, some of them get
the error message, 'Unable to load DLL: VER.DLL', and some of them don't.  Why
is this?  We had reports of VER.DLL files being 6k on one machine and 9k on
another.  Doesn't the setup.exe program automatically copy the ver.dll from the
install diskettes?  We have the latest version of the setupkit files, and I
bypassed the setup wizard and did everything myself.  By the way, what does
SETUP.EXE do anyways, does it just bring down the files that are listed in
SETUP.LST?  Is there source code for SETUP.EXE out there somewhere.  Thanks for
the help!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Consultant - Windows Development & Design
Origin Technology in Business                   Phone:  (708) 318-9800
Rosemont, Illinois                              Fax:    (708) 318-9808
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Sun, 14 Sep 1997 03:00:00 GMT  
 Unable to load DLL: VER.DLL

Quote:

>When are users are installing our software on their systems, some of them get
>the error message, 'Unable to load DLL: VER.DLL', and some of them don't.  Why
>is this?  We had reports of VER.DLL files being 6k on one machine and 9k on
>another.  Doesn't the setup.exe program automatically copy the ver.dll from the
>install diskettes?  We have the latest version of the setupkit files, and I
>bypassed the setup wizard and did everything myself.  By the way, what does
>SETUP.EXE do anyways, does it just bring down the files that are listed in
>SETUP.LST?  Is there source code for SETUP.EXE out there somewhere.  Thanks for
>the help!

So you found this "feature" in microsoft's setup.exe bootstrap.. Microsoft should know about
this problem since I told them along with many other programmers I'm sure.

SETUP.EXE needs VER.DLL to determine if it needs to copy a more recent version of VER.DLL to
the windows system directory. SETUP.EXE insists that a compressed copy of VER.DL_ reside on
your setup disk. This is hard coded in the bootstrap. Chicken & the egg <g>

I'll bet you dollars to donuts, if you look at the VER.DLL that is currently under your
windows system directory your find that this file contains around 6000 bytes instead of 9008
bytes. This problem happens when SETUP.EXE can't find VER.DLL in the windows system
directory, it issues CANT LOAD VER.DLL message and then terminates, well not quite - you
think it has BUT what is does is to copy VER.DL_ from the setup disk to the system directory
as VER.DLL without uncompressing it<this is the BUG>! Make certain that VER.DL_ is NOT in the
SETUP.LST file or loaded by your SETUP1.EXE program!

At this point your totally HOSED. Whatever calls VER.DLL from this point foward is going to
have a problem....Sooo, how do you fix the problem:

1. Insert windows setup diskette #2 in drive a:
2. BRING DOWN WINDOWS - this is VERY important!
3. a:
4. expand ver.dl_ c:\windows\system\ver.dll <Press the enter key>
5. Bring up windows, bring up the FileManager, if there's still a problem with VER.DLL you'll
get an error message. File manager uses VER.DLL

It's very important that the VER.DLL match the version of windows that's on your system. For
example, if you try to use Windows 31 VER.DLL on under Windows 311 you'll get some screwy
results. Just make certain that you're using the setup disk#2 from the orig windows
install...

I don't know if MS has a fix to this bug in SETUP.EXE, if anyone does I would appreciate
knowing where I can obtain it. I hope this helps...

                        Regards, Cliff



Mon, 15 Sep 1997 03:00:00 GMT  
 Unable to load DLL: VER.DLL

Quote:

>When are users are installing our software on their systems, some of
>them get the error message, 'Unable to load DLL: VER.DLL', and some of
>them don't.  Why is this?  We had reports of VER.DLL files being 6k on
>one machine and 9k on another.  Doesn't the setup.exe program
>automatically copy the ver.dll from the install diskettes?  We have the
>latest version of the setupkit files, and I bypassed the setup wizard
>and did everything myself.  By the way, what does SETUP.EXE do anyways,
>does it just bring down the files that are listed in SETUP.LST?  Is
>there source code for SETUP.EXE out there somewhere.  Thanks for the
>help!

        When you create your install diskettes, you want to COPY ver.dll
on your machine to ver.dl_ on the diskette.  I got this from MS Tech
Support.  This will not fix the problem of it not loading the new
ver.dll from the install disk because there's already one running on the
machine doing the install, but that one's pretty much impossible to get
around when you're inside Windows.  Microsoft knows all about this, they
just don't care very much.  When I started writing installation
programs, I spent several hours on the phone with Tech Support trying to
get answers to these problems.

        I'm not sure there's any source around for SETUP.EXE.  As far as
I can tell, it decompresses and copies the files that are in SETUP.LST
from the floppy to your Windows directory (or maybe Windows/System.
Since I run Windows off a LAN, I have a private directory that is
effectively mapped to both of those for install purposes, so it's hard
for me to keep track.)  Then it runs the first file given in SETUP.LST
(by default, SETUP1.EXE).
--
Adina Adler            

My opinions, and        
nothing but            



Tue, 16 Sep 1997 03:00:00 GMT  
 Unable to load DLL: VER.DLL

Quote:

> When are users are installing our software on their systems, some of them get
> the error message, 'Unable to load DLL: VER.DLL', and some of them don't.  Why
> is this?  We had reports of VER.DLL files being 6k on one machine and 9k on
> another.  Doesn't the setup.exe program automatically copy the ver.dll from the
> install diskettes?  We have the latest version of the setupkit files, and I
> bypassed the setup wizard and did everything myself.  By the way, what does
> SETUP.EXE do anyways, does it just bring down the files that are listed in
> SETUP.LST?  Is there source code for SETUP.EXE out there somewhere.  Thanks for
> the help!

There is an update SETUPK.EXE available from ftp.microsoft.com.
It claims to have fixed this bug, along with several others.

Peter Mikalajunas

http://www.xnet.com/~kd9fb



Wed, 17 Sep 1997 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Calling external DLL gets error 48, unable to load DLL

2. VB3.0 Setup: Cannot Load VER.DLL

3. Unable to load file C:\BlahBlahBla.\System\OLE DB\msdaps.dll to Register it (or msado15.dll if ver 2.5 of ADO) .

4. MAPI unable load information service PSTPRX.DLL

5. Unable to load file MSDADC/DLL...

6. Unable to load a C++ dll into my Visual Basic client

7. Unable to load MSDADC.DLL during setup

8. Unable to Load DLL?

9. VB3 pro - Unable to load DLL???

10. Unable to access DLL outside of Form load event

11. HELP: Error 48 Unable to load dll

12. "Unable to load development environment DLL".

 

 
Powered by phpBB® Forum Software