[SOLVED) Silent install via cmd, german language

English support forum

Moderators: Stefan2, white, sheep, Hacker

Post Reply
Bas
Junior Member
Junior Member
Posts: 6
Joined: 2019-08-15, 10:35 UTC

[SOLVED) Silent install via cmd, german language

Post by *Bas » 2019-08-15, 10:53 UTC

tcmd922ax64.exe /AHL2IGU

Is supposed to install in German language, but I must have done a derp for why it isn't working.
After I get that one working, I also want to set some specific configuration.
Last edited by Bas on 2019-08-19, 13:42 UTC, edited 1 time in total.

User avatar
Stefan2
Power Member
Power Member
Posts: 2588
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Silent install via cmd, german language

Post by *Stefan2 » 2019-08-15, 11:27 UTC

Hi and welcome.

Bas wrote:
2019-08-15, 10:53 UTC
tcmd922ax64.exe /AHL2IGU

Is supposed to install in German language, but I must have done a derp for why it isn't working.
After I get that one working, I also want to set some specific configuration.


- what is that I for?
/A H L 2 I G U
It's not mentioned on >> https://www.ghisler.ch/wiki/index.php?title=How_to_make_installation_fully_automatic%3F

1. Pass command line parameters to the unmodified installer in the form /AHLMGDUK
A=auto install,
H=run hidden,
L=language number,
M=install multiple languages,
G=create group in start menu,
D=create desktop icon,
U=update if target exists,
K=install wincmd.key from the same directory where the installer is located.
All options accept a paramter 1 or 0, e.g. G0 or G1. L accepts a language number from install.inf, e.g. L2=german
Hint: All options must be passed as a single parameter behind / and not as separate parameters.




