freeWrap 7.0

Based on TCL/TK 9.0!

Released April 3, 2025

Convert your TCL/TK scripts into stand-alone executable binary programs. No compiler required.
OR
Use freeWrap as a single-file WISH shell

64-bit versions available for both Windows and Linux

Features

Turns TCL/TK scripts into single-file binary executable programs
The resulting program can be distributed to machines that do not have TCL/TK installed but will also work on machines that have TCL/TK installed but will use its own TCL/TK “image”. FreeWrap itself does not need TCL/TK installed to run
Easy one-step wrapping
FreeWrap consists of a single executable file. There is no setup required. Wrapping is accomplished with a single command.
A TCL-only version, freewrapTCLSH, is also included
FreewrapTCLSH works with TCL scripts and is similar in usage to the freewrap program.
Shared libraries can be used with your wrapped programs
FreeWrapped applications can load TCL/TK shared library extensions that have been compiled with the STUBS interface.
Wrapped programs can be customized with your own Windows icons
The Windows version of freeWrap can incorporate your own customized icon into your wrapped application.
No license fees for wrapped programs
There are no license fees associated with freeWrap. See the freeWrap documentation for license details.
Cross-platform generation of programs
The -w “wrap using” option allows cross-platform creation of wrapped applications without the use of the target computer system. For example, a Windows application can be created by running freeWrap on Linux.
freeWrap includes several Windows-specific commands
These commands can be used to determine the location of Windows’ special directories, easily create file extension associations and shortcuts.
freeWrap is based on TCL/TK version 9.0.1
Using TCL’s zipfs command, any ZIP archive can be opened so its contents look like a simple file subdirectory. The archive’s files are automatically decompressed when read with TCL commands.

Availability

  • FreeWrap distributions are freely available for Linux and Windows operating systems. FreeWrap for 64-bit versions of Linux and Windows are available. Instructions and source code for building freeWrap on these platforms are included in the freeWrap source code distribution. See the Downloads table to retrieve these packages.
  • Included with freeWrap are the tcllib and tklib libraries as well as the Tktable, WinICO, and TWAPI extensions.
  • TCL-only versions of freeWrap for creating binaries from TCL (non-TK) scripts are included in the distributions.

Changes in last revision

  • Changes for version 7.0
    1. TCL/TK 9.0.1 was used as the basis for freeWrap 7.0.
    2. Tktable (statically linked into the freeWrap build) has been updated to version 2.12
    3. Instead of providing its own virtual file system, freeWrap now uses the virtual file system provided by TCL 9.0.
    4. The zvfs namespace and command is no longer provided. Users are expected to use TCL’s zipfs command, instead.
    5. The ::freewrap::makeZIP command is no longer provided. Users are expected to use TCL’s zipfs command, instead.
    6. FreeWrap’s setting of the argv0 and argv parameters is now more consistent.

View full revision history

Learn more

Read the freeWrap documentation.

Downloads

These latest downloads are available from http://sourceforge.net/projects/freewrap/files/freewrap/freeWrap 7/freewrap 7.0

The distributions contain 64-bit versions of freeWrap for the associated operating systems.

File

Description

freewrap700.zip

Windows distribution of freeWrap version 7.0.

Includes both freewrap and freewrapTCLSH. Unzip this file to install freewrap 7.0 on Windows.

freewrap700.tar.gz

Linux distribution of freeWrap version 7.0.

Decompress and unTAR this file to install freeWrap 7.0 on Linux.

freewrapsrc700.tar.gz

freeWrap version 7.0 source distribution in compressed TAR format for building 64-bit versions of freeWrap for Linux or Windows.


This page last updated April 3, 2025