wxpython + py2exe + innosetup

Simon Dahlbacka sdahlbac at abo.fi
Wed Apr 28 07:46:13 EDT 2004


simoninusa2001 at yahoo.co.uk (simo) wrote in message news:<30260531.0404272030.3fe52362 at posting.google.com>...
> "Simon Dahlbacka" <sdahlbacSPAMSUX at abo.fi> wrote:
> 
> > I'm "exefying" an application that uses wxpython, some com to control excel
> > and word and want to distribute this application.
> > 
> > after creating the executable with py2exe, it still works fine (at least on
> > my development machine), however, if I create an installer package with
> > innosetup, install it and try to run it, I get a busy cursor for a split
> > second and then.. nothing. no errors no traceback no nothing.. viewing
> > dependencies does not reveal anything strange, and running the installed
> > program in a debugger just tells that the application has exited with code
> > 0.
> 
> Does the program rely on any paths to files - i.e. does it open your
> Excel/Word file from the current directory?

it _should_ not, I had a problem with this earlier regarding icons,
but switched over to resourcepackage now. And both Excel and Word
doesn't do any filehandling until I explicitely "hit the button"

> This is the only problem I've ever found with Inno - it's an FAQ too,
> there's an option to set the "Run From" property in the shortcuts. The
> sympton is that it won't work from the shortcut in Start/Desktop but
> will work from the program directory.
>
> What about permissions - if you installed it as non-Admin and it needs
> to write something Admin-only.....

..hmm, I'm just doing a default install, there is however registry
settings involved, but since I've installed it being admin and running
it being admin, I doubt this is the problem.

> ISTool can make the InnoSetup options a bit easier to deal with -
> maybe you're accepting a default that needs to be changed?

hmm, never heard of that, I have to check it out later..

another strange thing is that I tried to sprinkle "print I got here
statements" all over the place, but didn't see any of those, even
running from a console.


/Simon



More information about the Python-list mailing list