[SOLVED) Silent install via cmd, german language

English support forum

Moderators: white, Hacker, petermad, Stefan2

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 »

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: 4133
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Silent install via cmd, german language

Post by *Stefan2 »

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?




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

Re: Silent install via cmd, german language

Post by *Bas »

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: 4133
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Silent install via cmd, german language

Post by *Stefan2 »

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.




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

Re: Silent install via cmd, german language

Post by *Bas »

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: 4133
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Silent install via cmd, german language

Post by *Stefan2 »

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.




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

Re: Silent install via cmd, german language

Post by *sqa_wizard »

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: 4133
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Silent install via cmd, german language

Post by *Stefan2 »

Thanks 2sqa_wizard

I hope that helps... ;-)




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

Re: Silent install via cmd, german language

Post by *Bas »

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: 4133
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Silent install via cmd, german language

Post by *Stefan2 »

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?



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

Re: Silent install via cmd, german language

Post by *Bas »

%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: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

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

Post by *ghisler(Author) »

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
https://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 »

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