Closed
Bug 222101
Opened 21 years ago
Closed 1 month ago
loadResource does not work in installer
Categories
(Core Graveyard :: Installer: XPInstall Engine, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: opi, Unassigned)
Details
Attachments
(1 file)
475 bytes,
application/x-xpinstall
|
Details |
The german lang pack (langdeAT) can't be installed from an installer, but from browser. It seems that the loadResource doesn't loaded correctly while installing. var messages = loadResources("install.properties"); always return true, but if you later try alertstring = messages.install_successglobal; you get an error cause messages.install_successglobal does not exists. An example xpi will follow.
Reporter | ||
Comment 1•21 years ago
|
||
There is a(an other?) problem with the xpi on my current build on win95. There are 3 alert boxes. Installing from Browser! First time you install the xpi you get: 1st box: undefined 2nd box: undefined 3rd box: Successfully installed ... Second time: 1st box: Hello world 2nd box: undefined 3rd box: Successfully installed ... Third time: 1st box: Hello world 2nd box: Yo Hello, all ok. 3rd box: undefined If you remove the xpinstall(*).properties from your temp directory then it starts as first install. But this shouldn't happen ... and maybe this is the problem in the installer builds. Maybe that you don't see the 3rd message ... it comes from the langdeAT.xpi install.properties
Reporter | ||
Comment 2•21 years ago
|
||
Ok, comment #1 only happen, if you have installed the langdeAT.xpi without restarting mozilla. This shouldn't happen, but maybe needs another bugreport.
Comment 3•21 years ago
|
||
Found in Bug 220095 Navigator->Languages for Web Pages empty, wrong character coding that properties files are missing from /Mozilla/res/, if you use the exe installers, zip install is working, see bug 220095 comment 18 Regressed between 2003091209 (working) and 2003091510 (failing)
Reporter | ||
Comment 5•21 years ago
|
||
They are no depencies but one other problem and one other feature for XPInstall.
Updated•15 years ago
|
Assignee: xpi-engine → nobody
QA Contact: xpi-engine
Assignee | ||
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•