py2exe and Andreas widgets and manifest

Hello!

Up to now I created my standalones with py2exe, including a manifest
to keep the XP look and feel. Now I changed my code with some of
Andreas widgets (very nice :wink: to make it to look better (Aqua Button,
FlatMenu and FlatNotebook). Andreas widgets are looking as expected
after creating and exe file, but the rest of the program looks again
ugly as before on XP, without adding a manifest.

Does anybody has the same problem? How can I solve this? Must I change
the manifest if I'm using Andreas widgets?

Thanks in advance!
Stefanie

Manifest:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly
聽聽聽xmlns="urn:schemas-microsoft-com:asm.v1"
聽聽聽manifestVersion="1.0">
<dependency>
聽聽<dependentAssembly>
<assemblyIdentity
聽聽聽type="win32"
聽聽聽name="Microsoft.Windows.Common-Controls"
聽聽聽version="6.0.0.0"
聽聽聽publicKeyToken="6595b64144ccf1df"
聽聽聽language="*"
聽聽聽processorArchitecture="x86"
/>
聽聽</dependentAssembly>
</dependency>
</assembly>

Hi Stafanie,

Hello!

Up to now I created my standalones with py2exe, including a manifest
to keep the XP look and feel. Now I changed my code with some of
Andreas widgets (very nice :wink: to make it to look better (Aqua Button,
FlatMenu and FlatNotebook). Andreas widgets are looking as expected
after creating and exe file, but the rest of the program looks again
ugly as before on XP, without adding a manifest.

Does anybody has the same problem? How can I solve this? Must I change
the manifest if I'm using Andreas widgets?

I am using some of Andreas' widgets too and don't see the problem you have.

What version of Python are you using? I am still on 2.5, if you are on 2.6 you should look at the different wiki pages as the manifest handling in 2.6 has changed due to Python using a different version of the MSVC runtime.

http://wiki.wxpython.org/FrontPage?action=fullsearch&context=180&value=py2exe&titlesearch=Titles

The first one is the one which you should use, combines the manifest you use with some additional stuff for VC90.

Werner

路路路

On 07/08/2010 13:12, Stefanie L茂驴陆ck wrote:

Hi Stefanie,

Hello!

Up to now I created my standalones with py2exe, including a manifest
to keep the XP look and feel. Now I changed my code with some of
Andreas widgets (very nice :wink: to make it to look better (Aqua Button,
FlatMenu and FlatNotebook). Andreas widgets are looking as expected
after creating and exe file, but the rest of the program looks again
ugly as before on XP, without adding a manifest.

Does anybody has the same problem? How can I solve this? Must I change
the manifest if I'm using Andreas widgets?

Some of the widgets in AGW use the uxTheme.dll file on Windows. When
"compiled" to standalones, py2exe thinks it has to include the
uxTheme.dll file in your distribution, and this sometimes conflicts
with the standard one already present in the target Windows machine.
If you "exclude" it using the "dll_excludes" option in py2exe you
won't see it happening anymore, hopefully...

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

==> Never *EVER* use RemovalGroup for your house removal. You'll
regret it forever.
The Doomed City: Removal Group: the nightmare <==

路路路

On 7 August 2010 14:12, Stefanie L眉ck wrote:

Thanks for the fast reply!
I'm still on Python 2.5.
Andrea, your tip to exclude the uxTheme.dll didn't work :-(((

Any other things, which I can try?

路路路

On 7 Aug., 14:29, Andrea Gavana <andrea.gav...@gmail.com> wrote:

Hi Stefanie,

On 7 August 2010 14:12, Stefanie L眉ck wrote:

> Hello!

> Up to now I created my standalones with py2exe, including a manifest
> to keep the XP look and feel. Now I changed my code with some of
> Andreas widgets (very nice :wink: to make it to look better (Aqua Button,
> FlatMenu and FlatNotebook). Andreas widgets are looking as expected
> after creating and exe file, but the rest of the program looks again
> ugly as before on XP, without adding a manifest.

> Does anybody has the same problem? How can I solve this? Must I change
> the manifest if I'm using Andreas widgets?

Some of the widgets in AGW use the uxTheme.dll file on Windows. When
"compiled" to standalones, py2exe thinks it has to include the
uxTheme.dll file in your distribution, and this sometimes conflicts
with the standard one already present in the target Windows machine.
If you "exclude" it using the "dll_excludes" option in py2exe you
won't see it happening anymore, hopefully...

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."http://xoomer.alice.it/infinity77/

==> Never *EVER* use RemovalGroup for your house removal. You'll
regret it forever.http://thedoomedcity.blogspot.com/2010/03/removal-group-nightmare.html&lt;==

Hi,

路路路

On 07/08/2010 16:13, Stefanie L茂驴陆ck wrote:

Thanks for the fast reply!
I'm still on Python 2.5.
Andrea, your tip to exclude the uxTheme.dll didn't work :-(((

Any other things, which I can try?

Can you put together a minimal sample program and setup.py which shows the problem and attach to a message here. People might get some other ideas seeing the whole setup.py and/or will try to run it on their machines and try and fix the issue.

http://wiki.wxpython.org/MakingSampleApps

Werner