Closed Bug 62701 Opened 24 years ago Closed 16 years ago

Feature: ability to read file size in .xpi archive

Categories

(Core Graveyard :: Installer: XPInstall Engine, enhancement, P3)

x86
All
enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: depman1, Assigned: dveditz)

Details

Currently, we can obtain the file size of a file already installed by using 
File.size(). It would be nice to be able to obtain that info *before* the 
archive contents are installed. That way, a script writer can ascertain whether 
or not there is enough room on the harddrive to install it. 

Note: if you list out the contents of the archive (even before unzipping it), 
the file sizes can be obtained. In UNIX, do an "unzip -v". It also lists out 
time stamps as well, so that could be useful as well (e.g. for File.modDate()). 
I'll leave that for another enhancement request.
Status: NEW → ASSIGNED
The xpinstall script engine has been removed from the trunk, bugs in it are obsolete.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.