Closed Bug 48296 Opened 26 years ago Closed 26 years ago

installer overestimates disk space required for install, won't install on disk with 169M of space

Categories

(SeaMonkey :: Installer, defect, P3)

x86
Windows NT

Tracking

(Not tracked)

VERIFIED WONTFIX

People

(Reporter: ekrock, Assigned: ssu0262)

Details

Using Commercial 2000080909 build on WinNT 4.0 SP4. My hard disk currently has 169M of free space according to the Windows OS when selecting it under My Computer. To repro: 1) with HD with 169M of free space ... 2) select Custom install with everything but Net2Phone 3) choose to install into D:/Programs/Netscape/N6-M17-0809 Expected: installs Actual: Dialog appears saying: "Setup has detected insufficient disk space to continue with the installation process on d: for the path: d:\ Required: 181527K Available: 173786K Click OK to go back & choose a diff. installation path, or click Cancel" We can't possibly require 181M of free space to perform the install. Add'l info: my HD is highly fragmented with a fragmented page table.
Nom. nsbeta3 and marking "correctness." Severity major.
Severity: normal → major
Keywords: correctness, nsbeta3
Note: I was able to reproduce this by repeating above steps. I'll avoid clearing out my HD for a day or two in case you want to reproduce this on my machine, but could you let me know ASAP when it's OK for me to clean up my HD? Thanks!
cc:ing dveditz & dbragg & sgehani as ssu is away. Could you please inform me ASAP whether (a) I need to keep my hard disk full so you can reproduce on my machine or (b) it's OK for me to clean out my HD (and actually reformat as well)?
That actually sounds about right if you have a FAT drive. We install a shitload of chrome files--somewhere around 3500--and each one takes up a big block at minimum on a FAT drive. Note that complete includes two extra languages at around 400 files each, and two skins at around 1000 files each. The install does require slightly more space than taken by the final install because the downloaded archives and the engine are present at the same time as the final product during the install process. But the bulk of the requirement are the chrome files.
It's an NTFS partition, not FAT.
The problem is also that the first part of the installer says that we will require about 17 megabytes, and the second part says it needs 170 megabytes. There is some times-by-10 (or 10024 instead of 1024) error somewhere, I would imagine. A factor of 10 is not cluster problems, surely. (I also use NTFS.) Note. At the rate my HD is filling up, this will become a blocker in about two weeks or so.
The one value is the download size, the other is the amount of space taken on disk accounting for uncompressing and cluster size. Taking suggestions on how to make this clearer in the UI :-)
There are a lot of factors that make calculating an accurate disk space required value difficult. As an example are 3rd party files that are bundled with their own installer programs which our installer simply executes. It is safer to overcalculate for disk space required then to deal with an Out Of Disk Space situation during the file copy process. I'm marking this as wontfix.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → WONTFIX
overcalculate is better than undercalculate!
Status: RESOLVED → VERIFIED
How does the current bug report compares to bug 52037 ? The former is about calculation, and the latter is about UI ? I tried to install *Navigator *Mail & Newsgroups *Quality Feedback Agent On a (X:) drive with approx. 27.5-28.5 MB free, of FAT with 16 KB clusters. It's not C: nor my Win95 (W:) drive; Making more room on it (X:) was enough to complete install. [Mozilla/5.0 (Windows; U; Win95; en-US; rv:1.3) Gecko/20030312] Total download size = 11.628 KB Required = 44.302 KB Ratio = * 3.81 [Mozilla/5.0 (Windows; U; Win95; en-US; rv:1.4a) Gecko/20030401] Total download size = 12.120 KB Required = 46.153 KB Ratio = * 3.81 [Mozilla/5.0 (Windows; U; Win95; en-US; rv:1.4b) Gecko/20030507] Total download size = 11.225 KB *(which became approx. 16.844 KB, not counting the cluster overhead: why ?) Required = 52.077 KB Ratio = * 4.64 The current ratio is less than half the '* 10' in comment 6; but it still seems a lot ... and why the noticeable increase in v1.4b ?
Addittion to comment 10: [Mozilla/5.0 (Windows; U; Win95; en-US; rv:1.3.1) Gecko/20030425] *When installing on a drive with no Mozilla: Total download size = 11.837 KB Required = 45.115 KB Ratio = * 3.81 --> Same as v1.3 and v1.4a *When installing on a drive [W95 drive in this case] with (same) Mozilla already installed: Total download size = 11.837 KB Required = 59.011 KB Ratio = * 4.99 --> Worse than v1.4b "without".
[Mozilla/5.0 (Windows; U; Win95; en-US; rv:1.4) Gecko/20030624] Only to report some figures: *When installing on a drive with no Mozilla: Complained about needing 37.905 KB, on (Windows drive) W:\...\ns_temp. *Also, it left a 'ns_temp2' directory with 'xpcom.ns\bin\*.dll' files. I did not make a testcase, but saw "this" happening for some (v1.4x !!?) milestones.
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.