py2exe windows文件系统分发

py2exe windows文件系统分发,windows,py2exe,Windows,Py2exe,我正在尝试创建一个稍后要分发的应用程序。 当我使用py2exe创建可执行文件时,会收到以下警告消息: Make sure you have the license if you distribute any of them, and make sure you don't distribute files belonging to the operating system. OLEAUT32.dll - C:\Windows\system32\OLEAUT32.dll USER32.dll -

我正在尝试创建一个稍后要分发的应用程序。 当我使用py2exe创建可执行文件时,会收到以下警告消息:

Make sure you have the license if you distribute any of them, and
make sure you don't distribute files belonging to the operating system.

OLEAUT32.dll - C:\Windows\system32\OLEAUT32.dll
USER32.dll - C:\Windows\system32\USER32.dll
IMM32.dll - C:\Windows\system32\IMM32.dll
SHELL32.dll - C:\Windows\system32\SHELL32.dll
ole32.dll - C:\Windows\system32\ole32.dll
WINMM.dll - C:\Windows\system32\WINMM.dll
COMDLG32.dll - C:\Windows\system32\COMDLG32.dll
ADVAPI32.dll - C:\Windows\system32\ADVAPI32.dll
WS2_32.dll - C:\Windows\system32\WS2_32.dll
WINSPOOL.DRV - C:\Windows\system32\WINSPOOL.DRV
GDI32.dll - C:\Windows\system32\GDI32.dll
VERSION.dll - C:\Windows\system32\VERSION.dll
KERNEL32.dll - C:\Windows\system32\KERNEL32.dll 
所有这些文件似乎都预装在操作系统中。如果我将它们从.exe中删除,程序的每个用户都会将它们安装到他们的系统中吗


另外,关于MSVCP90.dll之类的dll,我已经排除在外,让用户可以使用它们的最佳方式是什么?我应该使用安装程序来完成这项工作吗?有什么建议吗?

列出的DLL:s包含Windows API的实现。如果用户已安装Windows,则将安装这些文件。MSVCP不是Windows API的一部分。您可以将其添加到安装程序或访问Microsoft网站:

Sale3.1.0需要安装32位微软Visual Studio 2013运行时x86,可以在这里下载:微软Visual C++ 2013运行时。 请注意,SLADE安装程序将在安装SLADE时自动下载并安装此文件