Closed
Bug 265883
Opened 20 years ago
Closed 17 years ago
addDirectory is case-sensitive on Windows
Categories
(SeaMonkey :: Installer, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: BenB, Unassigned)
Details
Reproduction:
- Add
[foo]
bin\plugins\foo
bar\
to packages-win
- Put
...
winreg.setRootKey(...)
...
err = addDirectory("",
version,
"bin/Plugins", // dir name in jar to extract
pluginsFolder, // extract to dir
"", // extract to subdir
true); // Force Flag
...
err = addDirectory("",
version,
"bar/", // dir name in jar to extract
otherFolder, // extract to dir
"", // extract to subdir
true); // Force Flag
...
into your install script
Actual result:
1. Installer reports -229 (SCRIPT_ERROR) and aborts
2. Log says:
addDirectory() for plugins returned: -214
addDirectory() for plugins returned: -211
Line 0: can't convert Error to string
Line 107: winreg.setRootKey is not a function
Doc
<http://web.archive.org/web/20040212161725/devedge.netscape.com/library/manuals/2001/xpinstall/1.0/err.html#998941>
says:
INSTALL_NOT_STARTED -211 A problem occurred with the parameters to
initInstall, or initInstall was not called first
DOES_NOT_EXIST -214 The specified file cannot be deleted because it does
not exist.
Good luck figuring out what's wrong, took me over an hour.
The cause was that "bin/Plugins" doesn't find "bin\plugins\" in the zip/xpi.
Consider the spurious errors at line 0 and 107. Also note that the extended
description for errors -211 and -214 is totaly nonsense. None of the errors have
to do with initInstall or deletion, the only thing that meant anything was the
MACRO/constant name.
Expected result:
- Case insensitivity on Windows when looking for files and dirs
- No irrelevant or spurious errors
- Accurate documentation
Updated•20 years ago
|
Product: Browser → Seamonkey
Updated•19 years ago
|
QA Contact: bugzilla → general
Comment 1•17 years ago
|
||
MozillaAS v1.7.x is not supported anymore. Can you reproduce with SeaMonkey v1.1.9 ?
| Reporter | ||
Comment 2•17 years ago
|
||
This is about the old install.js API which no longer exists, I think, in favor of extensions install mechanism. Resolving WONTFIX lacking a better name.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•