Re: tclkit.exe description



iu2 <israelu@xxxxxxxxxxx> wrote:
: Hi all,
: I think this is more of a Windows question, but perhaps you could help
: me with this:

Hmm, it's a Windoze question to do with tclkit.

: I created a starpack that can accept a file name in the command line.
: On Windows I right click on a text file and choose "Open with" and
: choose the starpack. This works ok.
: The problem is that the application name that appears in the "Open
: with" applications is not the name of the starpack (e.g., myepp.exe)
: but, rather, "Tclkit, a standalone runtime for Tcl/Tk".

That's because the runtime executable is indeed Tclkit, with what
would otherwise be your starkit content riding piggy-back.
Piggy-back is of course the deeply technical term for how a starpack
works. Fortunately, jcw is currently on holiday, so isn't around to
give a simpler explanation.

One way of doing what you want is to build your own version of tclkit
from source. This string is set in the tclkit.rc file. But
building tclkit from source, although in the opinion of jcw not rocket
science, involves a learning curve. Roll-your-own is certainly much
simpler than it used to be, but you need to be a bit compiler-savvy.

I have no idea whether it is possible (or desirable) to edit the
resources of a Windoze binary executable, although I know there are
various methods proposed for changing the icon. At a guess, you
would have to be careful to use exactly the same number of characters.
The element in question is FileDescription.

: Is it possible to change that description, and how?

So, yes, I know the hard way. There may well be easier ones.

--
Steve Blinkhorn <steve@xxxxxxxxx>
.



Relevant Pages

  • Re: Tcl application deployment
    ... :Problem is that I don't want single-file executables. ... The term you want here is starkit - not starpack. ... single file which contains both a tclkit and application. ...
    (comp.lang.tcl)
  • My starpack: the next episode :)
    ... My starpack includes following extensions: ... and it halts while loading snack extension. ... My application in starpack still needs tclkit to be downloaded too. ... just download and run. ...
    (comp.lang.tcl)
  • Re: tcl/tk 8.5 and Starpacks
    ... but replace the tclkit with a version 8.5 tclkit, ... Starpack runs but fails to load iwidgets. ... Linux Starpack and with an MS Windows Starpack run on a GNU/Linux ... itcl, itk, or iwidgets appears to care whether the Tcl/Tk version is ...
    (comp.lang.tcl)
  • Re: smallest standalone possible
    ... >I looked into the starpack approach but keep hitting a wall. ... >I create the tclkit with command line: ... >sdx qwrap myprog.tcl ...
    (comp.lang.tcl)
  • Re: tclkit.exe description
    ... Mark Roseman wrote: ... iu2 wrote: ... I think this is more of a Windows question, ... I created a starpack that can accept a file name in the command line. ...
    (comp.lang.tcl)