- do you have the German language files in the LANGUAGE directory?




 
Inofficial FAQs || WIKI (Deu/Eng) || TC Home (What's new? // FAQ // Download // Order // Addons // Tools // Plugins)
Erst wenn der letzte Baum gefällt oder die letzte Biene verendet ist, werden die Leute verstehen warum Umweltschutz wichtig ist.

Bas
Junior Member
Junior Member
Posts: 6
Joined: 2019-08-15, 10:35 UTC

Re: Silent install via cmd, german language

Post by *Bas » 2019-08-15, 11:29 UTC

Yep, 3 of them. Are you suggesting I need to put space in-between these options when installing?
I am not super certain about which format these options accept when I start the installer.
- what is that I for?
Can't recall TBH, but not using it doesn't change anything.

User avatar
Stefan2
Power Member
Power Member
Posts: 2588
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Silent install via cmd, german language

Post by *Stefan2 » 2019-08-15, 12:07 UTC

Bas wrote:
2019-08-15, 11:29 UTC
Yep, 3 of them. Are you suggesting I need to put space in-between these options when installing?

No, not at all, just want to make it more clearly visible, and...
Hint: All options must be passed as a single parameter behind / and not as separate parameters.




Than I am out of help, sorry.




 
Inofficial FAQs || WIKI (Deu/Eng) || TC Home (What's new? // FAQ // Download // Order // Addons // Tools // Plugins)
Erst wenn der letzte Baum gefällt oder die letzte Biene verendet ist, werden die Leute verstehen warum Umweltschutz wichtig ist.

Bas
Junior Member
Junior Member
Posts: 6
Joined: 2019-08-15, 10:35 UTC

Re: Silent install via cmd, german language

Post by *Bas » 2019-08-15, 12:19 UTC

Is it intended to write it as /AHL2GU or is another format intended, such as /AHL=2GU ? That's what I was not able to fully figure out myself.

User avatar
Stefan2
Power Member
Power Member
Posts: 2588
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Silent install via cmd, german language

Post by *Stefan2 » 2019-08-15, 13:03 UTC

Bas wrote:
2019-08-15, 12:19 UTC
Is it intended to write it as /AHL2GU or is another format intended, such as /AHL=2GU ? That's what I was not able to fully figure out myself.

You have there only two possibilities, so just try them out both yourself, than tell me.



But I guess the first is the correct syntax, again see the info above with the wiki link:
All options accept a paramter 1 or 0, e.g. G0 or G1.
L accepts a language number from install.inf, e.g. L2    =german

(pasted text little adjusted by me)





Otherwise tell us WHAT exactly did not work.
Are you able to install TC at all? Maybe without "L".
To where do you want to install? Maybe into a protected folder? Try "C:\Temp\" instead.




 
Inofficial FAQs || WIKI (Deu/Eng) || TC Home (What's new? // FAQ // Download // Order // Addons // Tools // Plugins)
Erst wenn der letzte Baum gefällt oder die letzte Biene verendet ist, werden die Leute verstehen warum Umweltschutz wichtig ist.

User avatar
sqa_wizard
Power Member
Power Member
Posts: 3481
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Re: Silent install via cmd, german language

Post by *sqa_wizard » 2019-08-15, 21:17 UTC

Is it intended to write it as /AHL2GU
Well, It is like

Code: Select all

/A1H0L2G1U1
which means
A1: auto install = yes
H0: run hidden = no
L2: language = 2 (German)
G1: create group in start menu = yes
U1: update if target exists = yes
#5767 Personal license

User avatar
Stefan2
Power Member
Power Member
Posts: 2588
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Silent install via cmd, german language

Post by *Stefan2 » 2019-08-16, 07:34 UTC

Thanks 2sqa_wizard

I hope that helps... ;-)




 
Inofficial FAQs || WIKI (Deu/Eng) || TC Home (What's new? // FAQ // Download // Order // Addons // Tools // Plugins)
Erst wenn der letzte Baum gefällt oder die letzte Biene verendet ist, werden die Leute verstehen warum Umweltschutz wichtig ist.

Bas
Junior Member
Junior Member
Posts: 6
Joined: 2019-08-15, 10:35 UTC

Re: Silent install via cmd, german language

Post by *Bas » 2019-08-19, 09:37 UTC

Thanks Yuffi, it installs, and is showing the setup in auto-modes unlike before, but the German language didn't work.
I am assuming it should be becoming German by that options by default, but it isn't.

I am also looking for to automatically change the options:
[ x ] 1st set of buttons
Layout -> [ X ] Show drive buttons & -> [ X ] Show two drive button bars

Display:
[ X ] Show hidden files, [ X ] Show system files

Since I intend to use a batch to install TC anyways console commands are fine as a solution as well.

This is the command to install VLC I am using:
%tc% /A1H0L2G1U1

The full file:

Code: Select all

REM TC WIP!:
dir tcmd*/B > tmpFileTC
SET /p TC=<tmpFileTC
REM dir TC/B >> %tc%
echo %tc%
%tc% /A1H0L2G1U1
pause
del tmpFileTC
pause
(I am using this weird way so I don't have to edit the batch again whenever a new installer (with a different filename) gets released as long there is only one installer in the directory)

User avatar
Stefan2
Power Member
Power Member
Posts: 2588
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Silent install via cmd, german language

Post by *Stefan2 » 2019-08-19, 09:58 UTC

I would install (or, just unpack) TC and do the settings once on my own PC.
Than open the wincmd.ini and delete stored paths and Searches and such you don't want to distribute.
Close TC and Xcopy the TC-folder and the wincmd.ini to other PCs.

Wouldn't that be an option for you?



 
Inofficial FAQs || WIKI (Deu/Eng) || TC Home (What's new? // FAQ // Download // Order // Addons // Tools // Plugins)
Erst wenn der letzte Baum gefällt oder die letzte Biene verendet ist, werden die Leute verstehen warum Umweltschutz wichtig ist.

Bas
Junior Member
Junior Member
Posts: 6
Joined: 2019-08-15, 10:35 UTC

Re: Silent install via cmd, german language

Post by *Bas » 2019-08-19, 13:33 UTC

%APPDATA%\GHISLER
Ah, that's where the config file lies!

Hopefully I can find a way to replace the lines with a console command or copy the file as you suggested.
Thanks!

Edit: Copying the settings ini worked.

You might want to add the installer example to the wiki, it was quite unknown for me how the format of the parameters ought to be.

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 37562
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [SOLVED) Silent install via cmd, german language

Post by *ghisler(Author) » 2019-08-19, 14:58 UTC

Don't use the U switch if you want to set the language while TC is already installed. The U switch does the same as when you launch the installer without parameters and choose "Update": It just installs the new files to the previous directory WITHOUT changing any settings. The idea is that if the user has change the language after installation of the previous version, he wants to keep using that language.
Author of Total Commander
http://www.ghisler.com

Bas
Junior Member
Junior Member
Posts: 6
Joined: 2019-08-15, 10:35 UTC

Re: [SOLVED) Silent install via cmd, german language

Post by *Bas » 2019-08-20, 07:43 UTC

Thanks for the hint, that worked, but I am sticked to copying the file because I also want to set other configurations.

Post Reply