How to make installation fully automatic?
The following instructions are for Total Commander 8.52 and newer:
The current self-extracting installer no longer contains the program install.exe because it is no longer needed: install.exe is now in front of the installation data.
There are 3 ways to make a fully automatic installation:
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.
F=ignore any previous install directory
W0=do not write protect the target directory
W1=only give the currently logged on user write rights to the target
W2=only give elevated user write rights to the target (like in Program Files)
All options accept a parameter 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.
New: Passing a path as the LAST parameter uses it as the installation target directory.
2. Download the new self-extracting installer
- Download from here: sfxhead_installer.zip This is the new installer from Total Commander 10.
- a) To create a pure 64-bit installer, unpack the 64-bit sfxhead.sfx to the Total Commander folder.
or
- b) To create a 32-bit or combined 32+64-bit installer, unpack the 32-bit sfxhead.sfx to the Total Commander folder.
- Now open the installer file, e.g. tcmd1050x32_64.exe, with Ctrl+PageDown
- Unpack all the files with F5 to an empty directory
- Edit the install.inf file with F4.
- There is a section [auto], where you need to set auto= to 1.
- You can also make changes to the default settings there, and change the target location in [Destination]. The installer will ignore this location if a previous installation is found, unless you set the option IgnoreOldLocation=1.
- In menu Configuration - Options - ZIP packer, set the pack rate to '0' (store)
- Select all the unpacked files
- Pack them with Alt+F5, and check the option to create a self-extracting archive. This will use the sfxhead.sfx installer from the first two steps described above.
3. Download the old installer
- Download from here: installer.zip
- Now open the installer file, e.g. tcmd1050x32_64.exe, with Ctrl+PageDown
- Unpack all the files with F5 to an empty directory
- add install.exe or install64.exe
- Edit the install.inf file with F4.
- There is a section [auto], where you need to set auto= to 1.
- You can also make changes to the default settings there, and change the target location in [Destination]. The installer will ignore this location if a previous installation is found, unless you set the option IgnoreOldLocation=1.
- Put the entire install directory in the root of a CD
Back to Installation