How to make installation fully automatic?: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
(The procedure has been changed considerably in Total Commander 8.52)
(3 ways to auto-install Total Commander)
Line 1: Line 1:
The following instructions are for Total Commander 8.52 and newer:
The following instructions are for Total Commander 8.52 and newer:


You can make installation fully automatic like this:
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.


* Download the two self-extracting installers:
There are 3 ways to make a fully automatic installation:
http://ghisler.fileburst.com/addons/sfxhead_installer.zip  
 
== 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>
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>
 
----
 
== 2. Download the new self-extracting installer ==
* Download from here: [http://ghisler.fileburst.com/addons/sfxhead_installer.zip sfxhead_installer.zip]
* a) To create a pure 64-bit installer, unpack the 64-bit sfxhead.sfx to the Total Commander folder.
* a) To create a pure 64-bit installer, unpack the 64-bit sfxhead.sfx to the Total Commander folder.
or
or
* b) To create a 32-bit or combined 32+64-bit installer, unpack the 32-bit sfxhead.sfx to the Total Commander folder.
* 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 tcmd8xy.exe with Ctrl+PageDown
* Now open the installer file tcmd9xy.exe with Ctrl+PageDown
* Unpack all the files with F5 to an empty directory
* Unpack all the files with F5 to an empty directory
* Edit the install.inf file with F4.
* Edit the install.inf file with F4.
Line 17: Line 33:
* 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.
* 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.


<BR>-------<BR>
----
 
== 3. Download the old installer ==
* Download from here: [http://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]]

Revision as of 07:32, 28 March 2017

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.
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.


2. Download the new self-extracting installer

  • Download from here: sfxhead_installer.zip
  • 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: 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 Installation