You are here

plugin installer with Installer 2.0.1

6 posts / 0 new
Last post
prapper
Offline
Last seen: 3 years 10 months ago
Developer
Joined: 2008-01-24 17:01
plugin installer with Installer 2.0.1

I'm trying to create a plugin installer with Installer 2.0.1 and it's failing with the error:

Error: Can't open language file - "X:\PortableApps\PortableApps.comInstaller\App\nsis\Contrib\Language files\${INSTALLERLANGUAGE}.nlf"!

Anybody else?

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 5 months ago
Joined: 2007-04-15 21:08
Can't see any reason

I can't see any reason for this, looking briefly at the PortableApps.comInstaller.nsi and InstallerWizard.nsi source code. That indicates that INSTALLERLANGUAGE is not defined, and INSTALLERMULTILINGUAL is not defined (PortableApps.comInstaller.nsi, line 157-158), but if INSTALLERMULTILINGUAL isn't defined, INSTALLERLANGUAGE will be (InstallerWizard.nsi, lines 764-769).

I imagine this probably means some other sort of configuration problem. What do your installer config file and the generated PortableApps.comInstallerConfig.nsi look like? The error just doesn't make sense to me. (Oh, and did it work in 2.0.0?)

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 36 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Confirmed

It is a bug in 2.0.1. It will be fixed in 2.0.2 which I am fast-tracking for release today.

Sometimes, the impossible can become possible, if you're awesome!

MarkoMLM
MarkoMLM's picture
Offline
Last seen: 9 years 1 month ago
DeveloperTranslator
Joined: 2006-01-16 04:08
another issue ...

... with the language files Sad

If You'll use pt-BR the installer is looking for PortugueseBrasil but not for the existing PortugueseBR files.

A quick and dirthy fix is copying or renaming this files.

Paid for Software more or less?
What You need is OSS!

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 36 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Huh?

I have no idea what this means. pt-br isn't accepted by the installer, never has been. And PortugueseBrazil occurs nowhere within the code of the generator, installer or NSIS. Only PortugueseBr is accepted as a language code in appinfo.ini and/or installer.ini. So what do you mean?

Sometimes, the impossible can become possible, if you're awesome!

MarkoMLM
MarkoMLM's picture
Offline
Last seen: 9 years 1 month ago
DeveloperTranslator
Joined: 2006-01-16 04:08
Ok, You're right ;-)

It was my fault caused by the language detection routine in the OOoBuilt environment. It works with this language code with the old version of the Installer like a charm so I believed that it is the right entry for the new one too.
I've changed it form PortugueseBrasil to PortugueseBR now.

Paid for Software more or less?
What You need is OSS!

Log in or register to post comments