Changeset 5320

Show
Ignore:
Timestamp:
08/21/09 02:44:14 (12 months ago)
Author:
luis
Message:

Removing manifest file once is not needed anymore.
This approach was working on Windows Vista and Windows 7.
Unfortunately it wasn't work with Windows XP+ giving an error when try execute Umit.exe: missing MSVCP90.DLL.
If it was there there is another error: R6034 and it was related with Python 2.6: http://bugs.python.org/issue4566.

Create an explicit manifest file is not a good idea indeed.

It was some examples on py2exe(mainstream) showing examples of how to require access level. This commit was inspired on examples of Mark Hammond (he provides a solution to avoid this troubles and missing dll error. The manifest is embeeded and it is provided by API in py2exe.

Furthermore information, read the code committed in : http://py2exe.svn.sourceforge.net/viewvc/py2exe?view=rev&revision=670

Location:
trunk/install_scripts/windows
Files:
1 removed
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/install_scripts/windows/generate_windows_installer.bat

    r5312 r5320  
    7373%PythonEXE% -OO setup.py py2exe 
    7474 
    75 echo Copy manifest file 
    76 xcopy %UmitDir%\install_scripts\window\umit.exe.manifest %DistDir%\ >> %Output% 
    7775 
    7876echo Copying some more GTK files to dist directory... 
  • trunk/install_scripts/windows/py2exe_setup.py

    r4366 r5320  
    6868        windows = [{ 
    6969            "script": common.UMIT_MAIN, 
     70            "dest_base": "umit", 
     71            "uac_info": "requireAdministrator", 
    7072            "icon_resources": [ 
    7173                (1, os.path.join(common.ICONS_DIR, "umit_48.ico"))]