Difference between revisions of "TotalCommander"
From WPKG | Open Source Software Deployment and Distribution
(Minor tidying up) |
m (changed format to convention) |
||
| Line 5: | Line 5: | ||
<source lang="xml"> | <source lang="xml"> | ||
| − | <package id="totalcmd" name="Total Commander" revision="1" reboot="false" priority="1"> | + | <package |
| + | id="totalcmd" | ||
| + | name="Total Commander" | ||
| + | revision="1" | ||
| + | reboot="false" | ||
| + | priority="1"> | ||
<variable name="version" value="7.5.6.1" /> | <variable name="version" value="7.5.6.1" /> | ||
<variable name="shortversion" value="756a" /> | <variable name="shortversion" value="756a" /> | ||
Revision as of 16:54, 7 December 2011
TotalCommander is a Shareware file manager.
TotalCommander 7.56a
<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>
Preparation
The provided installer is not able to perform a silent install. However, it is possible to unpack the installer, make changes that are enable it to install silently, and repack it. Because the installer is digitally signed, you need a special version of sfxhead.sfx to repack it.
- Install TotalCommander locally
- Get the installer SFX EXE: http://ghisler.fileburst.com/addons/sfxhead_installer.zip
- Unpack new sfxhead.sfx file to the TotalCommander directory (rename the existing sfxhead.sfx to sfxhead.sfx.org)
- Download the installer tcmd756a.exe
- Unpack the installer to a new directory (press STRG+Page Down)
- Modify install.inf and add your files (i.e. wincmd.key for license and windcmd.ini for more settings). See the TotalCommander Wiki and Forum
- Create a new self extracting zip file, name it i.e. tcmdr7546a_auto.exe
- Rename the old sfxhead.sfx
install.inf
Edit the provided install.inf as you need it. The following is only an example of the lines that have been changed, do not use it as your actual install.inf!
[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 //for german
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 settings to the [ini] section of install.inf.