Re: Packaging Tcl/Tk Application on Windows: Single File Executable



Roy Terry wrote:

> "Andy" <kaleanand@xxxxxxxxx> wrote in message
> news:1133259597.958835.100610@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>> 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.
> In the console window type
> puts $errorInfo
>
> Copy all the contents of the console
> window and post it back to this thread.
> That should reveal the (1st) problem.
>
> In the mean time you might also
> consider:
> 1. Are you telling freewrap explictly to load
> your image files?
> 2. When you refer to wrapped files
> you will need absolute paths - but *not*
> drive letters.
> So if you're using a file
> c:/projects/prog1/star.jpeg
> then refer to it as
> /projects/prog1/star.jpeg
>
> 3. Also, files are found by searching a
> zip archive and I believe that search is
> case sensitive (was in the past) you can
> simply use a zip utility to
> look at the file names in the archive
> and see if the case of the archive
> matches the case you're using in
> code to reference the files.
>
> 4. re images, do you require the
> Img extension? Native Tcl/Tk only
> supports the GIF and PPM/PGM
> image types. If you are using Img you
> will need to wrap up its whole directory,
> unwrap it onto the local disk and then
> lappend the unwrap directory to auto_path.
>
> This doesn't take much code at all. See the
> freewrap page
> http://freewrap.sourceforge.net/freewrap_howto.html#5
>
> HTH,
> Roy
>
> Note to Dennis laBelle:
> A freewrap feature to wrap and
> unwrap Img in a couple of procs
> would be a super enhancement for freewrap.

I think it would just be easier for me to compile the Img extension right
into freeWrap itself. Would that be "super", too?

Dennis

.


Quantcast