Downloads:

5,900

Downloads of v 8.6.4.1:

3,331

Last Update:

08 Jul 2015

Package Maintainer(s):

Software Author(s):

  • ActiveState Software Inc

Tags:

tcl programming language console ide

ActiveTcl

8.6.4.1 | Updated: 08 Jul 2015

Downloads:

5,900

Downloads of v 8.6.4.1:

3,331

Software Author(s):

  • ActiveState Software Inc

ActiveTcl 8.6.4.1

Some Checks Have Failed or Are Not Yet Complete

1 Test Unknown and 1 Failing Test


Validation Testing Unknown


Verification Testing Failed

Details

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

>

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

>

To uninstall ActiveTcl, 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 activetcl -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 activetcl -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 activetcl installed
  win_chocolatey:
    name: activetcl
    state: present
    version: 8.6.4.1
    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 'activetcl' do
  action    :install
  version  '8.6.4.1'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: activetcl,
    Version: 8.6.4.1,
    Source: STEP 3 URL
);

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


cChocoPackageInstaller activetcl
{
   Name     = 'activetcl'
   Ensure   = 'Present'
   Version  = '8.6.4.1'
   Source   = 'STEP 3 URL'
}

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


package { 'activetcl':
  provider => 'chocolatey',
  ensure   => '8.6.4.1',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install activetcl version="8.6.4.1" 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.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator ferventcoder on 13 Aug 2015.

Description

Save time in your development cycles by starting with a precompiled Tcl distribution for out-of-the-box installation and standardization across the operating systems you rely on, including Windows, Linux and Mac OS X (as well as Solaris, AIX, and HP-UX in commercial Enterprise Edition). Develop once and deploy successfully across your production environment.

Features

  • Precompiled Tcl distribution for out-of-the-box installation
  • Core Tcl binaries
  • TeaPot package manager
  • Extended documentation

Community

Install directory

%ChocolateyBinRoot%

Edition installed

Free Community Edition


tools\chocolateyInstall.ahk
; default environment
DetectHiddenWindows, off
SetControlDelay, 20

; modified environment
#NoEnv
#NoTrayIcon
DetectHiddenText, off
SetTitleMatchMode, 1  ;begins

; variables
winTitle = ActiveState ActiveTcl ahk_class TkTopLevel

WinWait, %winTitle%
WinMinimize, %winTitle%

WinWaitActive, %winTitle%
ControlSend, TkChild9, {Tab}{Enter}, %winTitle%

ExitApp
tools\chocolateyInstall.ps1
$packageName = 'activetcl'
$url = 'http://downloads.activestate.com/ActiveTcl/releases/8.6.4.1/ActiveTcl8.6.4.1.299124-win32-ix86-threaded.exe'
$checksum = '0263e13a4cc27916094c44975ff05874'
$checksumType = 'md5'
$url64 = 'http://downloads.activestate.com/ActiveTcl/releases/8.6.4.1/ActiveTcl8.6.4.1.299124-win32-x86_64-threaded.exe'
$checksum64 = '20236a2f7d8d1aeecb4a2d423b805db9'
$checksumType64 = 'md5'
$installerType = 'exe'
$validExitCodes = @(0)

$binRoot = Get-BinRoot
$installPath = Join-Path $binRoot $packageName
$silentArgs = "--directory `"$installPath`""

$scriptPath = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
$ahkExe = 'AutoHotKey'
$ahkFile = Join-Path $scriptPath "chocolateyInstall.ahk"

Start-Process $ahkExe $ahkFile
Install-ChocolateyPackage -PackageName "$packageName" `
                          -FileType "$installerType" `
                          -SilentArgs "$silentArgs" `
                          -Url "$url" `
                          -Url64bit "$url64" `
                          -ValidExitCodes $validExitCodes `
                          -Checksum "$checksum" `
                          -ChecksumType "$checksumType" `
                          -Checksum64 "$checksum64" `
                          -ChecksumType64 "$checksumType64"

$installPathBin = Join-Path $installPath 'bin'
Install-ChocolateyPath $installPathBin
tools\chocolateyUninstall.ahk
; default environment
DetectHiddenWindows, off
SetControlDelay, 20

; modified environment
#NoEnv
#NoTrayIcon
DetectHiddenText, off
SetTitleMatchMode, RegEx

; variables
tkTopLevelTitle = ActiveState ActiveTcl [\d\.]+ Uninstaller ahk_class TkTopLevel
consoleTitle = C:\\Windows\\system32\\cmd\.exe.*at-unins.bat$ ahk_class ConsoleWindowClass
startMenuEntry = C:\programdata\microsoft\Windows\Start Menu\Programs\ActiveState ActiveTcl*

WinWait, %tkTopLevelTitle%, , 30
; ahk_class TkTopLevel represents TK framework which doesn't seem to respond to
;  normal Window messages so rather than indicating specific control classes
;  with ControlClick/Send, navigate controls with Tab (tested 8.6.4.0 installer)
;ControlClick, TkChild3, %tkTopLevelTitle%
WinActivate
Send {Tab 2}{Space}
WinMinimize, %tkTopLevelTitle%

; start menu link is last item to be removed by uninstaller
; wait for this file to be removed, then restore window to continue
Loop {
  IfNotExist, %startMenuEntry%
    break
  Sleep, 500
}

; unsupported TK framework, see previous note
;WinWait, %tkTopLevelTitle%, , 30
;ControlClick, TkChild4, %tkTopLevelTitle%

Sleep, 1500
WinActivate, %tkTopLevelTitle%
Send {Tab}{Space}

WinWait, %consoleTitle%, , 30
WinActivate
Send {Enter}
Sleep, 500
Send {Enter}

ExitApp
tools\chocolateyUninstall.ps1
$packageName = 'activetcl'
$packageSearch = 'ActiveState ActiveTcl'
$installerType = 'exe'
$silentArgs = '/S'
$validExitCodes = @(0)

$toolsPath = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$unPath = Join-Path $toolsPath 'Uninstall-ChocolateyPath.psm1'
$binRoot = Get-BinRoot
$installPath = Join-Path $binRoot $packageName
$installPathBin = Join-Path $installPath 'bin'

$ahkFile = Join-Path $toolsPath 'chocolateyUninstall.ahk'
$ahkRun = "$Env:Temp\$(Get-Random).ahk"
Copy-Item $ahkFile "$ahkRun" -Force

try {
  Start-Process 'AutoHotKey' "$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
  if ((Get-ChildItem $installDir).Count -eq 0) {
    Remove-Item -Path $installDir -Force
  }
  Import-Module $unPath
  Uninstall-ChocolateyPath $installPathBin 'User'
} catch {
  throw $_.Exception
}
tools\Uninstall-ChocolateyPath.psm1
function Uninstall-ChocolateyPath {
param(
  [string] $pathToUninstall,
  [System.EnvironmentVariableTarget] $pathType = [System.EnvironmentVariableTarget]::User
)
  Write-Debug "Running 'Uninstall-ChocolateyPath' with pathToUninstall:`'$pathToUninstall`'";

  #get the PATH variable
  $envPath = $env:PATH
  #$envPath = [Environment]::GetEnvironmentVariable('Path', $pathType)
  if (!$envPath.ToLower().Contains($pathToUninstall.ToLower())) {
    Write-Host "PATH environment variable does not have $pathToUninstall in it."
    return
  }

  Write-Host "PATH environment variable has $pathToUninstall in it. Removing..."
  $actualPath = [Environment]::GetEnvironmentVariable('Path', $pathType)

  # escape regex metachars, match possible backslash and item separator at eol
  $pathToUninstallRegex = ($pathToUninstall -replace '([\\().])', '\$1') + '\\?(;|$)'

  # remove pathToUninstall from actualPath
  $actualPath = $actualPath -replace "$pathToUninstallRegex", ''

  if ($pathType -eq [System.EnvironmentVariableTarget]::Machine) {
    $psArgs = "[Environment]::SetEnvironmentVariable('Path',`'$actualPath`', `'$pathType`')"
    Start-ChocolateyProcessAsAdmin "$psArgs"
  } else {
    [Environment]::SetEnvironmentVariable('Path', $actualPath, $pathType)
  }

  # remove from path of current powershell session
  $envPSPath = $env:PATH
  $env:Path = $envPSPath -replace "$pathToUninstallRegex", ''
}

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
ActiveTcl 8.6.4.0 379 Thursday, May 14, 2015 Approved
ActiveTcl 8.6.1.0 613 Tuesday, August 5, 2014 Unknown
ActiveTcl 8.5.14.002 548 Tuesday, June 11, 2013 Unknown
ActiveTcl 8.5.14.001 409 Tuesday, June 4, 2013 Unknown
ActiveTcl 8.5.14 419 Tuesday, June 4, 2013 Unknown

Program

Package

  • Automatically built and uploaded by dtgm
Discussion for the ActiveTcl Package

Ground Rules:

  • This discussion is only about ActiveTcl and the ActiveTcl 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 ActiveTcl, 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