Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Compile TCL script to exe for Windows

179 views
Skip to first unread message

Jason Guto

unread,
Jan 19, 2018, 9:17:20 AM1/19/18
to
Folks,
I have completed a network utility; however, I will need to compile the script to EXE so I can deployment to machines that will not have TCL installed.

I have tried to follow the following instructions; however, I am not understanding the 'makefile'. In addition, I will be using Visual Studio 2017.

If anyone has done this with VS 2017, and has time to spare - I will like to discuss how I can accomplish my goal.

Thank you
Jason

Arjen Markus

unread,
Jan 19, 2018, 9:23:34 AM1/19/18
to
The general technique we use for this sort of things is to wrap the scripts into an executable. Freewrap and tclkit are popular facilities.

See the Wiki for more details.

Regards,

Arjen

Jason Guto

unread,
Jan 24, 2018, 9:00:37 AM1/24/18
to
Thank you for the details. Can you recommend one? Or have you used one before?

Arjen Markus

unread,
Jan 24, 2018, 10:14:45 AM1/24/18
to
I regularly use tclkit, I have used freewrap in the past, but I find tclkit easy enough for my purposes. I guess it is a matter of taste, more than anything else.

Regards,

Arjen

Mike Griffiths

unread,
Jan 24, 2018, 3:38:59 PM1/24/18
to
More specifically, take a look at http://wiki.tcl.tk/8900. You need a Tcl executable (I'd suggest either a Tclkit or one of the ActiveState 'basekits', which can be obtained from an ActiveTcl install or teapot), and the sdx.kit utility.

Something to edit/replace both the icons and the file information for the newly-created .exe are also useful (otherwise they show Tcl and Tk/ActiveState defaults); I think sdx can do at least the second of those, but I use the "Resource Hacker" program for both, personally.

Jason Guto

unread,
Jan 24, 2018, 3:54:05 PM1/24/18
to
Hmmm.... This is a little beyond my current skill set. Can someone explain and walk me through the process in detail? Is this similar concepts as PAR::Packer for Perl or PyInstaller for Python?

Thank you
0 new messages