When I compile using the --icon switch, the executables won't run, returning the error "This is not a valid windows executable". Removing the --icon parameter makes everything run fine.
Here's the command I'm running:
python Makespec.py --icon "c:/icon.ico" --onefile "c:/photoboof/0source files/boof.py"
The above doesn't return any errors when compiling, but throws the "This is not a valid windows executable" when I run the exe file.
This, however, works fine:
python Makespec.py --onefile "c:/photoboof/0source files/boof.py"
I'm using Pyinstaller 1.1, latest version.
Any tips?
If possible, please cc me off list ( [EMAIL PROTECTED]).
Here's my config.dat file:
{'EXE_dependencies': [('python24.dll',
'C:\\WINDOWS\\system32\\python24.dll',
'BINARY'),
('MSVCR71.dll', 'C:\\Python24\\MSVCR71.dll', 'BINARY'),
('MSVCR71.dll',
'C:\\WINDOWS\\system32\\MSVCR71.dll',
'BINARY')],
'PYZ_dependencies': [('iu', 'C:\\pyinstaller\\iu.pyc', 'PYMODULE'),
('archive', 'C:\\pyinstaller\\archive.pyc', 'PYMODULE')],
'TCL_root': 'C:\\Python24\\DLLs\\../tcl\\tcl8.4',
'TK_root': 'C:\\Python24\\DLLs\\../tcl\\tk8.4',
'hasRsrcUpdate': 1,
'hasUPX': 0,
'hasUnicode': 1,
'pythonVersion': '2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)]',
'useELFEXE': 1,
'useZLIB': 1}
_______________________________________________ PyInstaller mailing list [email protected] http://lists.hpcf.upr.edu/mailman/listinfo/pyinstaller
