From: chris c. <cl...@gm...> - 2016-05-12 01:11:52
|
On Wed, May 11, 2016 at 7:44 AM, Jay Newens <ja...@ne...> wrote: > I was working with my program some more. As I stated in previous posts I > am packaging my program with pyinstaller and have no issues with version > 2.1. Normally I package into one file. I decided to package into one > directory. Doing this I am able to see everything that pyinstaller > packaged. I did the same with pyinstaller version 3.1.1 and compared what > was packaged. The only difference is that pyinstaller version 2.1 has the > libusb dll file in the directory folder and the pyinstaller version 3.1.1 > does not have the dll in the directory folder. I manually moved the dll to > this directory and my program works. For now I can work with the one > directory but it makes my install package with WIX more work but I will be > trying to get the dll into the one file. Not sure what broke but I was able > to figure out what was missing. > Thanks for reporting back. Its probably worth pursuing this with PyInstaller as that sounds like a bug in the new version or perhaps warrants a KB doc if its not considered a bug. I have to confess as I've had such good success with Py2exe in the past (I only need to roll binaries for Windows, not other platforms which is one of PyInstaller key features), Py2exe is pretty good at warning when it thinks it has missed a dll and you can specify how to include them should the need arise, so hopefully that's an option with PyInstaller too? The other thing I like about py2exe is that there are add-ons that create installers for you (you mentioned dealing with Wix), e.g. https://code.google.com/archive/p/py2nsis/, again hopefully there is a similar thing for PyInstaller Chris |