Difference between revisions of "TotalCommander"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Created page with "[http://www.ghisler.com/ TotalCommander] is a Shareware file manager. ==TotalCommander Version 7.56a== <source lang="xml"> <?xml version="1.0" encoding="UTF-8"?> <package id="t...")
 
m (typos)
Line 11: Line 11:
 
<check type="file" condition="versionequalto" path="%ProgramFiles(x86)%\totalcmd\totalcmd.exe" value="%version%" />
 
<check type="file" condition="versionequalto" path="%ProgramFiles(x86)%\totalcmd\totalcmd.exe" value="%version%" />
 
 
<install cmd='%SOFTWARE%\TotalCommander\totalCommander%shortversion%_auto.exe' />
+
<install cmd='%SOFTWARE%\TotalCommander\tcmdr%shortversion%_auto.exe' />
<upgrade cmd='%SOFTWARE%\TotalCommander\totalCommander%shortversion%_auto.exe' />
+
<upgrade cmd='%SOFTWARE%\TotalCommander\tcmdr%shortversion%_auto.exe' />
 
 
 
<remove cmd='%ProgramFiles(x86)%\totalcmd\TCUNINST.EXE /7' />
 
<remove cmd='%ProgramFiles(x86)%\totalcmd\TCUNINST.EXE /7' />
Line 22: Line 22:
 
The provided installer is not able to install silent. However, it is possible to unpack the installer, make all changes that are needed and repack it as silent installer. Because the installer is digitally signed, you need a special version of sfxhead.sfx to repack it.
 
The provided installer is not able to install silent. However, it is possible to unpack the installer, make all changes that are needed and repack it as silent installer. Because the installer is digitally signed, you need a special version of sfxhead.sfx to repack it.
  
0. Install TotalCommander locally
+
# Install TotalCommander locally
1. Get the installer SFX EXE: http://ghisler.fileburst.com/addons/sfxhead_installer.zip  
+
# Get the installer SFX EXE: http://ghisler.fileburst.com/addons/sfxhead_installer.zip  
2. Unpack new sfxhead.sfx file to TC dir (rename the existing sfxhead.sfx to sfxhead.sfx.org)
+
# Unpack new sfxhead.sfx file to TC dir (rename the existing sfxhead.sfx to sfxhead.sfx.org)
3. Download the installer tcmd756a.exe
+
# Download the installer tcmd756a.exe
3. Unpack the installer to a new directory (press STRG+Page Down)
+
# Unpack the installer to a new directory (press STRG+Page Down)
4. Modify '''install.inf''' and add your files (i.e. '''wincmd.key''' for license and '''windcmd.ini''' for more settings) see [http://www.ghisler.ch/wiki/index.php/How_to_make_installation_fully_automatic%3F Wiki] and [http://www.ghisler.ch/board/index.php?language=english Forum]
+
# Modify '''install.inf''' and add your files (i.e. '''wincmd.key''' for license and '''windcmd.ini''' for more settings) see [http://www.ghisler.ch/wiki/index.php/How_to_make_installation_fully_automatic%3F Wiki] and [http://www.ghisler.ch/board/index.php?language=english Forum]
5. Create new ZIP with option "self-extracting", name it tcmdr7546a_auto.exe
+
# Create new ZIP with option "self-extracting", name it i.e. tcmdr7546a_auto.exe
6. don't forget to rename to old sfxhead.sfx
+
# don't forget to rename to old sfxhead.sfx
  
 
==install.inf==
 
==install.inf==
Line 73: Line 73:
  
 
[[category:Silent Installers|Irfanview]]
 
[[category:Silent Installers|Irfanview]]
Instead of providing a wincmd.ini with the installer it is also possible to add ini-settings to the [ini] section of install.inf
+
Instead of providing a wincmd.ini with the installer it is also possible to add ini-settings to the [ini] section of install.inf!

Revision as of 10:24, 7 December 2011

TotalCommander is a Shareware file manager.


TotalCommander Version 7.56a

<?xml version="1.0" encoding="UTF-8"?>
<package id="totalcmd" name="Total Commander" revision="1" reboot="false" priority="1">
		<variable name="version" value="7.5.6.1" />
		<variable name="shortversion" value="756a" />
		
		<check type="file" condition="versionequalto" path="%ProgramFiles(x86)%\totalcmd\totalcmd.exe" value="%version%" />
		
		<install cmd='%SOFTWARE%\TotalCommander\tcmdr%shortversion%_auto.exe' />
		<upgrade cmd='%SOFTWARE%\TotalCommander\tcmdr%shortversion%_auto.exe' />
		
		<remove cmd='%ProgramFiles(x86)%\totalcmd\TCUNINST.EXE /7' />
	</package>
</packages>

Preparation

The provided installer is not able to install silent. However, it is possible to unpack the installer, make all changes that are needed and repack it as silent installer. Because the installer is digitally signed, you need a special version of sfxhead.sfx to repack it.

  1. Install TotalCommander locally
  2. Get the installer SFX EXE: http://ghisler.fileburst.com/addons/sfxhead_installer.zip
  3. Unpack new sfxhead.sfx file to TC dir (rename the existing sfxhead.sfx to sfxhead.sfx.org)
  4. Download the installer tcmd756a.exe
  5. Unpack the installer to a new directory (press STRG+Page Down)
  6. Modify install.inf and add your files (i.e. wincmd.key for license and windcmd.ini for more settings) see Wiki and Forum
  7. Create new ZIP with option "self-extracting", name it i.e. tcmdr7546a_auto.exe
  8. don't forget to rename to old sfxhead.sfx

install.inf

Edit the provided install.inf as you need it. In the foll wing, i only show the lines that I changed, do not copy and save this as install.inf

<?xml version="1.0" encoding="UTF-8"?>
[Installation]
program=Total Commander
progver=7.56a
progvermajor=7
progverminor=5607
progname=Total Commander
copyright=Copyright © 1993-2010 by Christian Ghisler, All Rights reserved
url=http://www.ghisler.com
publisher=Ghisler Software GmbH
updatecheck=totalcmd.exe
// User for shortcut creation: Blank for current user, * for all users
UserName=*

[auto]
// Set auto=1 for automatic installation, with parameters below and from [Installation]
// lang= sets language, alllang=1 installs all other languages, iniloc=c:\wincmd sets ini location
// iniall=1 sets ini location for all users, mkgroup=1 creates Start menu group, mkdesktop=1 makes desktop icon
// Install dir is determined by previous installation location, or [Destination], Dir=

auto=1
lang=2
alllang=0
iniloc=%ProgramFiles(x86)%\totalcmd // make sure your users have write-rights to wincmd.ini in the program directory or move it
iniall=1
mkgroup=1
mkdesktop=1

[Destination]
Dir=%ProgramFiles(x86)%\totalcmd
Ini=wincmd.ini,Configuration,InstallDir

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

Instead of providing a wincmd.ini with the installer it is also possible to add ini-settings to the [ini] section of install.inf!