Solved

Application Setup Wizard fails to detect Disk Space Free

Posted on 1997-03-12
9
247 Views
Last Modified: 2012-08-14
After using the Application Setup Wizard to create the distribution diskettes, the setup.exe keeps complaining that the disk space free on the hard disk is 0 bytes free although I have enough disk space free. What could be wrong?

0
Comment
Question by:iclpsing
9 Comments
 

Author Comment

by:iclpsing
ID: 1424569
The Setup program could not proceed further. I had to abort it everytime. It gave this same error no matter which PC I am installing my program from the distribution disks to.
0
 

Expert Comment

by:JoeyH
ID: 1424570
Are you using VB 4 16 SetupWizard or the 32 SetupWizard?
0
 
LVL 1

Expert Comment

by:andyb013197
ID: 1424571
I suspect the setup wizard uses the dll setupkit.dll to find the free hard disk space. Check that this is correct for the operating system you are working on. This comment dovetails with JoeyH's comment.
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 5

Expert Comment

by:volking
ID: 1424572
Don't know if it will help, but I've experienced a similar problem. I eventually discovered that the environment variables included a reference to a TEMP directory that DIDN'T EXIST on C:. I don't know exactly how this affected things, but when I created the missing TEMP directory, everything fixed itself.
0
 
LVL 5

Expert Comment

by:volking
ID: 1424573
I'm pulling at straws here and I know it's tedious, but I'd also suggest you examine the target machine's files. Search for each and every file your install will be copying. Maybe one of your files (possibly a newer version DLL or some such thing) is trying to overlay an existing (older version) file and the older version is write-protected?
0
 

Author Comment

by:iclpsing
ID: 1424574
To JOEYH:

I  used VB 4 16 Setup Wizard.

When I tried VB 32 Setup Wizard, it tried to open my project for a long time. Then, it hung. After that, when I start Vb 16 or 32, they both complain of something to the tune of "illegal operation" and I had to reboot my PC.

------
To andyb:

The following is taken from setup.lst:
File5=1,,SETUPKIT.DL_,SETUPKIT.DLL,$(WINSYSPATH),,28/4/93,7008

What do you mean by "Check that this is correct for the operating system you are working on"?

------
To volking:

This problem happen on any PC I used. They all have a valid temp directory mentioned in the environment settings.
0
 

Expert Comment

by:bhullar
ID: 1424575
I believe that Vb4 uses Stkit432.dll (or stkit416.dll)for querying disk space. You can include this file by making the following changes to windows/system/swdepend.ini :

- under [SetupWiz] add the line "UsesX = Stkit432.dll" where X is one after the list of "Uses" lines (it is 4 for me).

- add the line "UsesX = Stkit416.dll" if you are using 16 bits setup wizard (I think it is under SetupWiz16)

This should solve your problem. But that's just one problems that I faced in trying to get Setup/16 to work. I actually wondered whether the setup wizard works at all!

0
 

Expert Comment

by:ras032597
ID: 1424576
Available memory is actually determined not in SETUP.EXE but in SETUP1.EXE.  Fortunately MS gives you the source for this.  Copy the SETUP1 project files to another directory and try recompiling; maybe the original got munged up.  More likely you'll have to drag SETUP1 into the IDE and debug it to see what's happening.  There are two things which you must do to run SETUP1 in the IDE; 1. supply a run-time argument, which is the path where the files-to-be-installed reside (put them on the hard disk -- much faster) and 2. copy SETUP.LST to the \WINDOWS directory.
  Now go into FORM1.LOAD and you'll find the main program.  The available memory determination is around the middle of the program.  I don't have the code in front on me, but it's well documented and not hard to follow.  You'll probably ultimately find -- as suggested previously -- that there's a wrong DLL or some other unexpected thing, but at least you can now trace the process, which often gives a clue.
0
 
LVL 1

Accepted Solution

by:
bitz earned 100 total points
ID: 1424577
Just recompile the SetupKit program in that directory of VB!  Then try it!
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Pull multiple cvs files into one access table 28 68
DIR issue 7 54
VB6 - Compare and highlight cell not the same 3 50
Can we place a tooltip on the actual vb6 form 5 41
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

770 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