How to? Install single-language version

May 20, 2008
3,515
4
Elkridge, MD, USA
Is it possible to install TCMD and / or TCC/LE for just a single language? I know one can delete unused ones after installation, and no harm is done unless the LanguageDLL directive is set to a deleted language.

BTW, the description of the LanguageDLL directive in tcmd.chm did not keep up with the number of languages available, half the languages are not listed. Furthermore, now there are two (2) for each language - the basic, e.g., English.DLL, and the second with D suffix added to the name, e.g., EnglishD.DLL, this ought to be made clearer...
 
May 20, 2008
3,515
4
Elkridge, MD, USA
When does the LanguageDLL directive take effect? I changed it with the OPTION //LanguageDLL= command, but all error messages remained in English in the current TCC instance. I did not try to change it in the .INI file and start a new instance, I am sure it would have been effective. Anyway, I think this directive is a perfect candidate to be put into the OPTION dialog with the choices selectable in a pop-up - it may require a new file naming convention for it to be populated automatically based on what is installed.
 

rconn

Administrator
Staff member
May 14, 2008
12,345
150
Is it possible to install TCMD and / or TCC/LE for just a single language? I know one can delete unused ones after installation, and no harm is done unless the LanguageDLL directive is set to a deleted language.

No, it is not possible to install for a single language. (Nor is there any advantage to doing so unless you're down to your last megabyte!)

BTW, the description of the LanguageDLL directive in tcmd.chm did not keep up with the number of languages available, half the languages are not listed. Furthermore, now there are two (2) for each language - the basic, e.g., English.DLL, and the second with D suffix added to the name, e.g., EnglishD.DLL, this ought to be made clearer...

The xxD dll's are unrelated to LanguageDLL, Take Command, and TCC. They're used by IDE.EXE, which has its own directive.
 

rconn

Administrator
Staff member
May 14, 2008
12,345
150
When does the LanguageDLL directive take effect? I changed it with the OPTION //LanguageDLL= command, but all error messages remained in English in the current TCC instance. I did not try to change it in the .INI file and start a new instance, I am sure it would have been effective. Anyway, I think this directive is a perfect candidate to be put into the OPTION dialog with the choices selectable in a pop-up - it may require a new file naming convention for it to be populated automatically based on what is installed.

LanguageDLL is read at startup, or when modified by OPTION. It is also already in the OPTION dialog with the choices selectable in a popup, on the first ("Startup") page in TCC, and the first ("Windows") page in Take Command.
 
May 24, 2010
855
0
Northlake, Il
May I ask an apparently dumb question? What exactly is "IDE.exe"? I have no such thing running on my machine (Windows 7 using either the system-internals PSList program or the standard Windows Task Manager), and all of the references I can find to it on the web using Google primarily mention it a probably being a virus!!!
 

rconn

Administrator
Staff member
May 14, 2008
12,345
150
May I ask an apparently dumb question? What exactly is "IDE.exe"? I have no such thing running on my machine (Windows 7 using either the system-internals PSList program or the standard Windows Task Manager), and all of the references I can find to it on the web using Google primarily mention it a probably being a virus!!!

It's the batch debugger. It won't be running unless you explicitly start it.
 
Jun 2, 2008
359
4
May I ask an apparently dumb question? What exactly is "IDE.exe"? I have no such thing running on my machine (Windows 7 using either the system-internals PSList program or the standard Windows Task Manager), and all of the references I can find to it on the web using Google primarily mention it a probably being a virus!!!
IDE = Integrated Development Environment.
 
May 24, 2010
855
0
Northlake, Il
I'm laughing as I enter this!!! IDE for what??? I used to run Visual C++ on an almost-constant basis until I've tried to "give up" on C++ and "transfer" my "development" to 100% TCC's batch-file language, but I don't remember the Visual Studio's IDE actually being called "IDE.exe" in any context. Could be I just don't remember that...

And Rex, you evidently responded while I was typing this! Thank you!!!
 
May 20, 2008
3,515
4
Elkridge, MD, USA
LanguageDLL is read at startup, or when modified by OPTION. It is also already in the OPTION dialog with the choices selectable in a popup, on the first ("Startup") page in TCC, and the first ("Windows") page in Take Command.
Sorry, I overlooked it in the OPTION dialog (where mine is set to "default").

I just used OPTION //LanguageDLL=russian.dll, and the value of the directive is reported by @OPTION[] as italian.dll. However, the commands which I tried to force a TCC message or error message to display, e.g. "*echo", "usbmonitor", "echo %_idowf %_imonthf" all report in English. WinXP SP3 home / TCC 13.0.39.
 
May 20, 2008
3,515
4
Elkridge, MD, USA
Sorry, I actually tried both russian.dll and italian.dll, report is compound... When Russian did not work, I thought it might be a codepage/font issue, switched to italian, still no joy.
 
May 20, 2008
3,515
4
Elkridge, MD, USA
My previous response was written before you told me the OPTION dialog must be used. Now setting language to "default" does not restore the Windows locale (English), it leaves the previous selection in effect. Is this WAD? Note: .INI file is RO, OPTION cannot change it, and it does not contain a LanguageDLL directive.
 
May 20, 2008
3,515
4
Elkridge, MD, USA
It's WAD if you locked your TCMD.INI. (Not really a very good idea, as TCMD and TCC write a lot of their configuration data there when they exit.)
OK. I locked them (I have many, some for transient uses, and one each for V5... V13) because 1/ when TCMD and TCC add configuration data, they also rewrite the unchanged directives, including those that have been set from other files invoked by the INCLUDE directive, and 2/ when they are rewritten, their modification date changes, and I lose track of manual changes supported by backups.

BTW -- *why* are you trying to change the language from the command prompt??
I use TCC because I like text mode, everything I do is EXPLICIT. Changes made by mice are not recorded. I have to take my hands off the keyboard, unless I am willing to press the Tab key so many times that I arrive at the proper screen location (why does it have a different layout for the German and French option dialogs than the other languages?). As to the reason for trying to change languages? I was checking out operating without all "language packs" installed.

BTW, I noted that the language list in the OPTION dialog is based on distribution, not installation (which may delete unwanted language DLLs). Also, most software which has language options lists ALL language names in their native tongue. TCC's dialog does this EXCEPT for Russian.

I noted that deleting 5 of the 6 languages reduces the disk footprint of TCMD by about 20%. When your primary system or your backup device is overcrowded, this may be significant. Not on any of my own devices...
 

rconn

Administrator
Staff member
May 14, 2008
12,345
150
BTW, I noted that the language list in the OPTION dialog is based on distribution, not installation (which may delete unwanted language DLLs). Also, most software which has language options lists ALL language names in their native tongue. TCC's dialog does this EXCEPT for Russian.

The installation as documented and supported by JP Software will never delete unwanted language DLL's. You can't seriously be suggesting that I should monitor every goofy thing a user decides to do and modify the (compiled, readonly, locked by Windows) language dll's dynamically??? (First, ask Microsoft and Intel to allow programs to overwrite code. Then, abandon all hope of ever using your system again as the viruses multiply beyond all count.)

I noted that deleting 5 of the 6 languages reduces the disk footprint of TCMD by about 20%. When your primary system or your backup device is overcrowded, this may be significant. Not on any of my own devices...

Could be useful if you're running on a floppy-only system ... and you're not running Windows 7 (which won't allow you to delete them anyway).
 

rconn

Administrator
Staff member
May 14, 2008
12,345
150
AFAIK Unicode includes the Cyrillic alphabets (Russian, Serbian, Bulgarian, Ukrainian, and Belorussian). Furthermore, once you select Russian, close and reopen the option dialog, it is now in Russian.

Most users aren't using Unicode character sets. Do you want me to unilaterally replace everyone's chosen character set on the off chance they might want to display "Russian" in Russian?
 
May 20, 2008
3,515
4
Elkridge, MD, USA
The installation as documented and supported by JP Software will never delete unwanted language DLL's. You can't seriously be suggesting that I should monitor every goofy thing a user decides to do and modify the (compiled, readonly, locked by Windows) language dll's dynamically???

Some software allows downloading and installing only the chosen language. And I did not suggest dynamically modifying the language DLL-s, nor even the code in the OPTION dialog. I was suggesting that the OPTION dialog could check which of the distributed language DLLs are actually present, and - just like @SELECT - offer only those language choices. It could even authenticate the DLLs to prevent introducing viruses by counterfeit DLLs.
 

rconn

Administrator
Staff member
May 14, 2008
12,345
150
Some software allows downloading and installing only the chosen language.

A lot of our users want multiple languages (English + their own), and no installer I've ever seen allows selecting multiple languages.

And I did not suggest dynamically modifying the language DLL-s, nor even the code in the OPTION dialog. I was suggesting that the OPTION dialog could check which of the distributed language DLLs are actually present, and - just like @SELECT - offer only those language choices.

That would require substantial extra effort (and 6 translations), for something that nobody has ever expressed any interest in. (And something that is impossible anyway in a modern operating system -- i.e., anything newer than the ghastly antiquated bug riddled security disaster called XP.)

It could even authenticate the DLLs to prevent introducing viruses by counterfeit DLLs.

It's been doing that for 10 years.
 
May 20, 2008
3,515
4
Elkridge, MD, USA
Unicode does, but not all fonts do. The fonts used by default for menus certainly ought to include Cyrillic, but users can change the UI fonts.
The default font used by the TCC dialogs obviously does include Cyrillic, as it displayed the Russian dialog legibly on my WinXP platform. I don't even know how to change the fonts in the OPTION dialog (the only one relevant). I was able to change the font used in the messagebox/querybox (in Windows itself), and I think the [FONT] section of the .INI file may control history pop-ups, but settng the "italic" entry to one (1) did nothing visible. So I think my previous statement about using Cyrillic for the word "Russian" in the OPTION dialog is feasible. But it is of no relevance to me personally - the only alternate language I'd consider using is my native Hungarian.

Rex, are you interested in creating Hungarian.dll?
 

rconn

Administrator
Staff member
May 14, 2008
12,345
150
Rex, are you interested in creating Hungarian.dll?

I'm always interested in adding additional languages. (Though the ratio of people volunteering to do a specific language to actually delivering a result is probably 10-1.)

You can look at the English language resource files used by Take Command in the ftp beta area (ftp.jpsoft.com/beta). (View.rc isn't translated in v13, but will be in v14.) It's pretty straightforward, but it's non-trivial (at least several days of work). If you're interested, contact me off-list and I'll set you up with DropBox access to the resource source.
 
Similar threads
Thread starter Title Forum Replies Date
fishman@panix.com 27.00.17 x64 will not install for me!! Support 4
Joe Caverly Here-Document on new Install Support 21
S 32-bit Take Command v22 install for thumb drive Support 1
Roedy install fail Support 9
A Reinstalling TCC-RT 21.01.57 triggers a new install instead of update/reinstall Support 3
R Portable install with v21 - why did it not work? Support 3
G How to? Unable to install TCMD 21 under Win2012R2 Support 5
samintz Build 38 Install issue Support 5
N Cannot install Support 2
fishman@panix.com Version 21.23 fails to install Support 4
Seven Update / install issue with 20.0.20.10.32 take command Support 7
keithg1964 TCC RT Install Files Support 1
fishman@panix.com Once again the Can't Install bug bites... Support 2
Roedy missing English.dll, failed install Support 2
T Beta - duplicate install Support 7
J How to? 20beta: How to install x86 on x64 Support 2
fishman@panix.com 19.10.51 will not install for me Support 1
A Latest TCC/LE install broken Support 1
M How to? Take Command\TCC install problem... Support 2
H New Install; Everything setup issues Support 9
fishman@panix.com 19.02.37 Does Not Install For Me Support 2
D V19 fails to install on Win7-64bit, installer says: Support 2
Alpengreis [TC 19.0 Beta 22/23] Install/Update-"Problems" Support 4
bwawsc2 Can't install updates to TCMD x64 Support 5
fishman@panix.com 18.00.31 would not install for me Support 5
M How to? Run TCC from Windows Install DVD... Support 2
T Everything install forced (sometimes) Support 2
vefatica Build 28 install Support 8
S How to? Remote Install Support 1
I Take Command 18 x64 Install Hang Support 2
vefatica Build 14 install Support 3
T Clean install - squeaky clean Support 14
Alpengreis [TC 17.x] Install with "option /u" failed Support 5
vefatica Update to current install dir? Support 8
S Install TC 17.00.37 x64 expires immediately & invalidates registered TCmd v16.03.55 Support 3
CWBillow TCMD v16 won't install Support 6
C Build 34 install error Support 4
jbanaszczyk TCMD 16 Install - download folder Support 2
samintz Can't install 15.01.54 on Win7 x64 Support 6
L 15.01.54 won't install on Windows 8.1 x86 Support 2
MickeyF gpf when trying to use tcc.exe on standalone install Support 0
S How to? Install TCMD for ALL users Support 5
noahcoad How to? Prevent web url from opening after silent install Support 0
D New 64-bit install goes to Program Files x86 Support 3
C Install Issue with 3rd Party Privelege Escalation Support 2
S How to? Install from same installer copy after cancelling previously Support 6
F How to install 64-bit after having installed 32-bit on Win7 Support 2
Peter Bratton Observations on v15 install Support 4
gschizas Is there any way to do a silent install? Support 15
vefatica Install two minor versions Support 4

Similar threads