Solved

Error starting program (trying to install Deus Ex)

Posted on 2001-08-03
7
164 Views
Last Modified: 2013-12-29
When I try to run the setup program for Deus Ex I get the following message:

ERROR STARTING PROGRAM
The SETUP.EXE file is linked to missing export KERNEL32.DLL:GetDiskFreeSpaceExA

I am running a P2 300MHz with 64MB ram, Soundblaster 32 AWE, Voodoo3 2000 AGP.

Many thanks to any one who can help
0
Comment
Question by:magpie2000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 

Expert Comment

by:protechter
ID: 6350354
Here are a couple things to check before installing your game.
How much free space do you have on the drive you are installing to....and how much space will your game take?

Do a scandisk to check for any errors that you may have on your harddrive.

Make sure to close down all the background programs before running the install.

Delete all of the files from your c:\windows\temp folder.

Just a few suggestions.
Also, what OS are you running?
0
 

Author Comment

by:magpie2000
ID: 6350409
I'm using win95. I've got 3 drives with space on
 c: 30mb free  d: 320mb free  e: 370mb free
the game takes 150mb on its minimum setting, and I will be installing it on d:, but I don't even get that far- I get the error message as soon as I double-click on SETUP.EXE
0
 
LVL 10

Expert Comment

by:tonnybrandt
ID: 6350468
This error has nothing to do with how much diskspace you have. Setup simply assumes that a function is present in kernel32.dll, and it is not there. It could be because the game is simply not designed for windows 95, but only for windows 98 and up. Check the requirements on the game. Also it could be because you have installed some game or application which has replaced kernel32.dll with it's own version and they didn't include that specific function.

If the game requirements says that it should be able to run on windows 95, you should use EXTRACT to replace your copy of kernel32.exe with the original one from the windows 95 CD.
0
Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

 
LVL 10

Accepted Solution

by:
tonnybrandt earned 200 total points
ID: 6350505
I have researched a bit further and it seems your windows 95 is simply too old, meaning it is one of the early versions and this brings up this errormessage. You must upgrade your windows to at least windows 95 osr2 also called 95b. The following link was not the only URL i found describing this problem.
http://www.cygwin.com/ml/cygwin/1997-08/msg00380.html

There are tons of it on the internet. Just try this:
Go to www.google.com and search for
missing export KERNEL32.DLL:GetDiskFreeSpaceExA

You'll see.

Regards
Tonny
0
 
LVL 44

Expert Comment

by:CrazyOne
ID: 6350998
concur with Tony

This is from the Windows developer guide.

Remarks

Windows 95:

The GetDiskFreeSpace function returns incorrect values for volumes that are larger than 2 gigabytes. The function caps the values stored into *
lpNumberOfFreeClusters and *lpTotalNumberOfClusters so as to never report volume sizes that are greater than 2 gigabytes.
Even on volumes that are smaller than 2 gigabytes, the values stored into *lpSectorsPerCluster, *lpNumberOfFreeClusters, and *lpTotalNumberOfClusters values may be incorrect. That is because the operating system manipulates the values so that computations with them yield the correct volume size.

Windows 95 OSR 2: The GetDiskFreeSpaceEx function is available on Windows 95 systems beginning with OEM Service Release 2 (OSR 2). The GetDiskFreeSpaceEx function returns correct values for all volumes, including those that are greater than 2 gigabytes.  


The Crazy One
0
 

Author Comment

by:magpie2000
ID: 6361207
Thanks for your help- checked out a few sites + found there is no easy way to upgrade from win95a to win95b, so I finally bit the bullet + installed win98

Everything running ok now- funnily enough EIDOS's patch for Deus Ex, according to the readme file, eliminates this error on systems running win95a- I guess they didn't think about how you are supposed to add the patch to a program that you can't install!!

Thanks again,
Magpie2000
0
 
LVL 10

Expert Comment

by:tonnybrandt
ID: 6361621
You're right, that's a good one. :-(

Glad you got it working.

Regards
Tonny
0

Featured Post

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question