combining Tcl/Tk scripts into one .exe (win32)



Ok, I'm getting confused (not too difficult when you've had three
cancer tumors removed from your brain, radiation therapy to the
brain, and two different chemotherapy series, the second of which
....well, let's not go there...my PTSD is being relatively quiet,
and I'd like to keep it that way).

Anyways.... I'm trying to wrap two separate Tcl/Tk programs into
..exe files. Each runs into basically the same problems when I try
to wrap them (under Windows XP and Tcl/Tk 8.4.15 from ActiveState,
btw):

1) with freewrapPlus: the primary .tcl file is added, but the
remaining files specified on the command line OR in a file
using the -f option are NOT added, and are not found when
the .exe runs (even if everything is still right where it was).

2) with tclkit (tclkit-win32.upx.exe)/sdx.kit:
* First attempt, using the process in http://wiki.tcl.tk/11861,
gives me a .exe, but none of the support files are found
(again, even if everything is still right where it was).

* Second attempt---adaptation of the first, add the files to
the vfs/lib/... directory, using the procedure found in
http://wiki.tcl.tk/11861. This gives me a .exe file, but
Windows says it's too large to run.

The two applications are JStrack, my freeware hurricane tracking program
(Unix, Mac OS/X, and Windows), and a program I'm working on now for
brewing, GTbrew2. Both have multiple scripts, most of which are in a
lib directory (sourced from the main tcl script). Both have external
packages (JStrack uses Img, Tcllib, and I can't remember if there are
more off-hand; GTbrew2 uses the combobox from BWidget and autoscroll from
Tklib). Finally, both have config files and data files in their
respective directories (some in the top-level directory, some below it)
that do NOT want to get wrapped---they are likely to be updated from time
to time (e.g., for JStrack, along with the user's configuration files,
there's the directory containing all of the storm data, downloaded
GOES-EAST satellite imagery, and so on, and for GTbrew2, grain data, hop
data, yeast data, BJCP beer style guides, and so on).

Here's what I'm trying to arrive at:

For JStrack (http://www.jstrack.org):

some_drive:/some_path/jstrack-3.x/
;# there are related apps that need more thought re: wrapping
tracker/jstrack.exe
tracker/options.tcl
tracker/storms/current_year
tracker/storms/old/1851 .. previous year (each its own dir)

etc....

For GTbrew, same concept, different filenames.

Any suggestions, pointers to step-by-step (and preferably, very simple
command-line---e.g., zsh or sh---stuff), etc.?

Thanks,
--jim

PS: both of these are built first under Unix (FreeBSD), their primary
home, and then, with only minor adaptations (an extra binary or
ldd, etc.) setup under Windows XP (my laptop). On the FreeBSD
side, both are run from my XP laptop using X11R6 (Cygwin). Both
run fine when not wrapped, but that requires windows users to go
out and get Tcl/Tk, too (plus external libs/packages if they don't
get ActiveState or similar). I'm trying to help the non-Tcl/Tk
users out there avoid having to take that extra step.

--
73 DE N5IAL (/4) MiSTie #49997 < Running FreeBSD 7.0 >
spooky130u AT gmail DOT com ICBM/Hurricane: 30.39735N 86.60439W

Do not look into waveguide with remaining eye!

.



Relevant Pages

  • >>>> RUN FILES <<<<
    ... Cannot Run Exe Files In Xp ... Run Batch Files From Batch File ... Run Exe Files On Mac ... Windows Xp Files Will Not Run ...
    (alt.home.repair)
  • Re: Cant download exe
    ... To help protect your computer.Windowshasblockedaccessto this file ... help and support shows Mail which is nothing to do with the download andwindowsblockingaccess. ... I have vista ultimate and it too wont let me donwload .exe files. ... user control, disabling windows defender entirely, turned internet ...
    (microsoft.public.windows.vista.security)
  • Re: resizing JPEGs --- SOLVED
    ... Unix systems, etc.), I'd probably switch to it, but I'm trying to ... then send me a patch file to B) windows ... I originally wrote JStrack for Unix, designing it to get its data ... ftp from the NHC/TPC's ftp site.... ...
    (comp.lang.tcl)
  • Re: resizing JPEGs --- SOLVED
    ... Unix systems, etc.), I'd probably switch to it, but I'm trying to ... then send me a patch file to B) windows ... I originally wrote JStrack for Unix, designing it to get its data ... ftp from the NHC/TPC's ftp site.... ...
    (comp.lang.tcl)
  • Re: get message:no program is associated with this file to run thi
    ... Something has removed all of the settings in your registry that tell the ... also removed the file association setting for .exe files you can't run ... any programs as they are .exe files and now Windows doesn't know what to ... installation of Windows. ...
    (microsoft.public.windowsxp.general)

Loading