How un-attendant new and/or silent new installation?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Christian RQ
Junior Member
Junior Member
Posts: 3
Joined: 2015-01-23, 13:43 UTC

How un-attendant new and/or silent new installation?

Post by *Christian RQ »

Personalise installation

Hi everybody,
Whit the version 8.1, I execute install64.exe whit install64.inf and wincmd.key.

How I do personalise my installation whit tcmd851ax64.exe or tcmd851ax32_64.exe?

Thank you.
User avatar
Stefan2
Power Member
Power Member
Posts: 4159
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Post by *Stefan2 »

Hi and welcome.


Is your question meant like:

"How do I update my personalized TC v8.1
with TC v8.51a without losing my configuration" ?


If yes, ... I don't know how actual that is, but there is a wiki entry about that topic:

http://www.ghisler.ch/wiki/index.php/Backup
If you are installing Total Commander over an existing installation you usually do not need to backup anything (for exceptions, see


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

Post by *ghisler(Author) »

The new installers tcmd851ax64.exe or tcmd851ax32_64.exe do not use a separate self-extractor and installer any more. They use the previous install.exe with attached ZIP (0 compression) containing the install.inf, langugea, readme and CAB files. You can delete the EXE signature after the end of the ZIP and then modify the install.inf within the ZIP to your needs. Make sure to use 0 compression (storing). Currently the installer will only install files from the CAB file, not from the zip directly.
Author of Total Commander
https://www.ghisler.com
Christian RQ
Junior Member
Junior Member
Posts: 3
Joined: 2015-01-23, 13:43 UTC

Post by *Christian RQ »

Thank you Stefan2,
But it’s more about un-attendant new installation and/or silent new installation.
I need the thing in the inf like where to install, where the ini are, no icon on desktop, language.
Christian RQ
Junior Member
Junior Member
Posts: 3
Joined: 2015-01-23, 13:43 UTC

Post by *Christian RQ »

Hi Christian,
How I do that (delete the exe…)
Thank you…
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Installer package contains executable stub, ZIP archive and digital signature. You can view installer executable with e.g. FileInfo plugin, it shows where signature starts. E.g. for tcmd851ax32.exe:

Code: Select all

DATA DIRECTORY (Virtual Address and Size)
	...
	Security table  	rva: 0039B750h  	size: 00001930h
	...
Then open file with hex editor and delete that part of the file, i.e. last 6448 bytes of the file.
MichaelHell
New Member
New Member
Posts: 1
Joined: 2015-04-01, 09:50 UTC

How un-attendant new and/or silent new installation?

Post by *MichaelHell »

Hello,

I edited also edited the file "tcmd851ax32_64.exe" to access the both INF files in it.

Code: Select all

DATA DIRECTORY (Virtual Address and Size)
   ...
   Security table     rva: 006106C8h     size: 00001930h
   ... 
But when i put those files back into the original "tcmd851ax32_64.exe" without compression it only starts the original setup. For somehow it doesn't use the INF configuration files.
Also on a PC where never this setup has run. Does anyone has a clue?? Can some one help me out here??
User avatar
CADweazle
Senior Member
Senior Member
Posts: 297
Joined: 2003-04-03, 09:10 UTC
Location: Freiburg i.Br. Deutschland

Post by *CADweazle »

So my humble request - if it is possible to repack a changed install.inf: HOW????
And if so: please give me a bit more information!
Cheer up, Karl
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

CADweazle,
Cut last 6448 bytes of installer executable using hex editor and then open file as an archive, then replace your file (don't forget to set ZIP compression strength to 0 before replacing file).
User avatar
CADweazle
Senior Member
Senior Member
Posts: 297
Joined: 2003-04-03, 09:10 UTC
Location: Freiburg i.Br. Deutschland

Post by *CADweazle »

@MVV
Thx for the quick response - it worked... as far as putting my changed Install.inf files back into the "tcmd851ax32_64n.exe".

But I get the same problem as MichaelHell, the installation makes no use of the changes (silent, different Installpath, ...)

And yes, I've edited both inf files, the Install.INF AND the Install64.INF

So - any advice for this???

Cheers
Cheer up, Karl
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Please delete the comment starting with // in the [auto] section. It is causing problems to the manual parser because it contains [] in the comment.
Author of Total Commander
https://www.ghisler.com
User avatar
CADweazle
Senior Member
Senior Member
Posts: 297
Joined: 2003-04-03, 09:10 UTC
Location: Freiburg i.Br. Deutschland

Post by *CADweazle »

TYSM!
Worked instantly!! 8)

Will soon order *some* TC-licenses for my new employer, promised.

Cheers to the master!!!
Cheer up, Karl
konus
Junior Member
Junior Member
Posts: 6
Joined: 2007-06-24, 21:37 UTC

Post by *konus »

ghisler(Author) wrote:... Currently the installer will only install files from the CAB file, not from the zip directly.
So is there any possibility to deploy additional files within the (silent) install at the moment?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, there is a new version of the self-extracting installer here:
https://plugins.ghisler.com/addons/newinstaller.zip

Usage:
1. Rename/backup the file sfxhead.sfx in the Totalcmd directory
2. Replace it with the one in the above ZIP
3. Pack the files with option "Self-extracting archive" and comprerssion ratio set to 0

Additional files must be listed in the install.inf like this (e.g. for the key):

[Install]
1=install.cab,c
2=wincmd.key

[Installd]
1=install.cab,c
2=wincmd.key
Author of Total Commander
https://www.ghisler.com
George Mpouras
Junior Member
Junior Member
Posts: 7
Joined: 2015-08-27, 14:49 UTC

v8.x install.exe

Post by *George Mpouras »

<"v8.x install.exe" - thread merged here by mod>


At previous versions of Total Commander ( <= 7 ) if you like to have a custom installer, I remember you extract the installer, change INSTALL.INF to you match your needs e.g. auto=1 etc, and then just executed the extracted INSTALL.EXE

Now I can see the INSTALL.INF inside the installer (e.g. tcmd852x64.exe) but the INSTALL.EXE is not there any more . Is there a separate x64 INSTALL.EXE , or what I have to do for having the same functionality ;

thanks,
George Mpouras
Post Reply