Downloads:

303,531

Downloads of v 8.52.01.20160412:

922

Last Update:

12 Apr 2016

Package Maintainer(s):

Software Author(s):

  • Christian Ghisler

Tags:

file manager shareware nagscreen

Total Commander

This is not the latest version of Total Commander available.

8.52.01.20160412 | Updated: 12 Apr 2016

Downloads:

303,531

Downloads of v 8.52.01.20160412:

922

Software Author(s):

  • Christian Ghisler

Total Commander 8.52.01.20160412

This is not the latest version of Total Commander available.

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install Total Commander, run the following command from the command line or from PowerShell:

>

To upgrade Total Commander, run the following command from the command line or from PowerShell:

>

To uninstall Total Commander, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade totalcommander -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade totalcommander -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure totalcommander installed
  win_chocolatey:
    name: totalcommander
    state: present
    version: 8.52.01.20160412
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'totalcommander' do
  action    :install
  version  '8.52.01.20160412'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: totalcommander,
    Version: 8.52.01.20160412,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller totalcommander
{
   Name     = 'totalcommander'
   Ensure   = 'Present'
   Version  = '8.52.01.20160412'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'totalcommander':
  provider => 'chocolatey',
  ensure   => '8.52.01.20160412',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install totalcommander version="8.52.01.20160412" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved by moderator ferventcoder on 13 Apr 2016.

Description

Total Commander is a file manager replacement for Windows. Features: Drag/Drop from and to explorer/desktop. Packer shell for ZIP/ARJ/LHA/RAR/UC2/TAR/GZ/CAB/ACE. Command line, full text search also in packed files, button bar. Supports over 40 languages. FTP client, access to Network Neighborhood, Uuencode/Decode, compare, synchronize dirs. Changes: Unicode support, CHM help, names up to 1022 chars, breadcrumb bar, password safe, quick filter.

FAQ
Plugins
Plugin downloads
Plugin development

Commercial software

Total Commander is a Shareware program. This means that you can test it for a period of 30 days. After testing the program, you must either order the full version, or delete the program from your harddisk.


tools\chocolateyInstall.ps1
$packageName = 'totalcommander'
$url = 'http://totalcmd2.s3.amazonaws.com/tcmd852ax32_64.exe'
$checksum = '891b040acbe23ca5f77b0a5c44e7932fa837244b'
$url64 = $url
$checksum64 = $checksum
$installerType = 'exe'
$silentArgs = ''
$checksumType = 'sha1'
$checksumType64 = 'sha1'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$chocoTempDir = Join-Path $Env:Temp "chocolatey"
$tempDir = Join-Path $chocoTempDir "$packageName"
if (![System.IO.Directory]::Exists($tempDir)) {[System.IO.Directory]::CreateDirectory($tempDir)}
$tcmdWork = Join-Path $tempDir "tcmd"
$zipFile = Join-Path $tempDir "tcmd.exe"

$arguments = @{}
$packageParameters = $env:chocolateyPackageParameters
# To override the default options set below: /localUser /desktopIcon /installPath="c:\totalcmd"
$localUser = 'UserName=*' #default: install for all users
$desktopIcon = 'mkdesktop=0' #default: no desktop icon
$installPath = '%ProgramFiles%\totalcmd'

# Parse packageParameters with regular expressions
if ($packageParameters) {
    $match_pattern = "\/(?<option>([a-zA-Z]+))=(?<value>([`"'])?([a-zA-Z0-9- _\\=\.\:]+)([`"'])?)|\/(?<option>([a-zA-Z]+))"
    $option_name = 'option'
    $value_name = 'value'

    if ($packageParameters -match $match_pattern ){
      $results = $packageParameters | Select-String $match_pattern -AllMatches
      $results.matches | % {
        $arguments.Add(
          $_.Groups[$option_name].Value.Trim(),
          $_.Groups[$value_name].Value.Trim())
      }
    } else {
        Throw "Package Parameters were found but were invalid (REGEX Failure)"
    }

    if ($arguments.ContainsKey("LocalUser")) {
        Write-Host "Only installing for local user"
        $localUser = 'UserName='
    }

    if ($arguments.ContainsKey("DesktopIcon")) {
        Write-Host "You want a desktop icon"
        $desktopIcon = 'mkdesktop=1'
    }

    if ($arguments.ContainsKey("InstallPath")) {
        Write-Host "You want to use a custom Installation Path"
        $installPath = 'Dir=' + $arguments["InstallPath"]
    }
} else {
  Write-Debug "No Package Parameters passed in"
}

Write-Debug "This would be the Chocolatey Silent Arguments: $silentArgs"

Write-Verbose "Retrieve Total Commander data files"
Get-ChocolateyWebFile -PackageName "$packageName" `
                      -FileFullPath "$zipFile" `
                      -Url "$url" `
                      -Url64bit "$url64" `
                      -Checksum "$checksum" `
                      -Checksum64 "$checksum64" `
                      -ChecksumType "$checksumType" `
                      -ChecksumType64 "$checksumType64"

Write-Verbose "Extract EXE to change install options"
$proc = Start-Process -FilePath "7za" `
                      -ArgumentList "x -y -o`"$tcmdWork`" `"$zipFile`"" `
                      -Wait `
                      -NoNewWindow `
                      -PassThru
$proc.WaitForExit()
$exitCode = $proc.ExitCode
if($exitCode -ne 0) {
  throw "Exit Code: $exitCode. Error executing 7za to unzip $zipFile into $tempDir\tcmd"
}

