Hi guys, >> That message comes from the Unzip program. I got that too, during >> testing, but I rebuilt the zip file it was complaining about, and the >> error didn't reappear. I think the problem was mixed case in the zip >> package file. > > Ah, now I think I know what you mean. I think that should be easily > fixable by using -C (or, as I typically do, "set UNZIP=-C"). Info-Zip > is pretty *nix-oriented in portability (as always), so they default to > case sensitive and (unlike PKZIP) compress with lowercase filenames. > But of course DOS (FAT) doesn't care.
I vaguely remember ZIP files which mix forward and backwards slashes for directory separator depending on how you parsed the metadata... Also, Mac OS produces ZIP files with lots of garbage meta files in them. I hope INFO-ZIP for Mac does not. >> But I wonder if anyone really installs FreeDOS from floppies in 2011? Not many, and those can just use XCOPY from a floppy distro IMHO. >> The TZ variable is used in Unzip or the UzpMain() library, not >> (strictly speaking) in the Install program. Not having the timezone >> set just results in a warning... ...which can be ignored / scroll away. Actually setting a timezone can lead to more counterintuitive results than the ignoring the warning afair ;-) >> To keep the warning from coming up, the >> included Unzip program sets TZ with a PST value As suggested elsewhere in the thread, it is probably better to set TZ - if at all - before calling the default UNZIP. Instead of having a modified UNZIP. It is always nice to have a standard full featured version of INFO-ZIP UNZIP, also for manual use... >>> * Documented that InfoZip's UNZIP is required/expect Note: The Advancemame advzip (or similar name) is a nice way to recompress ZIP files better while still keeping them fully compatible with INFO-ZIP UNZIP and all other normal unzippers :-) > (overthinking) I guess in theory you could "unzip -l *.zip" Afair INFO-ZIP unzip -1 xyz is the same as zipinfo xyz. Indeed an idea to check needed disk space, but given that you would also have to round for cluster size it might not be worth the effort. UNLESS you just assume 32 kB (or any big default) cluster size and simply be happy if DOS leaves more space free than estimated :-) Eric ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
