Hi Martin,
The dev version doesn't seem to trigger the same problem (from initial
experimentation). The exe created by the new version of pyinstaller (but
using the same spec file) gives an error message when run but otherwise
succeeds. The message is: WARNING: file already exists but should not:
C:/DOCUMEN~1/GRANTP~1/LOCALS~1/Temp/_MEI1922\.\pywintypes27.dll
I'll look at that tomorrow. Perhaps the issue will go away if I build a
clean spec file
Here is the one I've been using:
> # -*- mode: python -*-
>
> a = Analysis([os.path.join(HOMEPATH,'support\\_mountzlib.py'),
> os.path.join(HOMEPATH,'support\\useUnicode.py'), 'C:\\dev\\launch.py'],
> pathex=['C:\\Python27\\pyinstaller-pyinstaller-ba163ef'])
> pyz = PYZ(a.pure, level=9)
> binary_includes = [('ssleay32.dll', 'C:\\Program
> Files\\wkhtmltopdf\\ssleay32.dll', 'BINARY'),
> ('libeay32.dll', 'C:\\Program
> Files\\wkhtmltopdf\\libeay32.dll', 'BINARY'),
> ('libgcc_s_dw2-1.dll', 'C:\\Program
> Files\\wkhtmltopdf\\libgcc_s_dw2-1.dll', 'BINARY'),
> ('wkhtmltopdf.exe', 'C:\\Program
> Files\\wkhtmltopdf\\wkhtmltopdf.exe', 'BINARY'),
> ('convert.exe', 'C:\\Program
> Files\\ImageMagick-6.7.8-Q16\\convert.exe', 'BINARY'),
> ('libiconv2.dll',
> 'C:\\Windows\\System32\\libiconv2.dll', 'BINARY'),
> ('pdftk.exe', 'C:\\Windows\\System32\\pdftk.exe',
> 'BINARY'),
> ('gswin32c.exe', 'C:\\Program
> Files\\gs\\gs9.06\\bin\\gswin32c.exe', 'BINARY'),
> ('gsdll32.dll', 'C:\\Program
> Files\\gs\\gs9.06\\bin\\gsdll32.dll', 'BINARY'),
> ]
>
> exe = EXE( pyz,
> a.scripts,
> a.binaries + binary_includes,
> a.zipfiles,
> a.datas,
> exclude_binaries=False,
> name='C:\\dev\\sofastats.exe',
> icon='C:\\dev\\images\\sofa_32x32.ico',
> strip=False,
> upx=False,
> debug=False,
> console=False)
Anyway, it looks like the trojan warning was probably spurious.
All the best,
Grant