Write-Verbose "Retrieve install launcher"
$url = 'http://ghisler.fileburst.com/addons/installer.zip'
$checksum = '5c93fee377e2a55029f22bfb1b43760862bad671'
$checksumType = 'sha1'
$url64 = $url
$checksum64 = $checksum
$checksumType64 = $checksumType
$installExeZip = Join-Path $tempDir "installer.zip"
$installExeDir = Join-Path $tempDir "installer"
Get-ChocolateyWebFile -PackageName "$packageName" `
                      -FileFullPath "$installExeZip" `
                      -Url "$url" `
                      -Url64bit "$url64" `
                      -Checksum "$checksum" `
                      -Checksum64 "$checksum64" `
                      -ChecksumType "$checksumType" `
                      -ChecksumType64 "$checksumType64"
$proc = Start-Process -FilePath "7za" `
                      -ArgumentList "x -y -o`"$installExeDir`" `"$installExeZip`"" `
                      -Wait `
                      -NoNewWindow `
                      -PassThru
$proc.WaitForExit()
$exitCode = $proc.ExitCode
if($exitCode -ne 0) {
  throw "Exit Code: $exitCode. Error executing 7za to unzip $sfxZip into $tempDir\tcmd"
}

Write-Verbose "Add launcher to extracted EXE"
if (Get-ProcessorBits 64) {
  $bitWidth = 64
} else {
  $bitWidth = 32
}
$installExePath = Join-Path -Path $installExeDir `
                     -ChildPath $bitWidth | 
                  Join-Path -ChildPath "INSTALL.EXE"
Copy-Item $installExePath $tcmdWork -Force

Write-Verbose "Modify install options to make silent"
$installInf = Join-Path $tcmdWork "INSTALL.INF"
(Get-Content $installInf) -Replace 'UserName=',"$localUser" `
                          -Replace 'auto=0','auto=1' `
                          -Replace 'hidden=0','hidden=1' `
                          -Replace 'mkdesktop=1',"$desktopIcon" `
                          -Replace 'Dir=c:\\totalcmd',"$installPath" | Set-Content $installInf
$installInf64 = Join-Path $tcmdWork "INSTALL64.INF"
(Get-Content $installInf64) -Replace 'UserName=',"$localUser" `
                          -Replace 'auto=0','auto=1' `
                          -Replace 'hidden=0','hidden=1' `
                          -Replace 'mkdesktop=1',"$desktopIcon" `
                          -Replace 'Dir=c:\\totalcmd',"$installPath" | Set-Content $installInf64

$tcmdExe = Join-Path $tcmdWork "INSTALL.EXE"
Install-ChocolateyInstallPackage -PackageName "$packageName" `
                                 -FileType "$installerType" `
                                 -SilentArgs "$silentArgs" `
                                 -File "$tcmdExe"
tools\chocolateyUninstall.ahk
; default environment
DetectHiddenWindows, off
SetControlDelay, 20

; modified environment
#NoEnv
#NoTrayIcon
DetectHiddenText, off
SetTitleMatchMode, 2  ;contains

; variables
winTitle1 = Uninstall /Repair Total Commander ahk_class #32770
winTitle2 = Uninstall Total Commander ahk_class #32770
winTitle3 = Uninstall ahk_class #32770

WinWait, %winTitle1%, Removes the program, 20
ControlClick, Button1, %winTitle1%, &Uninstall

WinWait, %winTitle2%, Uninstall Program, 20
ControlClick, Button4, %winTitle2%, Remove configuration files
ControlClick, Button5, %winTitle2%, Uninstall

WinWait, %winTitle3%, Warning: This will, 20
ControlClick, Button1, %winTitle3%, &Yes

WinWait, %winTitle3%, The following, 20
ControlClick, Button1, %winTitle3%, OK

WinWait, %winTitle3%, , 20
ControlClick, Button1, %winTitle3%, OK

ExitApp
tools\chocolateyUninstall.ps1
$packageName = 'totalcommander'
$packageSearch = "Total Commander*"
$installerType = 'exe'
$silentArgs = ''
$validExitCodes = @(0)

$scriptPath = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$ahkFile = Join-Path $scriptPath "chocolateyUninstall.ahk"
$ahkExe = 'AutoHotKey'
$ahkRun = "$Env:Temp\$(Get-Random).ahk"
Copy-Item $ahkFile "$ahkRun" -Force

Start-Process $ahkExe $ahkRun
Get-ItemProperty -Path @('HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*',
                         'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*',
                         'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*') `
                 -ErrorAction:SilentlyContinue `
| Where-Object   {$_.DisplayName -like $packageSearch} `
| ForEach-Object {Uninstall-ChocolateyPackage -PackageName "$packageName" `
                                              -FileType "$installerType" `
                                              -SilentArgs "$($silentArgs)" `
                                              -File "$($_.UninstallString)" `
                                              -ValidExitCodes $validExitCodes}
Remove-Item "$ahkRun" -Force

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
Total Commander 9.50 8867 Tuesday, February 18, 2020 Approved
Total Commander 9.22.1 38586 Friday, March 29, 2019 Approved
Total Commander 9.22 3422 Thursday, March 14, 2019 Approved
Total Commander 9.21.1 15556 Tuesday, October 16, 2018 Approved
Total Commander 9.21 7632 Wednesday, August 15, 2018 Approved
Total Commander 9.20 5066 Wednesday, July 4, 2018 Approved
Total Commander 9.12.0.20180528 4568 Monday, May 28, 2018 Approved
Total Commander 9.12.0.20180226 10795 Monday, February 26, 2018 Approved
Total Commander 9.12 28197 Friday, November 24, 2017 Approved

Program

Package

  • Automatically built and uploaded by dtgm
Discussion for the Total Commander Package

Ground Rules:

  • This discussion is only about Total Commander and the Total Commander package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Total Commander, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus