How to? Installing TCMD for a single language

May 20, 2008
3,515
4
Elkridge, MD, USA
Whereas normally only one set of language DLLs is loaded, for those of us not interested in the ability to change languages it would be a slightly smaller disk footprint to install only the one language that is of interest. Is that feasible?
 
Jan 19, 2011
604
14
Norman, OK
I added the following to my TCSTART.BTM
Code:
if exist %@path[%comspec]French.dll del %@path[%comspec]French.dll
if exist %@path[%comspec]FrenchD.dll del %@path[%comspec]FrenchD.dll
if exist %@path[%comspec]German.dll del %@path[%comspec]German.dll
if exist %@path[%comspec]GermanD.dll del %@path[%comspec]GermanD.dll
if exist %@path[%comspec]Italian.dll del %@path[%comspec]Italian.dll
if exist %@path[%comspec]ItalianD.dll del %@path[%comspec]ItalianD.dll
if exist %@path[%comspec]Russian.dll del %@path[%comspec]Russian.dll
if exist %@path[%comspec]RussianD.dll del %@path[%comspec]RussianD.dll
if exist %@path[%comspec]Spanish.dll del %@path[%comspec]Spanish.dll
if exist %@path[%comspec]SpanishD.dll del %@path[%comspec]SpanishD.dll
if exist %@path[%comspec]VESP.dll del %@path[%comspec]VESP.dll
if exist %@path[%comspec]VFRA.dll del %@path[%comspec]VFRA.dll
if exist %@path[%comspec]VITA.dll del %@path[%comspec]VITA.dll
if exist %@path[%comspec]VRUS.dll del %@path[%comspec]VRUS.dll
 
May 20, 2008
3,515
4
Elkridge, MD, USA
I do not hurt for disk space, my question was more about directory clutter. I would think that one could add a page to the installer in which you checkmark each language which you want installed. Such a page should not be objectionable to any user, and alllow installing just the desired languages. But it is by no means a major issue,barely even a minor issue. What's there now is totally acceptable.

BTW John, your scheme could be made much shorter:
Code:
set x=%@quote[%path[%comspec]]
for %l in (french german spanish ...) if isfile %x\%l* del %x\%l*
 
May 20, 2008
3,515
4
Elkridge, MD, USA
Since the operation is performed in TCSTART.BTM, one can easily take advantage of the pairing of xxxd.dll and xxx.dll for the language DLL's (model below - use the file exclusion range for languages to be retained):

for /[!EnglishD.dll] %d in (*D.dll) ( set x=%@replace[D.dll,.dll,%d] %+ if NOT %x EQC %d if isfile %x del %x;%d )

This does not account for the language DLL's associated with VIEW.

A recommendation for future versions: provide names for language DLL's that are easily identifiable, e.g. xxx.lang.dll.

Res, would it be possible to have a descriptions of what each file is for, e.g., a DESCRIPT.ION file ?
 
Similar threads
Thread starter Title Forum Replies Date
kb6ojs How to? "Specified Account Already Exists" error installing TCMD v27 Support 12
J NT 8.0.102 purchased version is not longer "registered" since installing trial of TCMD 15. Support 10
fromano Problem Installing TCMD 15.01.44 Support 2
D Installing TCMD without admin Support 1
C v23 Everything still referenced after removing v23 and installing v24 Support 7
V Still installing to TC21 Support 0
K_Meinhard Installing TC18_32 Support 1
U Installing the Compaq Visual Fortran 6.0 compiler using Take Command Support 8
M TCC no longer runs after installing TC 17 Support 22
S Installing on Win 7 without invoking UAC Support 2
JohnQSmith Installing TCMD16 on 32 bit XP Support 12
D Error when installing Support 1
davidebbo Installing to a different machine Support 27
D installing to thumbdrive Support 2
D installing to thumbdrive Support 72
vefatica Installing build 26 Support 22
vefatica Troubles installing build 61 Support 10
A Installing 4nt on Windows 7 Support 3
J Problems after installing V12 Support 3
vefatica Installing the public beta? Support 2
vefatica Installing both v9 and v10 Support 1
MickeyF equivalent to TCSTART.btm for TCMD? Support 4
D Bug TCMD /X option Support 6
vefatica TCMD hides itself! Support 3
vefatica Tray min'd TCMD and ACTIVATE Support 6
C How to? starting TCC/TCMD v25 Support 2
CWBillow TCC and TCMD in Powershell Support 6
CWBillow TCMD Colors Support 8
Jay Sage Issues With TCMD File Explorer Support 0
C Last TCMD that supports win 7? Support 5
gentzel TCMD background color confusion Support 6
R Upgrade TCMD 19 to TCC 26 Support 1
Alpengreis Remaining TCMD background process (v26) ... Support 19
S Windows Server version not being detected correctly in TCMD 26RC2 Support 9
G TCMD crash when copy Support 3
Joe Caverly DrawVLine results different in TCMD tab and detached TCC Support 11
Alpengreis [TCMD v25.00.24] Small space problem with the DE translation in Prefs-GUI Support 1
Alpengreis [TCMD v25.00.24] Problem with copy and paste and the # char via mouse in TCC Support 6
Jay Sage TCMD Crashes with "tctoolbar /c /r file" Support 5
nikbackm TCMD 25 - Unregister older TCMD version Support 2
G Documentation on TCMD.INI Support 9
R New Clear Buffer in TCMD Home Menu Support 2
CWBillow Back up TCMD tabs Support 2
CWBillow Upgrade Windows 10's effect on TCMD and TCC Support 3
DrusTheAxe TCMD 24.02.49 x64 crashed due to DivideByZero :-( Support 4
A After update to 24.02.49, helpfile tcmd.chm hangs when opened Support 0
David McClelland TCMD 24 & Perl - perl thinks it's own executable is ...\TCMD24\TCC.EXE??? Support 3
dcantor How to? Can 32-bit TCC be run on a system with 64-bit TCMD and TCC installed? Support 6
W pdir returns diff results between tcc and tcmd - one is an error msg Support 5
vefatica What's TCMD's problem with ^e[0m? Support 13

Similar threads