Hello Giovanni

I looked in my py2exe Script and there i added the manifest.
---------------------------------------------------------------------------
################################################################
# A program using wxPython

# The manifest will be inserted as resource into test_wx.exe.  This
# gives the controls the Windows XP appearance (if run on XP ;-)
#
# Another option would be to store if in a file named
# test_wx.exe.manifest, and probably copy it with the data_files
# option.
#
manifest_template = '''
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
    version="5.0.0.0"
    processorArchitecture="x86"
    name="%(prog)s"
    type="win32"
/>
<description>%(prog)s Program</description>
<dependency>
    <dependentAssembly>
        <assemblyIdentity
            type="win32"
            name="Microsoft.Windows.Common-Controls"
            version="6.0.0.0"
            processorArchitecture="X86"
            publicKeyToken="6595b64144ccf1df"
            language="*"
        />
    </dependentAssembly>
</dependency>
</assembly>
'''

RT_MANIFEST = 24

################################################################
# arguments for the setup() call

test_wx=dict(
    script = ".\\src\\fmain.py",
    other_resources = [(RT_MANIFEST, 1, manifest_template % dict(prog="Crown
Finanz Manager"))],
    icon_resources= [(1, ".\\files\\images\\files_edit.ico")],
    dest_base = r"Crown Finanz Manager")

zipfile = r"lib\shardlib"

options = {"py2exe": {"optimize": 2}}

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

I think that the comment from the py2exe developers explain the function
from manifest files very good. 

When I add to my dist folder (same Folder then the exe is) a
%exename%.exxe.manifest with the text manifest_template (from the python
code) it works. 

So... 1 Solution is, to at a z.B Crown Finanz Manager.exe.manifest file with
the correct Text, or to looks once in the py2exe code?

I will look once in the py2exe code but I be not a good python coder ^^

Thx

Micha

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Giovanni Bajo
Gesendet: Sonntag, 6. August 2006 19:18
An: PyInstaller Mailing List
Betreff: Re: [PyInstaller] Pyinstaller and Manifest files

Micha Reiser wrote:

> Since Win XP the Applications needs Manifest files to be shown in the
> Win XP Design. How can I add an Manifest file to a Application
> generated with PyInstaller?

Micha, this is a often requested feature in fact. The problem is that I do
not have Visual Studio Express 2005, and I do not have *any* idea on what a
Manifest file is, and why it is needed. It never existed before that version
of Visual Studio, so I have no clue. I also tried googling for it several
times during the past few months, without coming up with a decent
explanation.

I can help getting this fixed within PyInstaller, but I would like some help
from someone which understands manifest files, or can at least point me to a
decent explanation. Can you help me with that?

Thanks!
-- 
Giovanni Bajo

_______________________________________________
PyInstaller mailing list
[email protected]
http://lists.hpcf.upr.edu/mailman/listinfo/pyinstaller



_______________________________________________
PyInstaller mailing list
[email protected]
http://lists.hpcf.upr.edu/mailman/listinfo/pyinstaller

Reply via email to