+ Reply to Thread
Results 1 to 5 of 5

Thread: %CURLNG% does not work anymore in version 7.7

  1. #1
    Join Date
    Apr 2012
    Location
    Lausanne, Switzerland
    Posts
    2

    Default %CURLNG% does not work anymore in version 7.7

    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).

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: %CURLNG% does not work anymore in version 7.7

    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
    Attached Images Attached Images  

  3. #3
    Join Date
    Apr 2012
    Location
    Lausanne, Switzerland
    Posts
    2

    Default Re: %CURLNG% does not work anymore in version 7.7

    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

  4. #4
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: %CURLNG% does not work anymore in version 7.7

    Hi Olivier,

    Perfect! Thanks for the update.

    We'll add a new built-in variable to the next maintenance build!

    Friedrich

  5. #5
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: %CURLNG% does not work anymore in version 7.7

    Added!

    IMPROVEMENT: [SB#204271] Add new built-in %SYSLNG% variable to retrieve the language identifier for the system locale.

    Friedrich

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •