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?
New: Run-Command (Dec 2, 2024), Platform 29.5.3 (Jun 27, 2024)
1,100+ portable packages, 1.1 billion downloads
No Ads Nov/Dec!, Please donate today
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?
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
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!
... with the language files
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!
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!
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!