Solved the problem, see below for the useful info... On 9/1/07, Charl P. Botha <[EMAIL PROTECTED]> wrote: > With pyinstaller 1.0, I could build binaries with an active console > (which I use for debug messages, it's a complex app and all :) *and* an > XP themed look for the wxPython parts by using a separate > app.exe.manifest file. > > Since upgrading to Visual Studio 2005 for all the libraries my app > bundles, the manifest file does not work anymore. I decided to use > PyInstaller 1.3 to see if that would fix things, but it seems the > manifest support only works if one builds an application with > console=False. The separate app.exe.manifest file also does not work > with 1.3. > > My question is: is there a way with PyInstaller 1.3 to build > wxPython-based binaries with console=True *and* the XP themed look? > Any advice would be greatly appreciated.
It turns out that PyInstaller (both 1.0 and 1.3) were finding UxTheme.dll to be a dependency of one of the VS 2005 linked DLLs and including it in the distribution. Once I'd removed UxTheme.dll, back was the XP theming. NB: I'm *not* using the PyInstaller embedded manifest, but rather an external manifest file, as my application does have a console. This still works. More tips: Visual Studio 2005 by default embeds manifests in everything it builds (this is new). These manifests specify exactly which binaries (DLLs and such) the produced binaries require. So be careful with mixing different versions of compilers (e.g. pre-SP1 VS2005 and SP1 VS2005!!) and also remember to include the complete assembly of relevant redistributables (including the manifest file!!) in the VS2005 redist directory. You'll get side-by-side configuration errors on any client machine that you ship to if you don't do this. Alternatively, you can get your users to install the freely distributable vcredist_x86.exe binary available from Microsoft. Byebye, Charl --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/PyInstaller?hl=en -~----------~----~----~----~------~----~------~--~---
