PDA

View Full Version : File Properties | Conditions | Languages



NewsArchive
12-14-2017, 03:30 AM
Hi Friedrich,

My client was adding a DLL to one of his installs, when he noticed that
the small Languages entry (on the left) was disabled/read-only, but the
longer one on the right was editable. I checked some of my scripts and
they all showed the same thing. The help seems to refer to a single
field. So I'm just curious: What is that short entry for?

Best regards,

--
Arnor Baldvinsson
Icetips Alta LLC

NewsArchive
12-14-2017, 05:04 AM
Hi Arnór,

the small Languages entry (on the left, which is read-only) shows the
default language ID (if any) from the specific .exe, .dll, .ocx, etc. file.

Let us assume, you would like to install the file on English (1033) and
Italian (1040) Windows machines only (primary language identifier on these
target machines is set to 1033 or 1040). Then you type the following
decimal values into the longer entry (on the right): 1033,1040

As a result, the file will *not* be installed on, say, a German (1031) or
Swedish (1053) Windows machine. It will only install on English (1033) and
Italian (1040) machines.

I think it's always the same value on your machine because your default
language in the compiled version resource is set to English (US) = 1033. See
attached screenshot. This is from an .exe with Language ID set to 0x0807
(= 2055 which is "Swiss German").

Friedrich

NewsArchive
12-15-2017, 06:57 AM
Hi Friedrich,

> the small Languages entry (on the left, which is read-only) shows the
> default language ID (if any) from the specific .exe, .dll, .ocx, etc. file.

Thanks for the explanation!

Question: WHERE is the language ID for a exe set up? In the version
file or??? The Clarion .version files have "translation" block like
this (from a client project)

BEGIN
VALUE "Translation", 0x0409, 1252
END

So this exe should show with 1033 (408h) in the read-only entry? Or is
the default specified somewhere else?

Best regards,

--
Arnor Baldvinsson
Icetips Alta LLC

NewsArchive
12-15-2017, 06:58 AM
Hi Arnór,

> Question: WHERE is the language ID for a exe set up? In the version file
> or??? The Clarion .version files have "translation" block like this (from
> a client project)
>
> BEGIN
> VALUE "Translation", 0x0409, 1252
> END
>
> So this exe should show with 1033 (408h) in the read-only entry? Or is
> the default specified somewhere else?

Yes, that's correct.

BEGIN
VALUE "Translation", 0x0409, 1252
END

would translate to 1033 in the SetupBuilder read-only entry. It's a "for
your information" thing to check if the file is the "expected" version. The
information from this read-only entry does not make it into the compiled
setup.exe.

Friedrich

NewsArchive
12-16-2017, 10:41 AM
Hi Friedrich,

> Yes, that's correct.
>
> BEGIN
> VALUE "Translation", 0x0409, 1252
> END
>
> would translate to 1033 in the SetupBuilder read-only entry. It's a "for
> your information" thing to check if the file is the "expected" version. The
> information from this read-only entry does not make it into the compiled
> setup.exe.

Thank you so much for the info! Most appreciated!

Best regards,


--
Arnor Baldvinsson
Icetips Alta LLC