Re: Packaging Tcl/Tk Application on Windows: Single File Executable
- From: "slebetman@xxxxxxxxx" <slebetman@xxxxxxxxx>
- Date: 29 Nov 2005 03:15:50 -0800
Andy wrote:
> Hi,
>
> I tried the steps you gave. But when I run the exe, I get the console
> window. It doesnot show the UI of my application.
>
Ah, probably a bug. Get an older or newer version of freewrap and see
if it works. Also, make sure you download freewrap and not
freewrapTCLSH. The TCLSH version does not include Tk and is meant only
for command line apps.
Some version of freewrap automatically hides the console, some version
of freewrap shows console. So it is best to do:
console hide
at the beginning of your code just to be safe.
> Here are few clarifications sought
>
> 1) I am looking at exe which has bundled the image files and which
> shall not on the disk. Hope freewrap takes care of that
freewrap takes care of that
> 2) Do i need to package any tcl/tk dlls/libs or freewrap takes care of
> that ..
you can't wrap dlls. But you can load dlls from disk. Libs which don't
use dlls (pure tcl) can be wrapped. See
http://freewrap.sourceforge.net/freewrap_howto.html
> 3) the filelist file generated for the images has absolute path for
> each image name. Is this causing problem to run the app ?
>
this is OK. The app will run perfectly with no modifications. Freewrap
will simulate the absolute path of your images internally. The only
issue is if you want to develop the code on two different machines.
Since the path is absolute, both machines must have files at the same
absolute locations. But this only applies to developers, freewrap will
take care of it for your end users.
Note that freewrap uses a fallback mechanism where if it can't find
something internally it will search the disk. This means to really test
your app you should run it on a machine without tcl installed.
Otherwise you may forget to include a lib/file and not notice it until
your client runs the app...
.
- References:
- Packaging Tcl/Tk Application on Windows: Single File Executable
- From: Andy
- Re: Packaging Tcl/Tk Application on Windows: Single File Executable
- From: slebetman@xxxxxxxxx
- Re: Packaging Tcl/Tk Application on Windows: Single File Executable
- From: Andy
- Packaging Tcl/Tk Application on Windows: Single File Executable
- Prev by Date: Re: Understanding of simpletest utility
- Next by Date: tbcload for 8.5
- Previous by thread: Re: Packaging Tcl/Tk Application on Windows: Single File Executable
- Next by thread: Re: Packaging Tcl/Tk Application on Windows: Single File Executable
- Index(es):
Relevant Pages
|