[Python-bugs-list] [ python-Bugs-774188 ] XP manifest files should be installed

SourceForge.net noreply@sourceforge.net
Sun, 20 Jul 2003 01:36:42 -0700


Bugs item #774188, was opened at 2003-07-19 15:49
Message generated for change (Comment added) made by h_punt
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=774188&group_id=5470

Category: Windows
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Henk Punt (h_punt)
Assigned to: Mark Hammond (mhammond)
Summary: XP manifest files should be installed

Initial Comment:
In order for python based windows programs to use 
the right widget (e.g. common control) versions on
XP, a manifest file must be present for both executables 
(python.exe and pythonw.exe).
I believe Python2.2 installs these per default.

If these are not present, weird graphical artifacts may 
show up on windows XP in tree and list controls when 
high-color icons are used.
A sample of a manifest file ('pythonw.exe.manifest'):

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




----------------------------------------------------------------------

>Comment By: Henk Punt (h_punt)
Date: 2003-07-20 10:36

Message:
Logged In: YES 
user_id=729698

I've googled around a bit more,
http://www.python.org/cgi-bin/moinmoin/PythonQuestions
section '4 Windows XP look-and-feel'
advises against it, apparently somebody ran into problems 
with this.
Mark is right, we don't know what the right control library is 
for any program run with the python.exe interpreter.
sigh, I guess for microsoft a program is only a program when 
it is an .exe :-(.
As far as I am concerned this is also not very critical.


----------------------------------------------------------------------

Comment By: Mark Hammond (mhammond)
Date: 2003-07-20 06:40

Message:
Logged In: YES 
user_id=14198

Welcome to .NET <wink>.  I can believe this would help some
GUI programs, but am hard pressed to call it critical enough
to bang in 2.3 at this late stage.

A concern is that how do we know the assertion about what
control library we want to use is true for *all* programs
hosted by our executables?

----------------------------------------------------------------------

Comment By: Henk Punt (h_punt)
Date: 2003-07-20 00:25

Message:
Logged In: YES 
user_id=729698

I may have put them there myself, It is a known problem 
though, lookup section
'2.4.2.1 Windows XP and Python 2.2.2'
of the wxpython Wiki at: 
http://wiki.wxpython.org/index.cgi/Frequently_20Asked_20Que
stions
It would not hurt to have these installed by default for the 
Windows platform

----------------------------------------------------------------------

Comment By: Tim Peters (tim_one)
Date: 2003-07-19 22:15

Message:
Logged In: YES 
user_id=31435

Mark, does this mean anything to you?  We've (PLabs) 
certainly never installed anything like this before.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=774188&group_id=5470