Version 3 of Deploying the TCL Plugin

Updated 2005-09-28 08:18:15

Installing Tcl Plugin on Unices - TCL Dev Kit

LV How does one install the plugin in Mozilla or Netscape on Linux or Solaris?

JH The Tcl Dev Kit will install the plugin appropriately on Linux and Solaris. The special notes regarding how to do this are also in the CVS area for those building it themselves.

Installing Tcl Plugin on Windows - Manual Method

SDG At this point, your best bet is to use Keiichi Takahashi's installer. This is sometimes found here [L1 ], and always found here [L2 ]. This is the 3.0a1 version.

If you are intent on installing the 2.0 version, the instructions below may help.

Plugin v2.0 works with both Mozilla 1.x and IE 5.5+ on Windows. I prepared a zip file to make installation easy on today's systems [L3 ].

Essentially, there are five dll's:

 nptcl32.dll
 tcl80.dll
 tclpip80.dll
 tclreg80.dll
 tk80.dll

If you copy them to the Mozilla plugins directory, Mozilla will autodetect the plugin.

MS supposedly removed plugin support starting with IE 5.5 sp2. Actually, all they removed was autodetection. You will still find a plugin folder in the IE directory, and the plugin.ocx control is still in the Windows directory. So, to enable the plugin for IE, you only have to copy the dll's to the plugin directory, then add the appropriate Registry entries by hand.

Jason Summers describes the Registry edits at http://entropymine.com/jason/replug/pluginocx.html

See this page [L4 ] for help in re-enabling support for specific MIME types, which might be helpful for tclets. 10-10-2002 escargo)

The dll's can be obtained by downloading and running the old plugin installer for Windows.

My zip file above includes the dlls. The zip file also includes an installer script that copies the dll's to the plugin directories, and adds the appropriate Registry entries.

After installing the plugin, try it out at http://www.tcl.tk/software/plugin/applets.html .

Update - install.tcl changed as suggested by MRS below.

MRS Just a suggestion for non-english users, because the Program Files dir is different in other languages (Arquivos de programas in Portuguese, Programme in German, etc...)

So, change the install script line 31 from:

        set IEPluginDir "C:/Program Files/Internet Explorer/PLUGINS"

to:

        package require registry
        set ProgDir [registry get {HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\SFC} ProgramFilesDir]
        set IEPluginDir "$ProgDir/Internet Explorer/PLUGINS"

and the script will get the right name.

Michael Schlenker With Mozilla 1.2a on Windows 2000 i needed no restart, it simply worked after copying the bin dir of the plugin installation. I really like the frogger game. (Hmm, when i have time, i just have to program an EGO-Frogger, in 3D, with frog eye worldview.)

Installing Tcl Plugin on Windows - New Installer

Here are a few notes as summer 2003 opens: Keiichi Takahashi has made an installer for 3.0a1 available at http://2.csx.jp/users/bitwalk/tcltk_plugin_download.html This apparently works well for IE5 under Win2000. Mac Cody reports that for Netscape 7, "Note that I first downloaded and installed TclDevKit 2.5 for MS Windows solely for the purpose of getting binaries of the plugin.

1. Make sure that all instances of Netscape Navigator have been shut down. This is not strictly necessary, but is done as a safety precaution. 2. Copy nptcl30.dll from the nptcl3.0 directory into the C:\Program Files\Netscape\PLUGINS directory. 3. This completes the installation of the Tcl/Tk Plugin. The next time Netscape Navigator is started, it will load the Tcl/Tk Plugin whenever a tclet is received."


Configuration

jima: Any configuration hints ?

I installed the plugin for firefox following Brian Theado advice in [L5 ] but have no clue on how setting policy to trusted. I would like to do some testing at home.

I seem not to be able to make it happen from reading docs about tcl pluging version 2.


Please Note: This page has been designed using information from the original TCL Plugin page. If you are in the know, please feel free to adjust, simplify, clarify or update any or all of the information on this page.


Category Deployment Category Internet