View Full Version : %CURLNG% does not work anymore in version 7.7
obordes
04-27-2012, 03:46 AM
Since upgrading to SetupBuilder v7.7.3648, %CURLNG% is always set to 1033.
With the previous 7.6.3695 version, %CURLNG% worked fine and had the right 2055 or 4108 value (swiss german or french).
linder
04-27-2012, 04:22 AM
Hello,
This is the following fix:
FIX : [SB#203261] Installer: Under certain circumstances, the automatic language detection in a multiple-language setup did not work as expected.
%CURLNG% did not work correctly in previous versions. This has been fixed in V7.7 and it works as expected now. The built-in variable holds the currently active (installer) language ID. For example, you create a setup.exe with English (1033) and German (1031) language support. On a German (1031) Windows, it displays the German module and %CURLNG% is 1031. It should not display the machine language ID (this was a bug in previous versions).
What we can do in the next version is to add a new built-in variable (e.g. %DEFLNG%) that returns the language identifier for the system locale.
I have uploaded a simple project for you that can handle this in V7.7. You can then create your own variable.
www.lindersoft.com/projects/SystemDefaultLng.zip
Does this help?
Friedrich
obordes
05-07-2012, 04:02 AM
Hello Friedrich ,
Sorry for the delay.
Adding a new built-in variable in next version would be perfect indeed.
Until then your solution using GetSystemDefaultLangID works quite fine.
Thanks for your answer.
Olivier
linder
05-07-2012, 04:22 AM
Hi Olivier,
Perfect! Thanks for the update.
We'll add a new built-in variable to the next maintenance build!
Friedrich
linder
05-09-2012, 10:41 AM
Added!
IMPROVEMENT: [SB#204271] Add new built-in %SYSLNG% variable to retrieve the language identifier for the system locale.
Friedrich
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.