Glenn Ramsey
2011-08-07 21:28:42 UTC
Hi,
On Windows 7, PyInstaller (1.5.1) includes the following files:
API-MS-Win-Core-ErrorHandling-L1-1-0.dll
API-MS-Win-Core-Interlocked-L1-1-0.dll
API-MS-Win-Core-LibraryLoader-L1-1-0.dll
API-MS-Win-Core-LocalRegistry-L1-1-0.dll
API-MS-Win-Core-Misc-L1-1-0.dll
API-MS-Win-Core-ProcessThreads-L1-1-0.dll
API-MS-Win-Core-Profile-L1-1-0.dll
API-MS-Win-Core-Synch-L1-1-0.dll
API-MS-Win-Core-SysInfo-L1-1-0.dll
API-MS-Win-Security-Base-L1-1-0.dll
HID.dll
SETUPAPI.dll
CFGMGR.dll
DEVOBJ.dll
These appear to be secondary dependencies of an extension module and because of
these the app does not run on Windows XP, but if I manually delete these files
then it does run.
Is this a bug?
I have excluded the files from the Analysis.binaries using:
a.binaries = [x for x in a.binaries if not
os.path.dirname(x[1]).startswith("C:\\Windows\\system32")]
Is that the right way to do it?
Glenn
On Windows 7, PyInstaller (1.5.1) includes the following files:
API-MS-Win-Core-ErrorHandling-L1-1-0.dll
API-MS-Win-Core-Interlocked-L1-1-0.dll
API-MS-Win-Core-LibraryLoader-L1-1-0.dll
API-MS-Win-Core-LocalRegistry-L1-1-0.dll
API-MS-Win-Core-Misc-L1-1-0.dll
API-MS-Win-Core-ProcessThreads-L1-1-0.dll
API-MS-Win-Core-Profile-L1-1-0.dll
API-MS-Win-Core-Synch-L1-1-0.dll
API-MS-Win-Core-SysInfo-L1-1-0.dll
API-MS-Win-Security-Base-L1-1-0.dll
HID.dll
SETUPAPI.dll
CFGMGR.dll
DEVOBJ.dll
These appear to be secondary dependencies of an extension module and because of
these the app does not run on Windows XP, but if I manually delete these files
then it does run.
Is this a bug?
I have excluded the files from the Analysis.binaries using:
a.binaries = [x for x in a.binaries if not
os.path.dirname(x[1]).startswith("C:\\Windows\\system32")]
Is that the right way to do it?
Glenn
--
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To post to this group, send email to pyinstaller-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to pyinstaller+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To post to this group, send email to pyinstaller-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to pyinstaller+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.