Re: Packaging Tcl/Tk Application on Windows: Single File Executable
- From: "Andy" <kaleanand@xxxxxxxxx>
- Date: 29 Nov 2005 03:03:17 -0800
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.
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
2) Do i need to package any tcl/tk dlls/libs or freewrap takes care of
that ..
3) the filelist file generated for the images has absolute path for
each image name. Is this causing problem to run the app ?
Please revert as i cannot get the executable to run
Thx
Andy
slebetman@xxxxxxxxx wrote:
> Andy wrote:
> > Hi all,
> >
> > I need to package application developed in Tcl/Tk on Windows. It should
> > be a single file executable with all data files (gifs), dependency
> > packages such as winico bundled into a single executable.
> >
> > There should be not reference to external data files such as images ..
> > All should be bundled as a single file on desktop.
> >
> > I have used mktclapp and also freewrap but one needs to keep the image
> > files separate.
> >
>
> Freewrap can include image file. Either simply:
>
> freewrap my_main.tcl some_image.gif some_image.jpg
>
> or include a list of images & dependency packages in a file and use the
> -f option:
>
> freewrap another_of_my_main.tcl -f includes.txt
>
> A quick way to generate the includes file is:
>
> dir /s /b c:\path\to\my\images\ > includes.txt
>
> then simply edit the generated file to remove unused images. This can
> also be done for including packages. For example, to include tcllib:
>
> dir /s /b c:\tcl\lib\tcllib1.7\ > tcllib_includes.txt
>
> This works with all pure tcl packages including bwidget and tcllib.
> Packages with dlls can't be included this way. But your winico package
> is already compiled into freewrap so you don't have to include it.
>
> > Do I have to change code to include the image files data ?
> >
>
> with freewrap you don't have to. It automagically looks for the wrapped
> images if it can't find it on disk.
.
- Follow-Ups:
- Re: Packaging Tcl/Tk Application on Windows: Single File Executable
- From: Dennis LaBelle
- Re: Packaging Tcl/Tk Application on Windows: Single File Executable
- From: Roy Terry
- Re: Packaging Tcl/Tk Application on Windows: Single File Executable
- From: slebetman@xxxxxxxxx
- Re: Packaging Tcl/Tk Application on Windows: Single File Executable
- 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
- Packaging Tcl/Tk Application on Windows: Single File Executable
- Prev by Date: Re: How do I access ICTL on my WINDOWS 2000 box?
- Next by Date: Re: Understanding of simpletest utility
- 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
|