How to make installation fully automatic?: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
m (Change http to https in the download links)
(Reworded and refer to page "Custom installer" instead of explaining it here)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The following instructions are for Total Commander 8.52 and newer:
There are 2 ways to make a '''fully automatic installation''':


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.
# The easiest way is to use the <code>/A</code> parameter with an official Total Commander [[installer]]. To further fine-tune automatic installation using parameters, see [[Installer#Command line parameters| Installer command line parameters]].
# Another way is to create a [[custom installer]].


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,<br>
H=run hidden,<br>
L=language number,<br>
M=install multiple languages,<br>
G=create group in start menu,<br>
D=create desktop icon,<br>
U=update if target exists,<br>
K=install wincmd.key from the same directory where the installer is located.<br>
F=ignore any previous install directory<br>
W0=do not write protect the target directory<br>
W1=only give the currently logged on user write rights to the target<br>
W2=only give elevated user write rights to the target (like in Program Files)<br>
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<br>
Hint: All options must be passed as a single parameter behind / and not as separate parameters.<br>
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: [https://ghisler.fileburst.com/addons/sfxhead_installer.zip 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 tcmd9xy.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: [https://ghisler.fileburst.com/addons/installer.zip installer.zip]
* Now open the installer file tcmd9xy.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 [[FAQ_Installation|Installation]]
Back to [[FAQ_Installation|Installation]]


<BR>
<BR>


[[Category:Installation]]
[[de:Automatische Installation des Total Commander]]
[[de:Automatische Installation des Total Commander]]

Latest revision as of 15:37, 18 January 2023

There are 2 ways to make a fully automatic installation:

  1. The easiest way is to use the /A parameter with an official Total Commander installer. To further fine-tune automatic installation using parameters, see Installer command line parameters.
  2. Another way is to create a custom installer.



Back to Installation